RoguePriest Posted January 10, 2005 Posted January 10, 2005 Hiya all, just re-installed and now i have the following errors: 1. (on the last install page step7): New Installation osCommerce Configuration Warning: fopen(/www/htdocs/blueprin/catalog/includes/configure.php): failed to open stream: Permission denied in /www/htdocs/blueprin/catalog/install/templates/pages/install_7.php on line 209 Warning: fputs(): supplied argument is not a valid stream resource in /www/htdocs/blueprin/catalog/install/templates/pages/install_7.php on line 210 Warning: fclose(): supplied argument is not a valid stream resource in /www/htdocs/blueprin/catalog/install/templates/pages/install_7.php on line 211 The configuration was successful! And 2 (on the catalog/index.php): Warning: main(includes/application_top.php): failed to open stream: Permission denied in /www/htdocs/blueprin/catalog/index.php on line 13 Fatal error: main(): Failed opening required 'includes/application_top.php' (include_path='.:') in /www/htdocs/blueprin/catalog/index.php on line 13 ------------------------------------- so what to do? changed some permissions doesn't seem to work! Let me know (there will be a reward for the wizard with the best sollution) ;)
OceanRanch Posted January 10, 2005 Posted January 10, 2005 Well the first thing I would check is your database connection information in both the catalog and admin configure files. Edit both catalog/includes/configure.php and catalog/admin/includes/configure.php. Check that database server is "localhost" and verify that your user and password settings are correct. HTH Tom
RoguePriest Posted January 10, 2005 Author Posted January 10, 2005 ok got some things sorted out now... The admin pages are all working but unfortunately I still can't see the catalog..: Now it gives me this error Warning: main(includes/languages/english.php): failed to open stream: No such file or directory in /www/htdocs/blueprin/catalog/includes/application_top.php on line 285 Fatal error: main(): Failed opening required 'includes/languages/english.php' (include_path='.:') in /www/htdocs/blueprin/catalog/includes/application_top.php on line 285 So if someone can help me out here? Thanx
OceanRanch Posted January 10, 2005 Posted January 10, 2005 Post your catalog/includes/configure.php minus user name and password and someone can look at it. It appears the "includes" define might not be set properly. I have to go now, so hopefully someone else can chime in on this and win your big reward for the the wizard solution.... :-) Tom
RoguePriest Posted January 11, 2005 Author Posted January 11, 2005 Yeeeeha, Got it back working again! Thanx Tom for your effort, You have won the wizard-of-the-day-award. Send me your shipping adres and i'll zip it over to you! :D I'm sure you'll hear from me again...as I am working on a rather large project and so many things can go wrong! lol Thanx again
daxcastro Posted January 26, 2005 Posted January 26, 2005 Tom I am having the same problem. If you could tell me how you helped this guy I would greatly appreciate it. Dax Post your catalog/includes/configure.php minus user name and password and someone can look at it. It appears the "includes" define might not be set properly. I have to go now, so hopefully someone else can chime in on this and win your big reward for the the wizard solution.... :-) Tom <{POST_SNAPBACK}>
OceanRanch Posted January 26, 2005 Posted January 26, 2005 Hi Dax, His configure.php entries for "includes" was not set properly. Post your catalog/includes/configure.php minus user name and password and someone can look at it. Maybe I'll even look at it. Add the specific error message and anything else about your install that might give us a clue. BTW, 2 weeks later and no zip wizard award from Rogier. Oh well, I don't expect any money/prizes etc. from over 1200 posts. Really just do this for the "joy" of helping others and never stop learning new things from the great folks on the forum. HTH Tom
daxcastro Posted January 27, 2005 Posted January 27, 2005 Here is the config file... The specific error I get is: Warning: main(includes/languages/english.php): failed to open stream: No such file or directory in /www/htdocs/blueprin/catalog/includes/application_top.php on line 285 But now seems to be working but when I checkout I get to the point where it is supposed to be pulling up checkout_process.php and says 404 but the file is there for sure in both the oscommerce and the include/languages/english folders. I think your include diagnosis might be causing this as well. On the topic of help, I too am a forum junkie except you will find me posting up a storm for Sketchup (3d massing tool) and for Corel Draw. I have been a professional graphic designer for 10 years now and like helping people. I just can't code my way out of a paper bag. I can read it alright but can't seem to fix it. Thanks again for your help on this one. Dax <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.salestrainer.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.salestrainer.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.salestrainer.com'); define('HTTPS_COOKIE_DOMAIN', 'www.salestrainer.com'); define('HTTP_COOKIE_PATH', '/oscommerce'); define('HTTPS_COOKIE_PATH', '/oscommerce'); define('DIR_WS_HTTP_CATALOG', '/oscommerce/'); define('DIR_WS_HTTPS_CATALOG', '/oscommerce/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/virtual/site1/fst/var/www/html/oscommerce/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '*****'); define('DB_SERVER_PASSWORD', '*****'); define('DB_DATABASE', 'salestrainer_com_-_oscommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Hi Dax, His configure.php entries for "includes" was not set properly. Post your catalog/includes/configure.php minus user name and password and someone can look at it. Maybe I'll even look at it. Add the specific error message and anything else about your install that might give us a clue. BTW, 2 weeks later and no zip wizard award from Rogier. Oh well, I don't expect any money/prizes etc. from over 1200 posts. Really just do this for the "joy" of helping others and never stop learning new things from the great folks on the forum. HTH Tom <{POST_SNAPBACK}>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.