Viewing 4 posts - 31 through 34 (of 34 total)
  • Author
    Posts
  • HeR0 Friend
    #471509

    Hi Stevens1
    – Edit all file jaimage.php to correct. You should use search function of OS to find this file in modules folder.
    – Clean all cache

    stevens1 Friend
    #472824

    Hi HeR0,
    Thank you for your advice.
    I’ve been fixing and testing, but the issue is still on the website.
    I’ve attache the latest article that has issue.
    http://www.sandiegoyuyu.com/

    I changed all the jaimage.php file and cleared the cache, but it still shows 2nd or the last image not the first image.

    Please give me advice.

    Thank you for your time.


    1. Screen-Shot-2012-11-13-at-2.32.49-PM
    2. Screen-Shot-2012-11-13-at-2.32.34-PM
    HeR0 Friend
    #472837

    Hi stevens1,

    I open file modules/mod_ja_newsfeatured/helpers/helper.php and go to line $jaImage = new JAImage; and add the following code:

    try {
    $ref = new ReflectionClass('JAImage');
    } catch (LogicException $Exception) {
    die('Not gonna make it in here...');
    } catch (ReflectionException $Exception) {
    die('Your class does not exist!');
    }
    die ($ref->getFileName());

    Then you clean all cache, go to front end and press F5 for getting the file path you is missing to update.

    Once done, you restore helper.php file . Hope that can help you resolve this issue.

    Regards,

    navmeet Friend
    #472850

    <em>@dieudonne 342493 wrote:</em><blockquote>Hello,
    in conclusion, if someone have this bug, you must change the code in these 2 files :

    modules/mod_janews_featured/helpers/jaimage.php
    modules/mod_jabulletin/jaimage.php

    $text .= (isset($row->fulltext))?$row->fulltext:'';
    $text .= (isset($row->introtext))?$row->introtext:'';

    ‘ll be replaced by

    $text .= (isset($row->introtext))?$row->introtext:'';
    $text .= (isset($row->fulltext))?$row->fulltext:'';

    Thank to HeRO for his great help.</blockquote>

    This worked for me.. :laugh:
    Thanks dieudonne

Viewing 4 posts - 31 through 34 (of 34 total)

This topic contains 34 replies, has 6 voices, and was last updated by  navmeet 12 years ago.

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