Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Ninja Lead Moderator
    #911035

    Hi,

    Using this way to solve the problem on your site

    Open templates/ja_teline_v/html/layouts/joomla/content/item/default.php file

    find and change

    $pos = strpos($item->text, $item->introtext);
        if ($pos !== false) {
            $item->text = substr_replace ($item->text, '', $pos, strlen($item->introtext));
        }

    to

    $pos = strpos(strip_tags($item->text), strip_tags($item->introtext));
        if ($pos !== false) {
            $item->text = substr_replace (strip_tags($item->text), '', $pos, strlen($item->introtext));
        }

    Hope it helps

    Regards

    mossaab Friend
    #911262

    Thank you Ninja Lead for your reply,
    i tried what you mention but i’m afraid that it didn’t work :/

    Ninja Lead Moderator
    #911996

    You can send me the login credentials of your site: URL, Admin & FTP access via PRIVATE reply. I will help you to check it directly.

    mossaab Friend
    #913353

    hello again Ninja Lead
    i go back to the website today and i found that the problem solved, it looks like your solution worked 😀
    http://www.lechevalarabe.ma/n_site/
    Regards

    Ninja Lead Moderator
    #913510

    Awesome! I’m glad you found the way out of it!

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

This topic contains 5 replies, has 2 voices, and was last updated by  Ninja Lead 8 years, 7 months ago.

The topic ‘Warning: strpos() [function.strpos FRONTPAGET ERROR MESSAGE’ is closed to new replies.