Guest Posted May 27, 2003 Posted May 27, 2003 once installed i get this error when i click on catalog - admin opens correctly... Warning: main(includes/functions/database.php) [function.main]: failed to create stream: No such file or directory in /home/augie/public_html/includes/application_top.php on line 50 Fatal error: main() [function.main]: Failed opening required 'includes/functions/database.php' (include_path='') in /home/augie/public_html/includes/application_top.php on line 50 any help?
Daemonj Posted May 27, 2003 Posted May 27, 2003 Check your catalog/includes/configure.php file to ensure that your path locations are correct (most likely the FS_CATALOG entry). "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
Guest Posted May 27, 2003 Posted May 27, 2003 yes, i followed the instructions on installing to my root where FS_CATALOG and FS_DOCUMENTS reads to /home/username/public_html/ now... shouldn't this be so? LIKE THIS : The line in the configure.php : define('DIR_WS_CATALOG', '/catalog/'); // absolute path required can be changed to : define('DIR_WS_CATALOG', '/'); // absolute path required and change these lines: define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); to define('DIR_FS_DOCUMENT_ROOT', '/home/serverusername/public_html'); define('DIR_FS_CATALOG', '/home/serverusername/public_html/'); Change the /admin/includes/configure.php to match this as well.
Daemonj Posted May 27, 2003 Posted May 27, 2003 If your Admin side is working do not touch it. ;) Do you have a catalog folder within your public_html folder (i.e. public_html/catalog/) or did you move the files and folders from the catalog folder to your public_html folder? If the former, then you need to have the following entries: define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_DOCUMENT_ROOT', '/home/[serverusername]/public_html'); if the latter, then you need: define('DIR_WS_CATALOG', '/'); define('DIR_FS_DOCUMENT_ROOT', '/home/[serverusername]/public_html'); and in both cases you should have: define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
Daemonj Posted May 28, 2003 Posted May 28, 2003 bingo. thanks And to think that you doubted me. ;) LOL Glad to hear that you are up and going. :) "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
Recommended Posts
Archived
This topic is now archived and is closed to further replies.