Site Images Not Showing

correy.pierce
correy.pierce
@correypierce
11 years ago
7 posts
Just moving into JR5 from being a long time JR4 user. I am having an issue with all of my Profile images showing. The following are the supposed paths to the images but there are no such folders on the server (users,event or gallery). I did find the event and gallery photos on the server in the media folder so they did upload properly just not linking right on the pages. Any help would be greatly appreciated.

Profile Image

http://dakotaclassicmodtour.com/user/image/user_image/1/small/crop=auto

Event Image

http://dakotaclassicmodtour.com/event/image/event_image/1/large/crop=auto/_v=1390447631

Gallery Image

http://dakotaclassicmodtour.com/gallery/image/gallery_image/1/small/crop=auto/_v=1390452914
updated by @correypierce: 03/04/14 05:33:43PM
michael
@michael
11 years ago
7,800 posts
hosting company not Godaddy is it? seen that on another site on their servers that im trying to figure out why to currently.
correy.pierce
correy.pierce
@correypierce
11 years ago
7 posts
It is. I have hosted with them for 10 years with hardly any issues. Have a couple dozen domains I am thinking of moving into JR5 sites hopefully don't have to move them all to a new host.
brian
@brian
11 years ago
10,149 posts
The "the image cannot be displayed because it contains errors" usually indicates a very old version of GD or PHP. Can you confirm your PHP version?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
correy.pierce
correy.pierce
@correypierce
11 years ago
7 posts
PhP 5.4
brian
@brian
11 years ago
10,149 posts
correy.pierce:
PhP 5.4

Something is not configured correctly on your server - some things to check:

- Make sure PHP-GD is enabled in your PHP
- Make sure the system /tmp directory is writable by the web user (or whatever directory is defined in your php.ini)

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
correy.pierce
correy.pierce
@correypierce
11 years ago
7 posts
Checked the tmp directory and it is writeable, shows that GD is enabled. Another strangeness that I am guessing is related is that when trying to upload an image on a PC (usually use a Mac) I get the following "File has an invalid extension() - it should be one of png, gif, jpg, jpeg."
michael
@michael
11 years ago
7,800 posts
correy.pierce:...when trying to upload an image on a PC (usually use a Mac) I get the following "File has an invalid extension() - it should be one of png, gif, jpg, jpeg."

Best to ask different questions in a new thread. Makes it easier to read and answer.

What is the file name that you are trying to upload. does it end with .png .gif .jpg or .jpeg? because that is what the error is saying.
correy.pierce
correy.pierce
@correypierce
11 years ago
7 posts
Yes anything I have tried to uplaod are proper image files. Not really a different question as I would guess they are related since both deal with the same images, anything uploaded. That new error I noticed today while working on a PC.
brian
@brian
11 years ago
10,149 posts
correy.pierce:
Yes anything I have tried to uplaod are proper image files. Not really a different question as I would guess they are related since both deal with the same images, anything uploaded. That new error I noticed today while working on a PC.

There is definitely something that is configured incorrectly on your server - unfortunately it is hard to figure it out without having shell/root access directly to your server. Are you on a dedicated server and have that info? Or are you on Godaddy shared hosting?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michael
@michael
11 years ago
7,800 posts
Ive seen this issue with another user on godaddy server, here is what i get when I try to download the images:
(screenshots)

Would you please contact godddy and ask them to set the server to allow it to generate images that are readable by FTP and accessable via the web.
updated by @michael: 01/24/14 04:58:02PM
michael
@michael
11 years ago
7,800 posts
second screenshot
updated by @michael: 01/24/14 04:58:28PM
correy.pierce
correy.pierce
@correypierce
11 years ago
7 posts
I will contact them and try that. I am digging JR5 and if I can get the image and gallery thing working I see moving alot of my clients to JR5 based sites. Will keep posted. Thanks
brian
@brian
11 years ago
10,149 posts
correy.pierce:
I will contact them and try that. I am digging JR5 and if I can get the image and gallery thing working I see moving alot of my clients to JR5 based sites. Will keep posted. Thanks

Let us know how it goes - I can tell you from years of experience with Godaddy the following:

- how your server performs and the problems you might have are really "hit and miss" - we've had users on Godaddy for years with ZERO problems, and as soon as they move to a new server they have a ton of issues
- Godaddy dedicated servers are significantly better than their shared hosting
- Godaddy uses some custom setups on their servers that are used no where else (i.e. they developed them in house) - this includes things like .htaccess caching, which can be a real PITA when you're trying to get the bottom of why something doesn't work
- if you contact them for help they will always tell you everything is 100% good and fine on their end, and the problem lies with whatever you are doing.

So if you can, I would stay away from Godaddy for everything, but if you can't, try to get on a dedicated server plan from them where you have control over the server environment.

Avoid their shared hosting at all costs if you can help it. It is cheap for a reason.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
correy.pierce
correy.pierce
@correypierce
11 years ago
7 posts
Fixed the problem, moved the site away from godaddy. My JR4 sites always worked fine. Their support told me that files I specifically gave them ftp links to didnt actually exist on the server and that the htaccess was causing problems with data folder. So I simply moved to JBServers and everything is fine. Thanks for the help.
michael
@michael
11 years ago
7,800 posts
Great to hear you got it working. Sucks that that was the only solution.

Same solution in the other case too unfortunately.

Nice if it worked on all servers.

Tags