-
AuthorPosts
-
questbg Friend
questbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
October 15, 2008 at 4:59 am #134431Hi Everyone
This is a question for one of our French members, VictorTopper.
His site is currently under construction here:
http://www.mwinda.frAs 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
ChrisSherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 16, 2008 at 3:06 am #275534Hi 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 Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
October 16, 2008 at 4:28 am #275555Thanks hainn84, I will translate and e-mail him now and report back in this thread if Solved!
Chrisquestbg Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
October 16, 2008 at 8:54 am #275598Hi 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
ChrisSherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 17, 2008 at 3:49 am #275792Hi 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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 17, 2008 at 3:50 am #275795questbg ! please tell VictorTopper check html code of content and remove “<img ” tag on it .
questbg Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
October 17, 2008 at 4:48 am #275804Thanks hainn84 … I will translate your instructions and tell him to remove the image tag in the HTML.
October 18, 2008 at 2:04 am #275951Hi 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,
shambooOctober 18, 2008 at 11:19 am #275986I 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 Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
October 20, 2008 at 5:11 am #276172HI 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
ChrisPS. It’s also a problem naming image directories with capital letters in the /images folder as cgoran stated above!
October 20, 2008 at 9:38 am #276245Before 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?
-
AuthorPosts
This topic contains 12 replies, has 4 voices, and was last updated by Sherlock 16 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum