Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » Parse error: syntax error, unexpected...
Parse error: syntax error, unexpected '=', expecting ')' on line 566
Parse error: syntax error, unexpected '=', expecting ')' on line 566
Hey !
Metamod was exactly what I needed for my website : a module that can identify the author of the article and display a "WHO IS HE"...
Works great on local but since I uploaded my joomla site on the web hosting service, I got this message :
Parse error: syntax error, unexpected '=', expecting ')' in /.../modules/mod_metamod/helper.php on line 566
The incriminated lines seems to be :
Code:
function displayModules(&$all_mod_array, &$params, $attribs = array(), &$changeCache = null) {
if (is_array($all_mod_array) && count($all_mod_array)) {
$app =& JFactory::getApplication();
$db =& JFactory::getDBO();
$user =& JFactory::getUser();
$aid = $user->get('aid', 0);
$quoted_mod_identifiers = modMetaModHelper::quotedEscapedListFromModuleArray( $db, $all_mod_array );
However, I am not a php pro... i fact I don't know anything...
So... If you can help me out on this one, it would be great.
I still can disable the module, but it would be a pity...
Thanks
Vinny
Re: Parse error: syntax error, unexpected '=', expecting ')' on line 566
http://www.metamodpro.com/forums/topic?id=76
Read the first answer, I have the same problem. Not yet solved, though.
Re: Parse error: syntax error, unexpected '=', expecting ')' on line 566
Hi Vinny,
yes, it's the same issue. In the last release of MetaMod I unwittingly put in some code that is specific to PHP5. My main testing machine is now PHP5 so I didn't notice it. I'll be releasing an update without this problem on Monday.
Sorry!
Stephen
Re: Parse error: syntax error, unexpected '=', expecting ')' on line 566
MetaMod 2.2 has been released, which is now PHP4 compatible again.
http://www.metamodpro.com/get-started/download
Have fun!
- Index
- » MetaMod
- » MetaMod General Support
- » Parse error: syntax error, unexpected...
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5943
- Posts this week:
- 2
- User Info:
- Total Users:
- 7642
- Newest User:
- mary26
- Members Online:
- 0
- Guests Online:
- 162
- Online:
- There are no members online
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked