RLW Posted December 28, 2005 Share Posted December 28, 2005 Hello! After changing the ENABLE_SSL code to false in the Admin/includes/configure.php & the ENABLE_SSL CATALOG code to false in another configure.php file, I am now getting the following 2 error messages: When I click on 'Continue' to log in as a new customer:Warning: main(includes/form_check.js.php): failed to open stream: Permission denied in /home/riversli/public_html/catalog/create_account.php on line 261 Fatal error: main(): Failed opening required 'includes/form_check.js.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/riversli/public_html/catalog/create_account.php on line 261 And when I click on Checkout:Warning: main(includes/classes/http_client.php):failed to open stream: Permission denied in /home/riversli/public_html/catalog/checkout_shipping.php on line 14. Fatal error: main(): Failed opening required 'includes/classes/http_client.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in/home/riversli/public_html/catalog/checkout_shipping.php on line 14 I am not particularly conversant with html code, so if someone can walk me through these 2 messages, that would be awesome! Thanks so much, RLW :blush: Link to comment Share on other sites More sharing options...
RLW Posted December 28, 2005 Author Share Posted December 28, 2005 Is anyone out there? My last 3 messages have been left unattended. Shop nearly finished - just need some last few probs fixed. Please help! RLW Link to comment Share on other sites More sharing options...
♥Vger Posted December 29, 2005 Share Posted December 29, 2005 It sounds as if either your includes folder does not have the correct permissions, or else the files listed in the error do not have the correct permissions. Try 706 for the folder, and if that does not work then try 755. The files listed should have permissions of 644. When you set enable_ssl to false it is also advisable to leave blank (nothing between the two last apostrophies) the https entries in the configure.php files. Vger Link to comment Share on other sites More sharing options...
RLW Posted December 29, 2005 Author Share Posted December 29, 2005 It sounds as if either your includes folder does not have the correct permissions, or else the files listed in the error do not have the correct permissions. Try 706 for the folder, and if that does not work then try 755. The files listed should have permissions of 644. When you set enable_ssl to false it is also advisable to leave blank (nothing between the two last apostrophies) the https entries in the configure.php files. Vger Vger, Thankyou for your reply. When I click the Checkout button, it now takes me onto the Sign In page. But the Continue button on the sign in page is still bringing up the same error message as before. I'm not sure what you mean by the blank space between the apostrophes, so I've copied one of the configure.php files for you to view. Is it correct? <?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.riversliving.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.riversliving.com'); define('HTTPS_CATALOG_SERVER', 'https://www.riversliving.com'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/riversli/public_html/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/riversli/public_html/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/riversli/public_html/catalog/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'riversli_RivLiv'); define('DB_SERVER_PASSWORD', 'Riv031@!'); define('DB_DATABASE', 'riversli_RivLiv'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Do you know why the Sign In Continue button is still responding with an error? I've changed the Includes folder to 755 & all of the other files listed are set at 644 Thanks so much for any help you can give, RLW Link to comment Share on other sites More sharing options...
RLW Posted December 29, 2005 Author Share Posted December 29, 2005 Vger, Thankyou for your reply. When I click the Checkout button, it now takes me onto the Sign In page. But the Continue button on the sign in page is still bringing up the same error message as before. I'm not sure what you mean by the blank space between the apostrophes, so I've copied one of the configure.php files for you to view. Is it correct? <?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.riversliving.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.riversliving.com'); define('HTTPS_CATALOG_SERVER', 'https://www.riversliving.com'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/riversli/public_html/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/riversli/public_html/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/riversli/public_html/catalog/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'riversli_RivLiv'); define('DB_SERVER_PASSWORD', 'Riv031@!'); define('DB_DATABASE', 'riversli_RivLiv'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Do you know why the Sign In Continue button is still responding with an error? I've changed the Includes folder to 755 & all of the other files listed are set at 644 Thanks so much for any help you can give, RLW Problem solvered. Thanks for all the support, RLW Link to comment Share on other sites More sharing options...
MaBiSmAd Posted December 29, 2005 Share Posted December 29, 2005 Problem solvered. Thanks for all the support, RLW If the config file you posted here contains your actual database name, user name, and password, you should now change these at your earliest opportunely. Link to comment Share on other sites More sharing options...
RLW Posted December 29, 2005 Author Share Posted December 29, 2005 If the config file you posted here contains your actual database name, user name, and password, you should now change these at your earliest opportunely. All changed! Thanks for the tip-off! RLW :sweating: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.