Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Bład przy includowaniu w extreme-fusion.
andegrand2
post
Post #1





Grupa: Zarejestrowani
Postów: 96
Pomógł: 0
Dołączył: 19.10.2007

Ostrzeżenie: (0%)
-----


Witam!

Zainstalowałem sobie extreme-fusion na moim serwie i wgrałem thema z grafa.biz. Potrzebuje w nim wstawić statystyki serwerów radia. Próbowałem już chyba każdej kombinacji include i require ale za kazdy razem wyzuca mi błąd.

Oto kod gdzie chce wstawic staty strona jest na stacja24.org:

  1. <?php
  2. <table border=&#092;"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
  3.  
  4. <tr>
  5. <td background=&#092;"".THEME."images/radio_orange_19.gif\" width=\"211\" height=\"231\" border=\"0\" alt=\"[Rozmiar: 846 bajtĂłw]\"><div style=\"padding-left: 20px; padding-right: 2px; padding-bottom: 20px\">Jakieś statystyki...</div></td>
  6. ?>


Proszę o pomoc pozdrawiam,
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 18)
Keenic
post
Post #2





Grupa: Zarejestrowani
Postów: 64
Pomógł: 2
Dołączył: 13.07.2007
Skąd: Poznań

Ostrzeżenie: (0%)
-----


Moze by tak tresc tego bledu? Z tego co wiem to nikt nie jest tutaj wrozka no chyba, ze sie myle.
Go to the top of the page
+Quote Post
andegrand2
post
Post #3





Grupa: Zarejestrowani
Postów: 96
Pomógł: 0
Dołączył: 19.10.2007

Ostrzeżenie: (0%)
-----


