can anybody tell me whats wrong with this on my site: Warning: include_once(/web/htdocs/www.xxxxx.com/home/open/include/class/adodb/adodb.inc.php) [function.include-once]: failed to open stream: No such file or directory in /web/htdocs/www.xxxxx.com/home/home/open/include/common.php on line 23 Warning: include_once() [function.include]: Failed opening '/web/htdocs/www.xxxxx.com/home/open/include/class/adodb/adodb.inc.php' for inclusion (include_path='.:/php5/lib/php/') in /web/htdocs/www.xxxxx.com/home/home/open/include/common.php on line 23 Warning: include_once(/web/htdocs/www.xxxxx.com/home/open/include/misc.inc.php) [function.include-once]: failed to open stream: No such file or directory in /web/htdocs/www.xxxxx.com/home/home/open/include/common.php on line 24 Warning: include_once() [function.include]: Failed opening '/web/htdocs/www.xxxxx.com/home/open/include/misc.inc.php' for inclusion (include_path='.:/php5/lib/php/') in /web/htdocs/www.xxxxx.com/home/home/open/include/common.php on line 24 Fatal error: Class 'misc' not found in /web/htdocs/www.xxxxx.com/home/home/open/include/common.php on line 25 ps: xxxxx= my domain thanks
Looks like the following files do not exist: /home/open/include/class/adodb/adodb.inc.php /home/open/include/misc.inc.php Your common.php file includes references to those files. Did you happen to make changes or edits to common.php? I recommend saving a backup of that file and re-uploading a fresh copy of the file.
this is just the current page cannot locate the file include.. make use of $_SERVER['DOCUMENT_ROOT'];
I have edited on cocmmon.php, to: include_once("http://www.xxxxx.com/open/include/class/adodb/adodb.inc.php"); include_once("http://www.xxxxx.com/open/include/misc.inc.php then my site : Fatal error: Class 'misc' not found in /home/home/open/include/common.php on line 25 how can I do ?