Joomla! Discussion Forums



It is currently Tue Nov 24, 2009 2:24 pm (All times are UTC )

 




Post new topic Reply to topic  [ 16 posts ] 
Author Message
Posted: Tue Jul 10, 2007 5:19 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jul 10, 2007 5:03 pm
Posts: 7
Hi,
I have this error:  PHP register_globals setting is `ON` instead of `OFF`  on my pages.  I have gone to the globals.php file and the file shows:  define( 'RG_EMULATION', 0 );

But I still get that error.  What am I missing? ???

Thanks
Sue :pop


Top
  E-mail  
 
Posted: Tue Jul 10, 2007 5:26 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Nov 30, 2005 3:33 pm
Posts: 324
Location: Hanoi, Vietnam
Put the following line of code to the .htaccess file found in your Joomla root directory (where configuration.php file exists):

Code:
php_flag register_globals off


If your Joomla root directory does not already have .htaccess file, create one and put the above line of code to it.

_________________
http://designforjoomla.com/ - Visit now for:
- Professional Joomla templates
- Reliable Joomla extensions
- Joomla tutorials, tips and trick


Last edited by wood_flower on Tue Jul 10, 2007 5:28 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Tue Jul 10, 2007 5:40 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jul 10, 2007 5:03 pm
Posts: 7
Thanks Wood Flower .. Okay I did that .  But there is a lot of junk in that file .. do I leave all that in there??  I hope I put it in the right place. 

I even put a # infront of it and it still doesn't work.  I still get that error.

thanks
Sue :-[


Top
  E-mail  
 
Posted: Tue Jul 10, 2007 5:49 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jul 10, 2007 5:03 pm
Posts: 7
okay ..  my  mistake .. I was putting that in the htaccess.txt file ..  The htaccess file will not let me open it up ..  Now this is an install directly from my hosting control panel.  Since it wouldn't let me open that up, I put in a new one .. Now I can't even get to any of my pages at all.

I get this:  Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Sue >:(


Top
  E-mail  
 
Posted: Tue Jul 10, 2007 5:54 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Nov 30, 2005 3:33 pm
Posts: 324
Location: Hanoi, Vietnam
How about the content of the .htaccess file you created? Just the line of code i given or also the content from htaccess.txt file shipped with Joomla?

_________________
http://designforjoomla.com/ - Visit now for:
- Professional Joomla templates
- Reliable Joomla extensions
- Joomla tutorials, tips and trick


Top
  E-mail  
 
Posted: Tue Jul 10, 2007 6:07 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jul 10, 2007 5:03 pm
Posts: 7
okay.  I guess I'm not understanding this .  I uninstalled and reinstalled Joomla so that I would get the htaccess file it had in there.  I did get it to open and there was nothing there  :laugh: .. 

But when I put php_flag register_globals off  in the file and upload it, I get the internal error.  When I put the # before it, or take it out, I can get in the site but it still shows that I have it on even tho it's show off.

So am I to put the code you gave me:  php_flag register_globals off  in the htaccess file and the htaccess.txt file??  I'm not understanding. 

thanks
Sue ??? ???


Top
  E-mail  
 
Posted: Tue Jul 10, 2007 6:24 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Nov 30, 2005 3:33 pm
Posts: 324
Location: Hanoi, Vietnam
If you are using Apache 2 then you should visit the URL below and read the comment made by hbinduni at gmail dot com:

http://www.php.net/register_globals

_________________
http://designforjoomla.com/ - Visit now for:
- Professional Joomla templates
- Reliable Joomla extensions
- Joomla tutorials, tips and trick


Top
  E-mail  
 
Posted: Tue Jul 10, 2007 6:32 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Nov 30, 2005 3:33 pm
Posts: 324
Location: Hanoi, Vietnam
You should read also:

http://forum.mamboserver.com/showthread ... post128902

http://xoops.peak.ne.jp/md/d3forum/inde ... pic_id=571

_________________
http://designforjoomla.com/ - Visit now for:
- Professional Joomla templates
- Reliable Joomla extensions
- Joomla tutorials, tips and trick


Top
  E-mail  
 
Posted: Tue Jul 10, 2007 6:37 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jul 10, 2007 5:03 pm
Posts: 7
Well I will look at them but don't think they will do any good.  I don't understand what they are saying anyhow.  Guess I will either live with it the way it is or find another program to use.

Thanks for your quick response.

Sue
:pop


Top
  E-mail  
 
Posted: Sat Jul 14, 2007 3:29 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Feb 12, 2007 8:02 pm
Posts: 7
Sue,

I am dealing with this issue now. In laymen's terms... this has to do with a setting on your hosting server. You can do some work arounds (found on this forum) but they may not work. That is the boat I am in too. The best answer is to change hosting. There is a list of joomla hosts with correct server environments in the FAQ, but I will add the link since it takes alot of time to learn your way around this forum... Lots of variation in price and services, so you may want to look through them all.

http://forum.joomla.org/index.php/topic,6856.0.html

Hope this helps cut past all the steps and gets you to where you want to go...

Tracy  ;)


Top
   
 
Posted: Sat Jul 14, 2007 3:38 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jul 10, 2007 5:03 pm
Posts: 7
Thanks Tracy, but I have been with this hosting company as a reseller for almost 6 years.  The Joomla program came from the server in the first place.  Don't think I want to change hosting company ..

Sue
:pop


Top
  E-mail  
 
Posted: Sat Jul 14, 2007 9:11 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 12:38 am
Posts: 11196
Location: Sydney - Australia
WebDesigner wrote:
Thanks Tracy, but I have been with this hosting company as a reseller for almost 6 years.  The Joomla program came from the server in the first place.  Don't think I want to change hosting company ..

Sue
:pop

You might want to seriously consider it. A host that does not show, from their server settings that they care about security could have serious consequences to your business. But, it's your decision. All the best.

_________________
Brad Baker - Follow me on Twitter @xyzulu @rochenhost
http://www.rochen.com - Joomla! Hosting, the correct way.
http://www.joomlatutorials.com <-- Joomla Help
..somewhere in this hospital the anguished oink of a pig man cries out for help..


Top
  E-mail  
 
Posted: Sat Jul 14, 2007 9:21 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jul 10, 2007 5:03 pm
Posts: 7
hmmmm..  Didn't know any one said they didn't care about security ..  How did we get on the subject bashing my hosting company ..  I just wanted a way to show that the global setting was on OFF instead of ON.

Sue


Top
  E-mail  
 
Posted: Sat Jul 14, 2007 9:27 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 12:38 am
Posts: 11196
Location: Sydney - Australia
register_globals has been off by default in php4 for a long time. I'm not trying to bash your host, I don't even know who it is ;) however, I am trying to point out that a host that by default ignores the php authors when it comes to security settings is a bit of a worry. It's a serverwide security risk.