Sorry zapomniałem wpisać (IMG:http://forum.php.pl/style_emoticons/default/tongue.gif)
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/pc-gielda/ftp/radio/radyjko/themes/radiofm_orange/theme.php on line 177


Odświeżam

Ten post edytował andegrand2 25.02.2008, 15:51:33
Go to the top of the page
+Quote Post
Keenic
post
Post #4





Grupa: Zarejestrowani
Postów: 64
Pomógł: 2
Dołączył: 13.07.2007
Skąd: Poznań

Ostrzeżenie: (0%)
-----


Podaj jeszcze ten kod, ktory chcesz wkleic
Go to the top of the page
+Quote Post
andegrand2
post
Post #5





Grupa: Zarejestrowani
Postów: 96
Pomógł: 0
Dołączył: 19.10.2007

Ostrzeżenie: (0%)
-----


Próbowałem tak:

<include ("xxx.php");>
[INCLUDES. 'xxx.php'];
Go to the top of the page
+Quote Post
daris
post
Post #6





Grupa: Zarejestrowani
Postów: 78
Pomógł: 4
Dołączył: 7.01.2008

Ostrzeżenie: (0%)
-----


Spróbuj
Kod
<? include xxx.php ?>
Go to the top of the page
+Quote Post
andegrand2
post
Post #7





Grupa: Zarejestrowani
Postów: 96
Pomógł: 0
Dołączył: 19.10.2007

Ostrzeżenie: (0%)
-----


Niestety tym razem wyskoczylo takie cos: Parse error: syntax error, unexpected $end in /home/pc-gielda/ftp/radio/radyjko/themes/radiofm_orange/theme.php on line 119
Go to the top of the page
+Quote Post
Keenic
post
Post #8





Grupa: Zarejestrowani
Postów: 64
Pomógł: 2
Dołączył: 13.07.2007
Skąd: Poznań

Ostrzeżenie: (0%)
-----


  1. <?php
  2. echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">";
  3. include ("xxx.php");
  4. echo "<tr>
  5. <td background=\"".THEME."images/radio_orange_19.gif\" width=\"211\" height=\"231\" border=\"0\" alt=\"[Rozmiar: 846 bajtĂłw]\"><div style=\"padding-left: 20px; padding-right: 2px; padding-bottom: 20px\">Jakieś statystyki...</div></td>";
  6. ?>


Ten post edytował Keenic 28.02.2008, 22:45:52
Go to the top of the page
+Quote Post
andegrand2
post
Post #9





Grupa: Zarejestrowani
Postów: 96
Pomógł: 0
Dołączył: 19.10.2007

Ostrzeżenie: (0%)
-----


  1. <?php
  2. <table border=&#092;"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
  3.  
  4. <tr>
  5. echo "<td background=\"".THEME."images/radio_orange_19.gif\" width=\"211\" height=\"231\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"><div style=\"padding-left: 20px; padding-right: 2px; padding-bottom: 20px\">";
  6. include ("status.php");
  7. echo "</div></td>
  8. ?>


Wpisałem tak i wyżuciło mi Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/pc-gielda/ftp/radio/radyjko/themes/radiofm_orange/theme.php on line 180




Ten post edytował andegrand2 29.02.2008, 21:08:51
Go to the top of the page
+Quote Post
Keenic
post
Post #10





Grupa: Zarejestrowani
Postów: 64
Pomógł: 2
Dołączył: 13.07.2007
Skąd: Poznań

Ostrzeżenie: (0%)
-----


Zle wkleiles ten kod co Ci podalem. Wklej go tak
  1. <?php
  2. echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
  3. <tr>
  4. <td background=\"".THEME."images/radio_orange_19.gif\" width=\"211\" height=\"231\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"><div style=\"padding-left: 20px; padding-right: 2px; padding-bottom: 20px\">";
  5. include ("status.php");
  6. echo "</div></td>
  7. ?>
Go to the top of the page
+Quote Post
andegrand2
post
Post #11





Grupa: Zarejestrowani
Postów: 96
Pomógł: 0
Dołączył: 19.10.2007

Ostrzeżenie: (0%)
-----


wpisane mam dokłądnie tak ja mi teraz wysłałeś czyli:

  1. <?php
  2. echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
  3. <tr>
  4. <td background=\"".THEME."images/radio_orange_19.gif\" width=\"211\" height=\"231\" border=\"0\" alt=\"[Rozmiar: 846 bajtow]\"><div style=\"padding-left: 20px; padding-right: 2px; padding-bottom: 20px\">";
  5. include ("status.php");
  6. echo "</div></td>
  7. ?>


i wyzuca mi to : Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/pc-gielda/ftp/radio/radyjko/themes/radiofm_orange/theme.php on line 177

Nie mam pojęcia czemu (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)
Go to the top of the page
+Quote Post
Keenic
post
Post #12





Grupa: Zarejestrowani
Postów: 64
Pomógł: 2
Dołączył: 13.07.2007
Skąd: Poznań

Ostrzeżenie: (0%)
-----


Ktora to ta linia 177? Bo moze blad jest gdzies wczesniej.
Go to the top of the page
+Quote Post
andegrand2
post
Post #13





Grupa: Zarejestrowani
Postów: 96
Pomógł: 0
Dołączył: 19.10.2007

Ostrzeżenie: (0%)
-----


to jest linia 177:

  1. <?php
  2. echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
  3. ?>


Ten post edytował andegrand2 1.03.2008, 20:58:18
Go to the top of the page
+Quote Post
Keenic
post
Post #14





Grupa: Zarejestrowani
Postów: 64
Pomógł: 2
Dołączył: 13.07.2007
Skąd: Poznań

Ostrzeżenie: (0%)
-----


Pokaz wiekszy fragment kodu, tak z 10 linijek przed i 10 po.
Go to the top of the page
+Quote Post
andegrand2
post
Post #15





Grupa: Zarejestrowani
Postów: 96
Pomógł: 0
Dołączył: 19.10.2007

Ostrzeżenie: (0%)
-----


proszę bardzo (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) a tutaj masz cały kod: http://pc-gielda.nazwa.pl/radio/theme.txt
  1. <?php
  2. <input type='submit' name='login' value='Loguj' class='loguj' ><br><br>
  3. </form>
  4.  
  5. &#092;n";
  6.  
  7. if ($settings['enable_registration']) {
  8.  
  9. echo "<a href='".BASEDIR."register.php' class='text'>Rejestracja</a> / \n";
  10.  
  11. }
  12.  
  13. echo "<a href='".BASEDIR."lostpassword.php' class='text'>Zgubione hasło</a>
  14.  
  15. </div>\n";
  16.  
  17. }
  18. closesidel();
  19.  
  20.  
  21.  
  22.  
  23. echo "</div></td>
  24. <td> <img src=\"".THEME."images/radio_orange_07.gif\" width=\"584\" height=\"247\" border=\"0\" alt=\"[Rozmiar: 846 bajtĂłw]\"></td>
  25.  
  26.  
  27.  
  28.  
  29. </tr></table>
  30. <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
  31.  
  32. <tr>
  33. <td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_08.gif\" width=\"163\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtĂłw]\"></a></td>
  34. <td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_09.gif\" width=\"89\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtĂłw]\"></a></td>
  35. <td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_10.gif\" width=\"135\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtĂłw]\"></a></td>
  36. <td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_11.gif\" width=\"110\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtĂłw]\"></a></td>
  37. <td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_12.gif\" width=\"91\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtĂłw]\"></a></td>
  38. <td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_13.gif\" width=\"123\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtĂłw]\"></a></td>
  39. <td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_14.gif\" width=\"115\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 846 bajtĂłw]\"></a></td>
  40.  
  41.  
  42. </tr></table>
  43. <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
  44.  
  45. <tr>
  46. <td> <a href=\"".BASEDIR."play.php\"><img src=\"".THEME."images/radio_orange_15.gif\" width=\"211\" height=\"53\" border=\"0\" alt=\"[Rozmiar: 846 bajtĂłw]\"></a></td>
  47. <td> <a href=\"".BASEDIR."play.php\"><img src=\"".THEME."images/radio_orange_16.gif\" width=\"203\" height=\"53\" border=\"0\" alt=\"[Rozmiar: 846 bajtĂłw]\"></a></td>
  48. <td> <a href=\"".BASEDIR."play.php\"><img src=\"".THEME."images/radio_orange_17.gif\" width=\"200\" height=\"53\" border=\"0\" alt=\"[Rozmiar: 846 bajtĂłw]\"></a></td>
  49. <td><a href=\"".BASEDIR."play.php\"> <img src=\"".THEME."images/radio_orange_18.gif\" width=\"212\" height=\"53\" border=\"0\" alt=\"[Rozmiar: 846 bajtĂłw]\"></a></td>
  50.  
  51.  
  52.  
  53. </tr></table>
  54.  
  55. echo "<table border=&#092;"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
  56. <tr>
  57. <td background=&#092;"".THEME."images/radio_orange_19.gif\" width=\"211\" height=\"231\" border=\"0\" alt=\"[Rozmiar: 846 bajtow]\"><div style=\"padding-left: 20px; padding-right: 2px; padding-bottom: 20px\">";
  58. include ("status.php");
  59. echo "</div></td>
  60. <td background=\"".THEME."images/radio_orange_20.gif\" width=\"203\" height=\"231\" border=\"0\" alt=\"[Rozmiar: 846 bajtĂłw]\"><div style=\"padding-left: 12px; padding-right: 2px; padding-bottom: 20px\">Jakies staty</div></td>
  61.  
  62. <td background=\"".THEME."images/radio_orange_21.gif\" width=\"200\" height=\"231\" border=\"0\" alt=\"[Rozmiar: 846 bajtĂłw]\"><div style=\"padding-left: 10px; padding-right: 2px; padding-bottom: 20px\">Jakies staty</div></td>
  63.  
  64. <td background=\"".THEME."images/radio_orange_22.gif\" width=\"212\" height=\"231\" border=\"0\" alt=\"[Rozmiar: 846 bajtĂłw]\"><div style=\"padding-left: 15px; padding-right: 2px; padding-bottom: 20px\">Jakies staty</div></td>
  65.  
  66.  
  67.  
  68. </tr></table>
  69.  
  70.  
  71. </td>
  72. </tr>
  73. <tr></tr>
  74. <tr>
  75. <td>\n";
  76.  
  77. echo " <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"826\">
  78. <tr>\n";
  79.  
  80. }
  81.  
  82. function render_footer($license=false) {
  83.  
  84. global $theme_width,$settings;
  85.  
  86. echo "</tr>\n</table>\n";
  87. echo "<table cellpadding='0' align='center' cellspacing='0' width='$theme_width'>
  88. <tr>
  89. <td background='".THEME."images/radio_orange_31.gif'width=\"826\" height=\"42\" border=\"0\" align='center' class='side'>".stripslashes($settings['footer'])."
  90. Powered by: <a href='http://php-fusion.co.uk' target='_blank'>PHP-fusion </a> & <a href='http://extreme-fusion.pl/' target='_blank'>eXtreme-fusion</a> | <a href='http://okna.eu.pl/news.php' target='_blank'>Okna</a> | Desing & themes -<a href='http://www.grafa.biz' target='_blank'>Grafa.biz Team</a></small>
  91. ?>


Ten post edytował andegrand2 1.03.2008, 23:03:03
Go to the top of the page
+Quote Post
Keenic
post
Post #16





Grupa: Zarejestrowani
Postów: 64
Pomógł: 2
Dołączył: 13.07.2007
Skąd: Poznań

Ostrzeżenie: (0%)
-----


Usun echo oraz " (cudzyslow) w tej linijce, gdzie wystepuje blad czyli 177.
Go to the top of the page
+Quote Post
andegrand2
post
Post #17





Grupa: Zarejestrowani
Postów: 96
Pomógł: 0
Dołączył: 19.10.2007

Ostrzeżenie: (0%)
-----


usunołem i teraz strona ładuje się ładuje, ładuje i nic (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) stacja24.org sam zobacz...
Go to the top of the page
+Quote Post
Keenic
post
Post #18





Grupa: Zarejestrowani
Postów: 64
Pomógł: 2
Dołączył: 13.07.2007
Skąd: Poznań

Ostrzeżenie: (0%)
-----


Zaladowala mi sie ta strona. Moze masz cos z serwerem, ze tak dlugo laduje?

Ew. moze sie tak dlugo ladowac przez blad tego pliku, ktory includujesz.

Ten post edytował Keenic 2.03.2008, 13:35:21
Go to the top of the page
+Quote Post
andegrand2
post
Post #19





Grupa: Zarejestrowani
Postów: 96
Pomógł: 0
Dołączył: 19.10.2007

Ostrzeżenie: (0%)
-----


Ok już sobie daję rade (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) Dzięki wielkie za pomoc !

Pozdrawiam,
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 23:08