Log in

View Full Version : Can't call init.php from global.php


Aou_Student
09-11-2006, 08:16 AM
Hello experts,

I wrote a script that is to work in cron jobs. I put "require_once("../../global.php");" in the begining to enter vb functions but I always get this error:

[11-Sep-2006 11:33:02] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required '/home/aouclass/public_html/attasha/vbtest/includes/cron/includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aouclass/public_html/attasha/vbtest/global.php on line 20

I need help.

How to fix this problem and how to make my script works?