Google+

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Am gasit niste erori in error_log
#1
Am revenit iar Smile dar de data aceasta vreau doar sa va dati cu parerea in legatura cu niste erori aparute in loguri .

Code:
[15-Jan-2011 23:01:37] PHP Warning:  require_once(./global.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/portaldo/public_html/dproto.ro/index.php on line 18
[15-Jan-2011 23:01:37] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/portaldo/public_html/dproto.ro/index.php on line 18
[15-Jan-2011 23:01:42] PHP Warning:  require_once(./global.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/portaldo/public_html/dproto.ro/index.php on line 18
[15-Jan-2011 23:01:42] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/portaldo/public_html/dproto.ro/index.php on line 18


Multumesc

#2
Logheaza-te pe FTP, du-te in root si verifica daca fisierul global.php are permisiunile setate pe 644.

Apoi intra in index.php cu editorul de text preferat si du-te la linia 18 unde ar trebui sa ai asa ceva:

PHP Code:
require_once "./global.php";


Daca nu ai asa copiaza de aici.

Bafta !

#3
observ ca il am
#4
Si are permisiunile setate pe 644? Ma refer la cele CHMOD, cele de scriere, citire, executie...
#5
da sunt setate pe 644
#6
Ar trebui sa fie in regula atunci, probabil vre-un plugin creeaza aceea eroare cumva, nu am idee care si cum.
#7
Linia asta spune totul:

Code:
Failed opening required './global.php'

Asta inseamna ca un alt fisier (plugin) care nu se afla in acelasi director/folder cu fisierul global.php incearca sa il includa in genul urmator ./global.php ... Mai pe scurt cauta fisierul global.php in acelasi director cu el dar acesta nu este acolo si de aici eroarea...Tongue

Users : collective term for those who use computers. Users are divided into three types : novice, intermediate and expert.
Novice users : people who are afraid that simply pressing a key might break their computer.
Intermediate users : people who don`t know how to fix their computer after they`ve just pressed a key that broke it.
Expert users : people who break other people`s computers.


Forum Jump:


Users browsing this thread: 1 Guest(s)