Discussion Locked

PHP

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a problem regarding my php script, it always return this message:
(tulong naman tangna nyo!)
Warning: main(../database_access.php): failed to open stream: Success in /usr/apache/htdocs/sp/Module2/createlist_1.php on line 5

Warning: main(): Failed opening '../database_access.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/apache/htdocs/sp/Module2/createlist_1.php on line 5

Warning: main(createlist_1.php): failed to open stream: No such file or directory in /usr/apache/htdocs/sp/Module2/createlist_1.php on line 37

Warning: main(): Failed opening 'createlist_1.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/apache/htdocs/sp/Module2/createlist_1.php on line 37

2 replies

by jaqui

um, you don't need to use a function main() in php.
that is one of the c constructs that didn't get ported.

if you can post the actual code, it would help to see what is causing the errors.
( they reference the code, not suppply useful data without it. )

by marathoner

It looks to me like your files that its requesting to include simply are in the wrong place.

This discussion is closed to new replies.