-
AuthorPosts
-
October 19, 2010 at 9:45 am #155417
I just installed Ja rasite quickstart and got a lot of errors on first page only in joomla.
Warning: Parameter 1 to plgContentJA_tabs::onPrepareContent() expected to be a reference, value given in C:xampphtdocsdavka2librariesjoomlaeventevent.php on line 67
This is just one line, I am attaching link from imageshack with print screened image of it :
http://img185.imageshack.us/f/printscreenb.jpg/
Really don’t know why so much errors :/
p.s
here is line 67 from my event.php file :
if (method_exists($this, $event)) {
return call_user_func_array ( array($this, $event), $args );
} else {
return null;
}Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
October 19, 2010 at 10:01 am #359516You’ll find that almost any PHP script will throw up errors and usually we suppress them onmost live servers. Xampp has notices turned on by default so you will see everything. In this case I beleive the error is due to the version of PHP you are running ( 5.3.x?) which has had some changes in the way it deals with references since 5.2.x. Please see the PHP documentation for more details.
Try changing $args to &$args
1 user says Thank You to Phill for this useful post
November 24, 2010 at 4:06 am #364030<em>@zzdravev 199181 wrote:</em><blockquote>I just installed Ja rasite quickstart and got a lot of errors on first page only in joomla.
Warning: Parameter 1 to plgContentJA_tabs::onPrepareContent() expected to be a reference, value given in C:xampphtdocsdavka2librariesjoomlaeventevent.php on line 67
This is just one line, I am attaching link from imageshack with print screened image of it :
http://img185.imageshack.us/f/printscreenb.jpg/
Really don’t know why so much errors :/
p.s
here is line 67 from my event.php file :
if (method_exists($this, $event)) {
return call_user_func_array ( array($this, $event), $args );
} else {
return null;
}</blockquote>hi. im having the same problem….have you found a solution..?.pls help me..
Don Lee FriendDon Lee
- Join date:
- March 2010
- Posts:
- 923
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 41
- Thanked:
- 274 times in 238 posts
November 24, 2010 at 8:52 am #364068<em>@priyanth 205029 wrote:</em><blockquote>hi. im having the same problem….have you found a solution..?.pls help me..</blockquote>
Hi,
Did you try to apply Phill’s solution in the earlier post?thuanlq Friendthuanlq
- Join date:
- October 2010
- Posts:
- 528
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 8
- Thanked:
- 121 times in 99 posts
November 24, 2010 at 8:59 am #364070Hi,
If you are using XAMPP and getting any such error in your Joomla website,
Warning: Parameter 1 to plgContentJA_tabs::onPrepareContent() expected to be a reference, value given in C:xampphtdocsdavka2librariesjoomlaeventevent.php on line 67
This means that you are using XAMPP 1.7.2 that contains PHP 5.3.0. At present Joomla! is not certified to work with PHP 5.3.0. You have to use a lesser version of PHP (e.g., PHP 5.2.9). So, uninstall the current version of 1.7.2.
Download XAMPP 1.7.1 from http://sourceforge.net/projects/xampp/files/ and install it. It should solve your problem.
November 24, 2010 at 1:26 pm #364124<em>@thuanlq 205074 wrote:</em><blockquote>Hi,
If you are using XAMPP and getting any such error in your Joomla website,
Warning: Parameter 1 to plgContentJA_tabs::onPrepareContent() expected to be a reference, value given in C:xampphtdocsdavka2librariesjoomlaeventevent.php on line 67
This means that you are using XAMPP 1.7.2 that contains PHP 5.3.0. At present Joomla! is not certified to work with PHP 5.3.0. You have to use a lesser version of PHP (e.g., PHP 5.2.9). So, uninstall the current version of 1.7.2.
Download XAMPP 1.7.1 from http://sourceforge.net/projects/xampp/files/ and install it. It should solve your problem.</blockquote>
this is great……!! it works… thank you guys…..
in fact i was using WAMPserver 2.0i which had PHP 5.3.0 therefore i switched to WAMPserver 2.0h with PHP 5.2.9.
-
AuthorPosts
This topic contains 6 replies, has 5 voices, and was last updated by priyanth 14 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum