This is a discussion on FATAL ERROR: register_globals is disabled in php.ini etc.. within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; This my first time with this commerce module and I'd really like to get it up and running. After installing ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| This my first time with this commerce module and I'd really like to get it up and running. After installing first, it would not run. I got an error message: FATAL ERROR: register_globals is disabled in php.ini, please enable it! I'm running off remote server so I can not get to the php.ini. So I need to get it working with the global register off. So I tried this in the apllication_top.php ( folder /shop/incudes/ ...deleting // check if register_globals is enabled.// since this is a temporary measure this message is hardcoded.The requirement will be removed before 2.2 is finalized. if (function_exists('ini_get')) { ini_get('register_globals') or exit('FATAL ERROR: register_globals is disabled in php.ini, please enable it!'); } and inserting this if (!empty($HTTP_GET_VARS)) {extract($HTTP_GET_VARS);}if (!empty($HTTP_POST_VARS)) {extract($HTTP_POST_VARS);}if (!empty($HTTP_SERVER_VARS)) {extract($HTTP_SERVER_VARS);} However now when I run it I get this error message: Fatal error: Failed opening required 'includes/application.php' (include_path='.:/usr/local/lib/php') in /tier-2/pnpstore2/46/webs/htdocs/catalog/install/index.php on line 13 |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| Ask your host to enable register_globals=on (in your v-host php.ini file) for your site. This is required and they SHOULD do it on request. POST here or PM me if they give you trouble.
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#3
| |||
| |||
| Thanks for your suggestion - I'm currently using telewest broadband, blueyonder account - I have tried to get through to their server team.. However they were not willing to put me through and said they couldn't change the server for me. |
|
#4
| ||||
| ||||
| It not a mater they could not - is that they are not willing to service there customer. (AKA- they have BAD customer service) Jump ship! There is many low cost hosts that have a GOOD customer service. Try AABOX or PM me for a few other suggestions (as low as $65/year). They can EASLY configure this to be ON for your site only - it is a MAXIMUM 10 or 15 min change. Mostly can be done in under 5 mins. It is a setting in php.ini and httpd.conf files - not a "big change" to the server as they may be impling. The WORST thing they have to do is re-start the web services to load up the new settings (30 second - or do a re-boot durring there nitely maintance, when the traffic is low).
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#5
| |||
| |||
| That sounds odd to me...all they have to do is change that in the .ini file for your specific account, like jpf said that should be no big deal. |
|
#6
| ||||
| ||||
| Sounds odd - but is not. This happens (far too) offten (I know of atleast 8 people that I helped and ended up refered to other host cause of this). I know it is not a big deal - but I have seen hosting companies refuse (cause of policy or it may be a "remote security risk" - if you have bad/poor programing skills - and did not verify/check data - which OSC does anyway) or want to charge up to $100 OR MORE to "recompile" to allow this - It is ALL BS! Part of the problem is that SOME host (must have) a policy that does not allow changing ANY server settings - regardless of request or reason - it is bad customer service IMHO. (Or just don't know how too do...that means they are stupid also!) In a SERVICE industry - the moto is always "Customer is always right (unless proven wrong)". Some hosts have forgotten this and tends to bite the hands that feed them.... As I have said - if they don't want to "help you" - there customers - then JUMP SHIP! Don't deal with a company that has BAD policies and/or BAD customer service. Good Luck
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#7
| |||
| |||
| Hai, same problem here in teh Netherlands. The webhoster has enabled register_global in php.ini, did not work. he suggested to put a .htaccess file in my html folder with " php_value register_globals 0 " in it. That worked neither. Help me, I have installed the shop on a test site and it worked, now on a other hoster his server it won't work. I also keep getting the notification: FATAL ERROR: register_globals is disabled in php.ini, please enable it! Can you help a dutch guy ?? |
|
#8
| |||
| |||
| Hello, I had the same problem and I found out a solution. I´m running an Apache server within a Windows machine. I load the php module with the next two lines: LoadModule php4_module "c:/php/sapi/php4apache2.dll" AddType application/x-httpd-php .php Now, if you want to enable the globals, write after those previous lines the next: php_value register_globals 1 And then it have to work! Ciao |
|
#9
| |||
| |||
| Im a little new at this, and am using phpdev423, I changed the php.ini files but am wondering if there are more somewhere else or if there is something else I am supposed to do? I am trying to run this off of my computer, then when Im done to upload it to the website. My directories come up fine but when I try to install I am getting the register_globals error. if someone has the file, email it to tvecchio@silasgroup.com and let me know where to paste it. here is how my directory is listed for install: http://localhost/public/catalog/install/install.php and here is my error: FATAL ERROR: register_globals is disabled in php.ini, please enable it! Thanks, Tom |
|
#10
| ||||
| ||||
| Line 365 register_globals = Off change to register_globals = On Note: 1. As jpf said - you must restart / reboot for the change to take effect! 2. Lines in php.ini beginning with ; are comments fyi. There are a few comments about register_globals = On in the file. Find & change the line 365 or thereabouts - the one without the ; & reboot.
__________________ HTH Neil www.12website.com "You can have everything in life that you want if you will just help enough other people get what they want." Zig Ziglar |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Posted By | For | Type | Date | |
| *Clix | This thread | Refback | 06-14-2008 08:54 AM | |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Remedy for 'register_globals' error | Jan5 | osCMax v2 Installation issues | 0 | 07-28-2006 11:26 AM |
| FATAL ERROR: register_globals is disabled in php.ini | robroymedia | osCMax v1.7 Discussion | 1 | 09-13-2004 10:57 AM |
| fatal error | litotes | osCommerce 2.2 Installation Help | 0 | 03-09-2004 05:57 PM |
| FATAL ERROR: register_globals is disabled in php.ini | Marko | osCommerce 2.2 Installation Help | 2 | 02-03-2003 12:12 AM |
| php-error: register_globals is disabled in php.ini | Anonymous | osCommerce 2.2 Installation Help | 1 | 11-05-2002 01:29 PM |