test
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • questbg Friend
    #134431

    Hi Everyone

    This is a question for one of our French members, VictorTopper.

    His site is currently under construction here:
    http://www.mwinda.fr

    As you can see, the FrontPage module is not inserting images, but pulling a lot of error messages:

    Does anybody know what the problem is and I’ll translate to French for him!

    Thanks
    Chris

    Sherlock Friend
    #275534

    Hi questbg !
    please tell VictorTopper that : he must change permission of images folder and subfolder of it , change permission of it to “755” or “777”.

    questbg Friend
    #275555

    Thanks hainn84, I will translate and e-mail him now and report back in this thread if Solved!
    Chris

    questbg Friend
    #275598

    Hi hainn 84

    I sent your advice to Victor and he replies with:

    “Je suis convaincu qu’il y a un problème de droit sur le dossier image, mais je ne sais quel droit lui mettre. J’ai essayé 755 ou 777 c’est la même chose. alors je ne sais plus”

    He is also convinced that the problem is with access priviliges for the images folder, however, he has already tried 755 and 777 and the same problem occurs with both. Now he has no idea what to try?

    Any ideas for him?
    Thanks
    Chris

    Sherlock Friend
    #275792

    Hi questbg !
    i seems have detected the problem ! i try to go url of image and it does’t exist !

    http://www.mwinda.fr/images/stories/impfondo05.jpg

    i think that VictorTopper have add to content a image , what doesn’t exist , so it doesn’t display in backend editor and in frontend. JA news FP get the image tag and resize it, but can’t find the file ( becauce , it doesn’t exist ) so ja news FP have displayed the obove error.

    Sherlock Friend
    #275795

    questbg ! please tell VictorTopper check html code of content and remove “<img ” tag on it .

    questbg Friend
    #275804

    Thanks hainn84 … I will translate your instructions and tell him to remove the image tag in the HTML.

    shamboo Friend
    #275951

    Hi got that same problem just now and fixed it,
    The problem is in the helper.php file,
    Dont know why but the code there uses these lines:
    73 $image=strtolower($image);
    74 $sizeThumb = getimagesize(JPATH_SITE.’/’.$image);

    which means if the image name is in uppercase it will not be found on the server …..

    So to fix the problem – tested on my testingSite i removed line 73.
    now my testing site is working fine – should see what Joomlart Dev say for this
    cause just taking out lines from somebody else code could be dangerous …

    Any way too me it seems to be a bug.
    So if its urgent to you just remove the line with “$image=strtolower($image);”
    at the modules/mod_janews/helper.php.

    Thanks,
    shamboo

    cgoran Friend
    #275986

    I was having just the same kind of problem on http://www.krivapalanka.info

    Some of folders where I put pictures were having KAPITAL letters.

    I have solved the problem by changing the names of folders and pictures with small letters only.

    Problem resolved.

    questbg Friend
    #276172

    HI hainn 84

    <em>@hainn84 86493 wrote:</em><blockquote>Hi questbg !
    i seems have detected the problem ! i try to go url of image and it does’t exist ! JA news FP get the image tag and resize it, but can’t find the file ( becauce , it doesn’t exist ) so ja news FP have displayed the obove error.</blockquote>

    Yes, that was the problem. He’s relocated all the files and folders into the main /images folder and everything is working fine now!

    Please mark as ‘solved’

    Many Thanks
    Chris

    PS. It’s also a problem naming image directories with capital letters in the /images folder as cgoran stated above!

    shamboo Friend
    #276245

    Before marking as solved – it seems we have got 2 kind of errors here:
    1. Bad image path because of some user error.
    2. Good image path that uses higher and lower case letters – which causes the problem because the code in the helper file searches only for low case letters – see my suggested fix above.

    So before marking as resolved can some one from Joomlart put this into the next version of ja_news module?

    Sherlock Friend
    #276355

    thanks shamboo !
    We got the problem and update it in new version of teline ii , thanks for report ! 😉

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

This topic contains 12 replies, has 4 voices, and was last updated by  Sherlock 16 years, 2 months ago.

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