osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

FATAL ERROR: register_globals

This is a discussion on FATAL ERROR: register_globals within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; how do I enable this I tried to edit the file and where it said ...... php_admin_flag register_globals off I ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 09-28-2007, 04:27 PM
New Member
 
Join Date: Sep 2007
Location: phoenix
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
rustang289 is on a distinguished road
Default FATAL ERROR: register_globals

how do I enable this I tried to edit the file and where it said ......
php_admin_flag register_globals off I changed the off to on and nothing
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #2  
Old 09-28-2007, 05:17 PM
New Member
 
Join Date: Jul 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ChrisP666 is on a distinguished road
Default Re: FATAL ERROR: register_globals

delete the php_admin_flag register_globals off and change it to:

php_flag register_globals on

make sure you put that in your .htaccess file
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 10-11-2007, 08:48 AM
Member
 
Join Date: Apr 2007
Posts: 65
Thanks: 18
Thanked 1 Time in 1 Post
Rep Power: 2
justedee is on a distinguished road
Default Re: FATAL ERROR: register_globals

Last night some brilliant person told me to create a note pad file called php.ini and within it put

register_globals=on

Then stick it in the admin and root directory.
It worked!

~eDee
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 10-16-2007, 06:24 PM
ryankan1's Avatar
New Member
 
Join Date: Oct 2007
Posts: 14
Thanks: 4
Thanked 2 Times in 1 Post
Rep Power: 0
ryankan1 is on a distinguished road
Default Re: FATAL ERROR: register_globals

Quote:
Originally Posted by justedee View Post
Last night some brilliant person told me to create a note pad file called php.ini and within it put

register_globals=on

Then stick it in the admin and root directory.
It worked!

~eDee
Correct me if I'm wrong, but isn't it a security hazard to enable register_globals?

Regards
Ryan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 11-18-2007, 03:04 PM
Lurker
 
Join Date: Nov 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Bulli is on a distinguished road
Default Re: FATAL ERROR: register_globals

Hi everyone,

I am putting up a new store in Brazil, testing and checking many shopping carts.
Facing a lot of problems, etc. (not much knowledge in PHP)

And off course I ran into this one also. Since register_globals is off and the host will not turn it on. No accesss to PHP.ini, and its trick worked in one of the installation.

The second trick was the .htaccess

{QUERY_STRING}
<ifModule mod_php5.c>
php_value register_globals On
</ifModule>


I tried the two solutions with different versions and types of oscommerce; they sometimes worked sometimes not.

Till this last time NONE had worked out for me.
Well I had to figure a way out, I found a solution (not the best one) but worked fine for the installation and the store is up and running.


Open this file and comment out // Check if register_globals is enabled.

catalog\install\includes\ application.php

Like this:

// 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!');
// }

This done the trick for me this last time, could save someone’s day.

Not sure if it has any impact, but so far so good, the store is running without a problem, at least till now.

Regards,
Bulli
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
FATAL ERROR: register_globals is disabled in php.ini jschafer52 osCMax v2 Installation issues 12 03-13-2008 01:40 AM
FATAL ERROR: register_globals is disabled in php.ini etc.. heds22 osCommerce 2.2 Installation Help 16 07-20-2006 01:03 PM
FATAL ERROR: register_globals is disabled in php.ini robroymedia osCMax v1.7 Discussion 1 09-13-2004 11:57 AM
FATAL ERROR: register_globals is disabled in php.ini Marko osCommerce 2.2 Installation Help 2 02-03-2003 01:12 AM
php-error: register_globals is disabled in php.ini Anonymous osCommerce 2.2 Installation Help 1 11-05-2002 02:29 PM


All times are GMT -8. The time now is 12:03 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax