osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

php error

This is a discussion on php error within the osCMax v1.7 Installation forums, part of the osCMax v1.7 Forums category; hi guys, I just upgraded my easyphp from 1.6 to 1-7 but now when I try to open up my ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Installation

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-18-2004, 03:21 PM
Active Member
 
Join Date: May 2003
Posts: 130
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
judoka
Default php error

hi guys,
I just upgraded my easyphp from 1.6 to 1-7 but now when I try to open up my website on my localhost, I am getting the following error:

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

Does anyone know how I can fix this problem?
thanks for your help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 11-19-2004, 05:07 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,497
Thanks: 74
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

set register_globals to On in php.ini...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • 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.

  • 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 11-19-2004, 01:06 PM
Active Member
 
Join Date: May 2003
Posts: 130
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
judoka
Default

Quote:
Originally Posted by msasek
set register_globals to On in php.ini...
HI Micheal, Thanks for the reply; but which php.ini? I found 4 php.ini that I can think of and I turn all 4 to "on" before I place this post, but I was still getting the error message which is why I place this post. Can you please be a little more specific as to where to find the correct php.ini?

Thanks Micheal
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-22-2004, 08:22 AM
Active Member
 
Join Date: May 2003
Posts: 130
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
judoka
Default

Any body knows which php.ini I need to go to in order to turn on the register_globals. I need this as quickly as possible. Any help would be greatly appreciated. Thank You.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 11-22-2004, 12:51 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,497
Thanks: 74
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

I suggest changing all of them. It will only take a few minutes. Then restart apache for the change to take effect.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • 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.

  • 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!
  #6  
Old 11-22-2004, 02:27 PM
Active Member
 
Join Date: May 2003
Posts: 130
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
judoka
Default

Quote:
Originally Posted by msasek
I suggest changing all of them. It will only take a few minutes. Then restart apache for the change to take effect.
Hi Micheal,
I did change all of them however it didn't fix the problem however I decided to do a re-install and that fix the problem. Go figure.

I do have another question that I just notice today. I am redoing my website and I have bought a complete template store from TemplateShopper.com due to a lack of redesign time, which come with the os system built in. However I have notice that when I go to the admin. it is not password protected nor is there anywhere in the admin where I can set up a user name and/or password. My question is, is there anyway that I can add this feature to my admin?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 11-18-2005, 12:49 AM
Lurker
 
Join Date: Nov 2005
Location: Southern California
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Geno11x11
Default FATAL ERROR: register_globals is disabled in php.ini, please

Apache2, PHP5, MySQL running on WinXP
Application: OScMax v2

Despite turning register_globals on and restarting Apache, I am getting the following error when running catalog\install\index.php:

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

Any suggestions on confirming whether or not register_globals are really on or off, or how to resolve this problem?

Thanks,

Gene K.
geno11@softhome.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 11-18-2005, 08:32 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,497
Thanks: 74
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 RE: FATAL ERROR: register_globals is disabled in php.ini, pl

Gene, if you are getting that error, you in fact have not turned on register globals. Check to make sure your host has not disallowed you changing this value, and also make sure you are editing the correct php.ini file.

Try killing all apache processes by doing a killall -9 httpd and then starting apache again and see if that helps.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • 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.

  • 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!
  #9  
Old 12-01-2005, 02:17 PM
Lurker
 
Join Date: Nov 2005
Location: Southern California
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Geno11x11
Default RE: FATAL ERROR: register_globals is disabled in php.ini, pl

Thanks for the suggestion. I got past this one using .htaccess files which did succeed in activating register_globals.

Still at the installation, I am now stuck at the Import Database stage. After filling in the fields and submitting, the lower 3/4 of the screen goes blank and it hangs. I need to identify if my problem is in the MySQL database setup, in PHP configuration, or perhaps it is a rights issue. How do I troubleshoot this?

I have not taken the easy way - installing PHP4 - because I am taking a PHP5 class and the instructor advised me to install the later version. Other OSCMax users seem to have gotten the package up and running on PHP5, but I have only found snippets of information and no comprehensive list of solutions. Is is it worth the time and trouble going this route?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 12-04-2005, 08:45 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,688
Thanks: 2
Thanked 95 Times in 81 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 RE: FATAL ERROR: register_globals is disabled in php.ini, pl

Rights issues - maybe, check the user permission in mysql (use phpmyadmin). Web root error - maybe (you may have to put the file into c:\install\osCMax.sql - don't know why but ran into that myself with some WAMP packages)

If it is just the import that is stuck (connection was fine) - then SKIP it....use phpMyAdmin and load the above file into the SQL query and run it....

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!
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


All times are GMT -8. The time now is 01:26 PM.


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