keort Posted May 26, 2006 Posted May 26, 2006 (edited) Hi, I have my store (himalayansaltsolutions.com/store) all set up and working fine unsecured (except paypal pro, but that's a topic for another day). I finally got my ssl certificate after several days (man, godaddy takes a long time about it). It is installed "properly" according to my host (Dreamhost). I set SSL to true in my config file and now I get this when trying to access areas that should be secure: Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory. I spent quite a bit of time looking around the forums and tried some seemingly unrelated things in case it was a simple fix. But, no luck. Anybody know what to do now? I'm somewhat of a newbie to e-commerce and definitely a newbie to ssl and this is my first osCommerce site. Any assistance would be greatly appreciated. Edited May 26, 2006 by keort Quote
beano Posted May 26, 2006 Posted May 26, 2006 Hi, I have my store (himalayansaltsolutions.com/store) all set up and working fine unsecured (except paypal pro, but that's a topic for another day). I finally got my ssl certificate after several days (man, godaddy takes a long time about it). It is installed "properly" according to my host (Dreamhost). I set SSL to true in my config file and now I get this when trying to access areas that should be secure: Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory. I spent quite a bit of time looking around the forums and tried some seemingly unrelated things in case it was a simple fix. But, no luck. Anybody know what to do now? I'm somewhat of a newbie to e-commerce and definitely a newbie to ssl and this is my first osCommerce site. Any assistance would be greatly appreciated. Actually setting that variable to on is an easy fix. Try placing the following code in the .htaccess folder in the root directory if the catalog is in the root or the main subdirectory if it's in a subdirectory: php_value register_globals 1 Quote
Guest Posted May 26, 2006 Posted May 26, 2006 install this contribution http://www.oscommerce.com/community/contributions,2097 Quote
keort Posted May 26, 2006 Author Posted May 26, 2006 Actually setting that variable to on is an easy fix. Try placing the following code in the .htaccess folder in the root directory if the catalog is in the root or the main subdirectory if it's in a subdirectory: php_value register_globals 1 Realizing that any effort I might make to not appear stupid will be a waste of time, here goes stupid: / himalayansaltsolutions.com store (otherwise called catalog by most of you) is my path there is not an .htaccess file until I get into some of the subdirectories inside "store" assuming there needs to be one in "himalayansaltsolutions.com" based on your reply also assuming something in addition to php_value register_globals 1 needs to be in there ('cause I tried making one w/just that and it didn't help, so here's where I come off really stupid)...what might that be? very sorry...got in over my head on this stuff in my effort to help out my brother...again any assistance appreciated....thx Quote
keort Posted May 26, 2006 Author Posted May 26, 2006 Realizing that any effort I might make to not appear stupid will be a waste of time, here goes stupid: / himalayansaltsolutions.com store (otherwise called catalog by most of you) is my path there is not an .htaccess file until I get into some of the subdirectories inside "store" assuming there needs to be one in "himalayansaltsolutions.com" based on your reply also assuming something in addition to php_value register_globals 1 needs to be in there ('cause I tried making one w/just that and it didn't help, so here's where I come off really stupid)...what might that be? very sorry...got in over my head on this stuff in my effort to help out my brother...again any assistance appreciated....thx this just in from my buddy who'd been helping up to this week (he just took a new job and is in the process of moving...so he's out of the picture for a bit...): Its a Dreamhost issue. Dreamhost doesn't allow you to modify php configuration values through .htaccess and other coding methods. They've recently disabled the register_globals option for security reasons (mainly to protect badly written code) and the only way around it is to compile your own copy of php into your user folder. I'm pretty sure that I have a favorite in Firefox (probably a dreamhost subfolder) that shows you how to compileyour own copy of php to use so that you can modify that variable. If you're not comfortable doing it i can help you out but its going to be a while before I can. I'm without internet at home for probably another week. ATT is taking their sweet time :-p Quote
keort Posted May 30, 2006 Author Posted May 30, 2006 install this contributionhttp://www.oscommerce.com/community/contributions,2097 thanks. appreciated your detailed patch install instructions. I don't get the error now, and when I go to do a test login (or try to create a new account) it shows secure (https/lock symbol), however, the log-in is not completing. Any idea why the modifications would cause this and what I need to do about it? from here: https://www.himalayansaltsolutions.com/store/login.php? i type in user/pass (tried 2 different ones that i set up under earlier pre ssl testing)...nothing happens when i submit...this is the path it shows: https://www.himalayansaltsolutions.com/stor...?action=process If I try to create a new account and hit continue, I run into the same problem...form clears...nothing happens Can't test checkout since it requires logging in.... Any ideas? Please help. Quote
keort Posted May 30, 2006 Author Posted May 30, 2006 install this contributionhttp://www.oscommerce.com/community/contributions,2097 should have checked the admin side as well before posting... Can't login there either....get: Fatal error: Call to undefined function: tep_session_save_path() in /home/.hecate/jcwsap/himalayansaltsolutions.com/store/admin/includes/application_top.php on line 98 Line 98 is: tep_session_save_path(SESSION_WRITE_DIRECTORY); Does that provide any additional clues as to where the problem lies? Quote
keort Posted May 31, 2006 Author Posted May 31, 2006 should have checked the admin side as well before posting...Can't login there either....get: Fatal error: Call to undefined function: tep_session_save_path() in /home/.hecate/jcwsap/himalayansaltsolutions.com/store/admin/includes/application_top.php on line 98 Line 98 is: tep_session_save_path(SESSION_WRITE_DIRECTORY); Does that provide any additional clues as to where the problem lies? I installed the patch files instead of making the patch edits and this problem seems to be gone. I have not played around much in the admin side yet to see if all else is well. As I had not modified the admin side I suspect everything is fine. The initial admin screen still shows up as unsecure, but that can be an issue for another day unless anyone has a quick fix that won't break anything else while I continue to work through the current catalog "login/sign up/possibly checkout" problem. On this subject, I tried installing the patch files instead of using my files with the edits. This did not correct the issue. So, please, if anyone can help, I'd really appreciate it!!!!!!!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.