_________________
Brad Baker - Follow me on Twitter @xyzulu @rochenhost
http://www.rochen.com - Joomla! Hosting, the correct way.
http://www.joomlatutorials.com <-- Joomla Help
..somewhere in this hospital the anguished oink of a pig man cries out for help..


Top
  E-mail  
 
Posted: Tue Jul 17, 2007 3:29 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Feb 12, 2007 8:02 pm
Posts: 7
Thanks for confirming this decision. I signed up with a hosting company that claimed to be the #1 Joomla Host... NOT! Asked about the server setting and the support tech sent me that other hosting companies paid to be listed as a joomla host in the forum... This made me smile... Why? Because I have to migrate servers to get the server settings secure. My project is important (even if only in my own mind), and although pretty new to this, I want to protect it... Lesson learned: No one really cares about your project if you don't.

Have a good one..  ;D


Top
   
 
Posted: Tue Jul 17, 2007 5:53 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 12:38 am
Posts: 11196
Location: Sydney - Australia
teejay818 wrote:
.. the support tech sent me that other hosting companies paid to be listed as a joomla host in the forum...


Just to make sure no one is confused, no host pays Joomla to be listed on our forum in this thread: http://forum.joomla.org/index.php/topic,6856.0.html

I know that is probably not what you mean't but I am just making sure.

_________________
Brad Baker - Follow me on Twitter @xyzulu @rochenhost
http://www.rochen.com - Joomla! Hosting, the correct way.
http://www.joomlatutorials.com <-- Joomla Help
..somewhere in this hospital the anguished oink of a pig man cries out for help..


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group