test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • hexagon Friend
    #135372

    Hi,

    I have recently done a fresh install of Avain Quickstart. When I try to use the public login function in any way I get the following error:

    Fatal error: Call to undefined function: stripos() in /share/storage/02/ja/jamespaul/joomla/libraries/joomla/environment/uri.php on line 675

    I would be very welcome for some feedback on this.

    Regards

    James

    bennitos Friend
    #279272

    Your server/host seem to be running on php4 and this seems to cause the problem.

    Best is to upgrade to php5 but most likely thats not possible at your host.

    to fix:

    open the file /libraries/joomla/utilities/compat/php50x.php

    and add the following code to it:


    if(!function_exists('stripos')) {
    function stripos($haystack, $needle, $offset = 0) {
    return strpos(strtolower($haystack), strtolower($needle), $offset);
    }
    }

    remember to always make backups.

    hexagon Friend
    #279288

    Thanks so much!

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

This topic contains 3 replies, has 2 voices, and was last updated by  hexagon 16 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum