osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

FATAL ERROR: register_globals is disabled in php.ini

This is a discussion on FATAL ERROR: register_globals is disabled in php.ini within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hi I am new to PHP, OSCOMMERCE, MYSQL and Apache. I am running WIn2000 I have successfully set up Apache, ...


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

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-02-2003, 11:58 PM
New Member
 
Join Date: Feb 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Marko
Default FATAL ERROR: register_globals is disabled in php.ini

Hi I am new to PHP, OSCOMMERCE, MYSQL and Apache.

I am running WIn2000 I have successfully set up Apache, PHP and MYSQL.

I have created my database and assigned the user as per the new oscomerce doco. In the doco it says to open a browser and run the install http://localhost/catalog/install/index.php However, I am getting the following error here.

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

I did a search on this file and found the follwing three files. I changed each of these files register_globals parameter to = on (Previously they where set to = OFF). There was a security warning for the implication of this.

php.ini-dist
php.ini-recommended
php.ini.conf


I re-started the server and tried again, still the same problem.

Questions.
Is this related to permissions? If so I must have done something wrong here. COuld someone explain how to properly set the permissions. I understand CHMOD are unix commands. I have checked the permissions from windows explorer/security and nothing seems to jump out (I have everything set to "Allow".


Any advice would be appreciated.

Many thanks,

Mark
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 02-03-2003, 12:16 AM
New Member
 
Join Date: Jan 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
MahmoodDar
Default

HIya Marko

Your getting the error message because register_global is disabled in
" php.ini " file.

You can locate the file :

C:\Windows\php.ini

Open php.ini in any text editor program and look for this section

;;;;;;;;;;;;;;;;;
; Data Handling ;
;;;;;;;;;;;;;;;;;

/---

Some other codes ....

; You should do your best to write your scripts so that they do not require
; register_globals to be on; Using form variables as globals can easily lead
; to possible security problems, if the code is not very well thought of.
register_globals = Off


--/

You will see " register_globals = Off " set to Off , just replace that with

register_globals = On

And your set to go

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-03-2003, 01:12 AM
New Member
 
Join Date: Feb 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Marko
Default

Thanks heaps,

I'm back on track.

Marko
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
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 etc.. heds22 osCommerce 2.2 Installation Help 16 07-20-2006 12:03 PM
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 06:57 PM
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 01:56 AM.


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