Andrew36875 Posted July 27, 2004 Posted July 27, 2004 hello... new to oscommerce but have followed the instructions very carefully. The database was installed successfully, and everything in the catalog section works fine. But when I go to the Admin section I get the following two error messages on a blank screen: Warning: main(includes/functions/database.php): failed to open stream: No such file or directory in /usr/www/users/alpha/health/catalog/admin/includes/application_top.php on line 58 Fatal error: main(): Failed opening required 'includes/functions/database.php' (include_path='.:/usr/local/lib/php') in /usr/www/users/alpha/health/catalog/admin/includes/application_top.php on line 58 What I don't understand is that database.php does exist in includes/functions/, it was downloaded in ASCII and I have tried changing directory permissions but to no avail. Any advice would be appreciated. Thanks, Andrew
muzzamuzza Posted August 1, 2004 Posted August 1, 2004 I am in the same position except that my error is:- Fatal error: Cannot re-assign $this in C:\Program Files\Web\Apache2\htdocs\catalog\admin\includes\classes\upload.php on line 31 I have used "TheSaint Wamp" as my installation of Apache etc... and all works very well. Look forward to a solution. Thanks in anticipation
Guest Posted August 1, 2004 Posted August 1, 2004 Andrew - - check the following in catalog/admin/includes/configure.php: define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/your_user-name/public_html/admin/'); // absolute path required make sure that they are correct for your server. -jared
Recommended Posts
Archived
This topic is now archived and is closed to further replies.