Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]składnia php
ebook
post
Post #1





Grupa: Zarejestrowani
Postów: 21
Pomógł: 0
Dołączył: 18.05.2008

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


Witam,

Mam problem ze składnią php, o co mi chodzi już wyjaśniam:
Mam plik np. xx.php

Plik xx.php jest bardzo wielkim plikiem który w sobie posiada tylko takie komendy np.:
$lang["admin_menu"]["home"]="Strona główna";

Takich komend jest bardzo dużo, i w jednym najprawdopodbniej zapomniałem dodać " lub ;. Znalezienie tego błędu zejdzie mi ok. pół dnia.

Teraz moje pytanie.

Jaki program pomógł by mi znaleść błąd w składni ?, szukam takiego i znaleść nie moge.

Proszę o odpowiedz która mi pomoże w rozwiązaniu problemu.

Ps. chce dodać, że przez to że nie dodałem tych znaków np. ; lub " cały skrypt się nie wyświetla, dlatego problem jest dla mnie wysokiej rangi.

Pozdrawiam ciepło.

Ten post edytował ebook 21.02.2009, 10:39:16
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
skowron-line
post
Post #2





Grupa: Zarejestrowani
Postów: 4 340
Pomógł: 542
Dołączył: 15.01.2006
Skąd: Olsztyn/Warszawa

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


http://pl.php.net/error_reporting
  1. <?php
  2.  
  3. // Turn off all error reporting
  4.  
  5. // Report simple running errors
  6. error_reporting(E_ERROR | E_WARNING | E_PARSE);
  7.  
  8. // Reporting E_NOTICE can be good too (to report uninitialized
  9. // variables or catch variable name misspellings ...)
  10. error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
  11.  
  12. // Report all errors except E_NOTICE
  13. // This is the default value set in php.ini
  14. error_reporting(E_ALL ^ E_NOTICE);
  15.  
  16. // Report all PHP errors
  17.  
  18. // Same as error_reporting(E_ALL);
  19. ini_set('error_reporting', E_ALL);
  20.  
  21. ?>
Go to the top of the page
+Quote Post

Posty w temacie


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: 8.10.2025 - 10:44