Dj_L@tvian Posted January 15, 2009 Report Share Posted January 15, 2009 Sveiki, lieta tāda ka droši vien problēma nav īpaši liela, tikai es viņu nevaru atrast...iespējams esmu galīgs kirpičs , tapec domaju ka varēsiet man palīdzēt... Uzliku uz AppServ mazu lapiņu un gribējās ietestēt vienu skriptiņu priekš radio statusa parādīšanas mājaslapā, viss ir visnotaļ pozitīvi, bet izmet kautkādus mistiskos errorus...pašlaik esmu apstājies pie tā , ka man norāda uz tieši Šo failu => http://paste.php.lv/98f8e0fa70a37af8109874...99a76d?lang=php un izlamā mani šādiem vārdiem: Deprecated: Call-time pass-by-reference has been deprecated in C:\AppServ\www\scastxml.php on line 7 Deprecated: Call-time pass-by-reference has been deprecated in C:\AppServ\www\scastxml.php on line 7 Deprecated: Call-time pass-by-reference has been deprecated in C:\AppServ\www\scastxml.php on line 34 Deprecated: Call-time pass-by-reference has been deprecated in C:\AppServ\www\scastxml.php on line 34 Parse error: syntax error, unexpected '>' in C:\AppServ\www\scastxml.php on line 83 varbūt varat izglābt mani īpaši nelamājot? Link to comment Share on other sites More sharing options...
Grey_Wolf Posted January 15, 2009 Report Share Posted January 15, 2009 1.kart parliecinies vai tev ir noraadiits hosts uz kuru gribi konekteeties.. skaties kas dziivo mainiigajaa $host 2. nonjem Aizliegumu izvadiit kljudu @ simbolu // 6 $fp = @fsockopen("$host", $port, &$errno, &$errstr, 30); //open connection // un tad jau skaties kas talaak ... Link to comment Share on other sites More sharing options...
Dj_L@tvian Posted January 15, 2009 Author Report Share Posted January 15, 2009 1.kart parliecinies vai tev ir noraadiits hosts uz kuru gribi konekteeties.. skaties kas dziivo mainiigajaa $host 2. nonjem Aizliegumu izvadiit kljudu @ simbolu // 6 $fp = @fsockopen("$host", $port, &$errno, &$errstr, 30); //open connection // un tad jau skaties kas talaak ... Tālāk nav nekā diži labāka :( izmet sintakses kļūdu : Parse error: syntax error, unexpected T_VARIABLE in C:\AppServ\www\scastxml.php on line 7 Link to comment Share on other sites More sharing options...
Grey_Wolf Posted January 15, 2009 Report Share Posted January 15, 2009 izmet sintakses kļūdu : nu un nevari to sintakses kljuudu noveerst?? Jebshu gribi lai maca /apskaidro PHP sintaksi ?? Link to comment Share on other sites More sharing options...
Dj_L@tvian Posted January 15, 2009 Author Report Share Posted January 15, 2009 nē esmu ķieģelis un maz no php saprotu, vismaz nezinu kur tur ir kļūda un kur kas jāmaina... Bet config failā visi parametri hostam sarakstīti Link to comment Share on other sites More sharing options...
Aleksejs Posted January 15, 2009 Report Share Posted January 15, 2009 Tad ieliec iekš paste.php.lv to, kāds šobrīd izskatās tas fails. Link to comment Share on other sites More sharing options...
v3rb0 Posted January 15, 2009 Report Share Posted January 15, 2009 tā ka tur xml pieminēts, tad varbūt iekš php.ini vajag short_open_tag=Off? Link to comment Share on other sites More sharing options...
Dj_L@tvian Posted January 15, 2009 Author Report Share Posted January 15, 2009 Pašlaik scatxml.php izskatās šādi http://paste.php.lv/1f508418ddd292590ad69e...ae88f2?lang=php Šādi izskatās config.php http://paste.php.lv/75c5f6dfa401c11a331ef9...77842c?lang=php Link to comment Share on other sites More sharing options...
Aleksejs Posted January 15, 2009 Report Share Posted January 15, 2009 kas tas par sešinieku piektajā rindiņā? Link to comment Share on other sites More sharing options...
Dj_L@tvian Posted January 15, 2009 Author Report Share Posted January 15, 2009 kas tas par sešinieku piektajā rindiņā? Ja godīgi nav ne jausmas :D , bet pat viņu izņemot uzrāda: Deprecated: Call-time pass-by-reference has been deprecated in C:\AppServ\www\scastxml.php on line 5 Deprecated: Call-time pass-by-reference has been deprecated in C:\AppServ\www\scastxml.php on line 5 Deprecated: Call-time pass-by-reference has been deprecated in C:\AppServ\www\scastxml.php on line 32 Deprecated: Call-time pass-by-reference has been deprecated in C:\AppServ\www\scastxml.php on line 32 Parse error: syntax error, unexpected '>' in C:\AppServ\www\scastxml.php on line 81 Link to comment Share on other sites More sharing options...
Aleksejs Posted January 15, 2009 Report Share Posted January 15, 2009 par 5 un 32 rindiņu ņem vārdnīcu rokā, iztulko un un lasi dokumentāciju par šo funkciju ;) (Hint - ampersandi pirms mainīgajiem nav vajadzīgi šajā vietā) Par 81. rindiņu - 60. rindiņā nav aizvērtas pēdiņas. Link to comment Share on other sites More sharing options...
Dj_L@tvian Posted January 15, 2009 Author Report Share Posted January 15, 2009 (edited) Tā tik tālu nu būtu 5 un 32 rindiņu izlaboju, viss takā normāli, bet kā Tu teici 60 rindiņā ieliekot pēdiņas... User-Agent: SHOUTcast Listener Stats (author: dstjohn@mediacast1.com)(Mozilla Compatible)\r\n" . Man uzrāda... Parse error: syntax error, unexpected ';' in C:\AppServ\www\scastxml.php on line 68 68 rindiņa izskatās šadi... $y=0; //dummy variable for while loop Edit: Paldies par palīdzību, visu salaboju ;) Edited January 16, 2009 by Dj_L@tvian Link to comment Share on other sites More sharing options...
Recommended Posts