osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

REGISTER_GLOBALS

This is a discussion on REGISTER_GLOBALS within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; wht is the alternative for register_glabal, i m not allowed to put on register_global on my server wht should i ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-02-2003, 06:07 AM
Lurker
 
Join Date: Aug 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
hussain
Default REGISTER_GLOBALS

wht is the alternative for register_glabal, i m not allowed to put on register_global on my server wht should i do PLZ HELP.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 10-02-2003, 06:54 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,535
Thanks: 76
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

REGISTER_GLOBALS is a requirement for osCommerce to work. Without it you are sunk.

If anyone out there has some good news on this, I havent heard it...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 10-04-2003, 08:11 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,694
Thanks: 2
Thanked 96 Times in 82 Posts
Rep Power: 12
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

Ask your host to turn register_globals=on in PHP.INI and all vhost in hpptd.conf as off except for your site which needs it on.

Newer version of PHP have this turned off as a default where it was normally on. There is a "security problems" with this turned on ONLY if your not doing proper checking of input variables - ie: BAD PROGRAMING.

There is NO harm in this turned on and using OSC.

If your HOST is not willing to FIX this for you I am sure AABOX can do it....or PM me for other suggestions....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 05-06-2004, 10:40 PM
Lurker
 
Join Date: May 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
treebeard
Default Easy to fix just force your host to turn it on for you....

in your htaccess files in both your http and https dir. add this line to force globals on

Code:
php_value register_globals 1
That is it!

http://www.smartsauctions.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 05-10-2004, 11:01 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,694
Thanks: 2
Thanked 96 Times in 82 Posts
Rep Power: 12
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

This ONLY works if they allow it....... It still has to be turned on for the server (but off as a site default - and allow change).
__________________
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 08-24-2004, 02:21 PM
Lurker
 
Join Date: Aug 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jbrolin
Default

Hi!
I got register globals off at my host and OScommerce works fine, except for easy populate - I suppose bad programming...? It seems as the variables $usrfl_name and $localfile is empty when uploading a file - everything else works. Have anyone solved this problem?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 01-27-2005, 08:31 PM
Lurker
 
Join Date: Jan 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wingnut
Default register_globals issues

Hi,

I am trying to run the install from

http://<site>.com/store/catalog/install/

and I keep getting

FATAL ERROR: register_globals is disabled in php.ini, please enable it!

I have set register_globals = On in php.ini and even rebooted the machine and restarted apache and I still get this error.

Can anyone tell me why?

Thanks a ton!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 01-28-2005, 02:39 PM
developer_x's Avatar
Active Member
 
Join Date: Nov 2004
Location: Digital Infoway
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
developer_x
Default RE: register_globals issues

Check if register_globals is 'on' somewhere else in the same file. I know this sounds foolish. But once I had found out that php.ini file makes register_globals on/off at 2 different lines. Give it a try. And do save your file after making the modification .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 01-29-2005, 12:04 PM
Active Member
 
Join Date: Jun 2004
Location: Glued to Computer Chair
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
makemethis
Default RE: register_globals issues

Sites on php4 need to change in the .htaccess lines at the bottom from
#<IfModule mod_php4.c>
# php_value session.use_trans_sid 0
# php_value register_globals 1
#</IfModule>

to
<IfModule mod_php4.c>
php_value session.use_trans_sid 0
php_value register_globals 1
</IfModule>

This worked for me on a site that was running on php4
__________________
True Meaning of Lost: Building a web site without knowledge or skill

True Meaning of Crazy: Building a web site anyhow

The Net Results: Never needing a comb again

www.MakeMeThis.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

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
Register_Globals is Off!!!!!! titascuet osCMax v1.7 Discussion 3 07-26-2007 03:06 AM
urgent need help: Register_Globals flyinrookie osCommerce 2.2 Modification Help 3 03-04-2006 11:33 PM
register_globals solution poiXoN osCommerce 2.2 Installation Help 8 12-31-2005 09:25 PM
register_globals on or off? safire osCommerce 2.2 Installation Help 1 08-27-2004 12:37 PM
turning register_globals OFF ippo osCommerce 2.2 Modification Help 0 01-14-2003 11:34 AM


All times are GMT -8. The time now is 06:19 PM.


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