The Template Shop - eCommerce Software
eCommerce Templates
Open Source Shopping Cart Software
Customer Support Center
Home | Register | Submit a Ticket | Knowledgebase | News

 FATAL ERROR: register_globals is disabled in php.ini
Article Question: I have download the package and upload in on server, but when i want to install it, it say: FATAL ERROR: register_globals is disabled in php.ini, please enable it!

How to fix or in which file fix that?

Answer:
Most server have register_globals turned off for security reasons. The .htaccess file included in your store files will tell the server to ignore register_globals being disabled. But on a few hosting servers you actually need to add an additional php.ini file to each directoery your receive this error, which usually is in the catalog directory, install and admin directories.

How to create php.ini file? create a file called php.ini and add the following code to it:

register_globals = on
allow_url_fopen = off

expose_php = Off
max_input_time = 60
variables_order = "EGPCS"
extension_dir = ./
upload_tmp_dir = /tmp
precision = 12
SMTP = relay-hosting.secureserver.net
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

[Zend]
zend_extension=/usr/local/zo/ZendExtensionManager.so
zend_extension=/usr/local/zo/4_3/ZendOptimizer.so
rg_emulation=off


This works 99% of the time but still will not work on some servers. If this is the case you should change to a CRE Loaded Certified Hosting company like
LEVEL TEN HOSTING


Article Details
Article ID: 144
Created On: 31 Dec 2009 10:19 PM

 This article was helpful  This article was not helpful

 Back
 Log in [Lost Password] 
E-mail:
Password:
Remember Me:
 
 Search
 Article Options