Hi,
I would really appreciate a good reply for help on the following error, my post is a bit long to help make better understanding of the nature of the problem.
My environment: Suse 10, Apache 2, PHP 4.x.x, mysql
Error Example1.1:
Warning: main(includes/configure.php): failed to open stream: No such file or directory in /srv/www/htdocs/catalog/includes/application_top.php on line 34
Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='/usr/share/php') in /srv/www/htdocs/catalog/includes/application_top.php on line 34
My solution that helped the script get past installing the database lies in editing lines with "require" directive in the following manner:
Solution Example1.2
Extract from line 34 in application_top.php:
require('includes/configure.php'); //by default triggers the above error in example 1.1
My Solution: altering the relative path to become absolute path in the specified line:
require('/srv/www/htdocs/catalog/incdlues/configure.php'); // Problem solved but the modification process is painstaking and time-consuming.
I'd be thankful for any help to solve the scripts' nagging need for an absolute path rather than the relative one by default?
(I've followed all the installation requirements and procedures word by word but in vain)
Regards![]()





LinkBack URL
About LinkBacks












Bookmarks