tommnorm Posted October 28, 2013 Posted October 28, 2013 I'm trying to use the plugins "Virtual Mall" and "Multi Store" and when I try run them I get this: 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 can't this to work. Any suggestions? I'm trying to get multiple store fronts in one location. If these plugins don't work are there any other solutions? Thanks!! Tom
♥kymation Posted October 28, 2013 Posted October 28, 2013 Those addons are very old and will probably not run on any modern server. There is a commercial addon that does the same thing, but nothing that I am aware of for free. Regards Jim See my profile for a list of my addons and ways to get support.
MrPhil Posted October 29, 2013 Posted October 29, 2013 I would not try to get register global variables enabled on your server. If that is the only problem with those two add-ons, it shouldn't be hard to modify the code to use $_REQUEST[varname] to set a local $varname variable. You would have to be thorough in going through the code and finding all the uses, but it's not conceptually difficult. And you would have to disable whatever is checking for register globals to be enabled. I'm assuming that you were able to install them, and it's just the runtime that's being a problem. For example, say you find variable $store_name being passed via a URL Query String (...&store_name=my%20store...) or as a POST field in a form. In each function or file that uses $store_name, you would add at the top $store_name = $_REQUEST['store_name']; and now it should be defined. That's the basic idea. And yes, you have to have some notion of PHP coding.
♥mommaroodles Posted October 29, 2013 Posted October 29, 2013 You can try opencart - open cart has a multi-store feature better still, why now wordpress multisite with either woocommerce or wp ecommerce :) "The doorstep to the temple of wisdom is a knowledge of our own ignorance."
Recommended Posts
Archived
This topic is now archived and is closed to further replies.