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
red
Forum Newbie
Posts: 18 Joined: Fri Apr 06, 2007 1:27 am
Post
by red » Wed May 16, 2007 7:24 am
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]
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Wed May 16, 2007 7:56 am
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 » Wed May 16, 2007 10:56 am
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
Post
by red » Thu May 17, 2007 6:32 am