Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Moving MetatemplatePro to another...
Moving MetatemplatePro to another website
Moving MetatemplatePro to another website
After backup of joomla site from online server to localhost I get an error message on the front-end when running the joomla site on localhost:
Warning: Parameter 1 to plgMetatemplateExtendedrules::onProcessMetaTemplateRule() expected to be a reference, value given in /opt/lampp/htdocs/web2010/libraries/joomla/event/event.php on line 67
Pluginn seems to be working alright in the administrator backend. Rules copied with the joomla tables alright.
I have looked in the joomla tables for a parameter to change and in the forums for similar subjects and found no information relating to this case. Can you please help.
Thanks
MetatemplatePro version 1.4
21-Jun-10 13:42:14
Re: Moving MetatemplatePro to another website
Hi fghoche,
This problem has been reported a couple of times, and seems to be related to either the user of PHP4, or possibly just different error reporting on different servers - I'm not 100% sure which.
I have a fix for it in MetaTemplatePro v1.5Beta but that's not released yet...
If you are comfortable with editing a file in a Joomla component you can make this change yourself, pending the next release:
Find the file components/com_metatemplate/helper.php, line 405:
$extra_rules = $app->triggerEvent('onProcessMetaTemplateRule', array( $args ) );
Change the line to this, simply adding the "&" before "$args":
$extra_rules = $app->triggerEvent('onProcessMetaTemplateRule', array( &$args ) );
That should fix it. As I said, this will be fixed in the next release.
Hope that helps, and sorry for the inconvenience,
Stephen
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Moving MetatemplatePro to another...
Board Info
- Board Stats:
- Total Topics:
- 1699
- Total Polls:
- 6
- Total Posts:
- 5967
- Total Posts Today:
- 2
- User Info:
- Total Users:
- 8025
- Newest User:
- chavez1304
- Members Online:
- 2
- Guests Online:
- 136
- Online:
- chavez1304, dianegreen9
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked