Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • zzdravev Friend
    #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 Moderator
    #359516

    You’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

    priyanth Friend
    #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 Friend
    #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 Friend
    #364070

    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.

    priyanth Friend
    #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.

Viewing 6 posts - 1 through 6 (of 6 total)

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