xfr33 Posted January 14, 2012 Report Share Posted January 14, 2012 Labdien! Ir lapa, kas veidota uz CodeIgniter frameworka bāzes. Uz lokālā servera viss strādā, bet uzliekot uz publiskā bezmaksas server - 000webhost.com - parāda, ka ir sintakses kļūda: Parse error: syntax error, unexpected T_EXIT in /home/a1211648/public_html/application/helpers/fancyupload_helper.php on line 1 Un tā faila pirmā rinda ir php atverošais tags. Ceru uz palīdzību. Quote Link to comment Share on other sites More sharing options...
Kemito Posted January 15, 2012 Report Share Posted January 15, 2012 (edited) PHP konfigurācija - Nomaini hostu - Pērc maksas hostingu - Dzīvo laimīgs. Ietecamais hostings: http://nano.lv Ieteicamais vps ( VIrtuālais privātais serveris ) http://vps.lv Edited January 15, 2012 by Kemito Quote Link to comment Share on other sites More sharing options...
marrtins Posted January 15, 2012 Report Share Posted January 15, 2012 Iepostē visu to fancy.php kodu. Quote Link to comment Share on other sites More sharing options...
Grey_Wolf Posted January 15, 2012 Report Share Posted January 15, 2012 Un tā faila pirmā rinda ir php atverošais tags. PHP ir tāda dīvaina lieta ka 99,9% jāskatās nākamā koda rindiņa ... Quote Link to comment Share on other sites More sharing options...
nemakuphp Posted January 15, 2012 Report Share Posted January 15, 2012 Es pieļauju variantu, ka ielādējot failu viss ir samests vienā rindā, ir tā gadījies Quote Link to comment Share on other sites More sharing options...
daGrevis Posted January 15, 2012 Report Share Posted January 15, 2012 Kura PHP versija ir uz servera? Un kura ir minimālā versija CI freimam? Quote Link to comment Share on other sites More sharing options...
Grey_Wolf Posted January 16, 2012 Report Share Posted January 16, 2012 Es pieļauju variantu, ka ielādējot failu viss ir samests vienā rindā, ir tā gadījies ??? kopejot faila saturs NEKAD nemainās. Quote Link to comment Share on other sites More sharing options...
briedis Posted January 16, 2012 Report Share Posted January 16, 2012 ??? kopejot faila saturs NEKAD nemainās. Kļūdies. Var mainīties. Konkrēti jaunu rindiņu simbola starp Win un Nix nesaskaņas. Pie tā gan vainojams ir FTP klients. Quote Link to comment Share on other sites More sharing options...
daGrevis Posted January 16, 2012 Report Share Posted January 16, 2012 > kopejot faila saturs NEKAD nemainās. Man nāk prātā git'a auto-merge. :D P.S. Protams, tas nebija par tēmu. Quote Link to comment Share on other sites More sharing options...
xfr33 Posted January 16, 2012 Author Report Share Posted January 16, 2012 Iepostē visu to fancy.php kodu. http://paste.php.lv/0d389251cef78339cb3323e2aebb0bf9?lang=php PHP ir tāda dīvaina lieta ka 99,9% jāskatās nākamā koda rindiņa ... if ( ! defined('BASEPATH')) exit('No direct script access allowed'); man liekas, ka kļūdas tur īsti nav. Kura PHP versija ir uz servera? Un kura ir minimālā versija CI freimam? CI minimālā PHP versija ir 4.3.2 Servera PHP versija ir 5.2 Quote Link to comment Share on other sites More sharing options...
marrtins Posted January 16, 2012 Report Share Posted January 16, 2012 Interesanti. Pamēģini to die pārnest nākamajā rindā un paskaties, vai kur tad errors metās. Vai tas fancy tiek includots? Tad var paskatīties, kas darās vietā, kur notiek include. Vēl var to pirmo rindu palūkot ar kādu hexview. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.