Page 1 of 1

Joomla

Posted: Wed May 16, 2007 7:24 am
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]

Posted: Wed May 16, 2007 7:56 am
by volka
new thread on old topic, viewtopic.php?p=379557
Still the same error?

Posted: Wed May 16, 2007 10:56 am
by Begby
There are a few extra '}' characters inside the foreach loop. Get rid of them.

Re: Joomla

Posted: Thu May 17, 2007 6:32 am
by red
volka wrote:new thread on old topic, viewtopic.php?p=379557
Still the same error?

Yes, i have same error