Joomla

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
red
Forum Newbie
Posts: 18
Joined: Fri Apr 06, 2007 1:27 am

Joomla

Post by red »

Hi,

I upload the file joomla in website .when i execute my joomla files in browser,I am getting a parse syntax error in by Globals1.php.

This is the code in 117 where a parse error is occured.

Code: Select all

foreach ($value as $ext => $value2)
{
	                $key2 = $key . '_' . $ext;
			$GLOBALS[$key2] = $value2;
		}
	}
}
if (RG_EMULATION == 0) {
	// force register_globals = off
	unregisterGlobals();	
} else if (ini_get('register_globals') == 0) {
	// php.ini has register_globals = off and emulate = on
	registerGlobals();
}

Please anyone can help me to solve this issue :?:[/syntax]
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

new thread on old topic, viewtopic.php?p=379557
Still the same error?
Begby
Forum Regular
Posts: 575
Joined: Wed Dec 13, 2006 10:28 am

Post by Begby »

There are a few extra '}' characters inside the foreach loop. Get rid of them.
red
Forum Newbie
Posts: 18
Joined: Fri Apr 06, 2007 1:27 am

Re: Joomla

Post by red »

volka wrote:new thread on old topic, viewtopic.php?p=379557
Still the same error?

Yes, i have same error
Post Reply