Hi I strongly need an advice from drupal community. My website went into a 500 internal server error, my hosting told me that it will be fix after 15-30 mins. After an hour my site is back but some images are not appearing. Images from user pictures, photos module, curly pages, are not appearing. I notice that these are all under sites/default/files. I dont know if this internal server error made changes with my database.

I already tried clearing drupal cache, and clearing my browser's cache and nothing happened.

I also did submit a ticket on my web hosting co., I'm still waiting for their reply, but I guess I would like to try asking here, I know there are lots of members here with a better experience regarding this matter.

Oh, another thing my phpfreechat was not loading and my favicon icon was changed to my hosting's favicon.

Thanks!

Comments

mikeb’s picture

Do you have access to the file browser for your site? Can you see the images in /sites/default/files directory? Maybe you just need to wait until your host support makes sure the server is running again ok.

harrisben’s picture

I am having a similar problem, which coincidentally begang today, and would be interested to know if your problem is also that nothing in /sites/default/files/ can be accessed. I can see everything under /sites/default/files/ via ftp, but no luck when viewing the site.

http://drupal.org/node/702048#comment-2547610 is my post.

Mackee’s picture

The chat support told me that the server is already fix. I reported this error and they just told me to submit a ticket.

Yes I could access the files via ftp, even tried downloading the file... But i cannot access the images through browsers.

I'm not sure if we could name the hosting co. but can i ask harrisben what is his hosting co? I'm using hostmonster, if you're using it too, I'm sure this is a problem with hostmonster... I have no problem with my theme, I guess its because I have my theme under /themes folder with the default themes like garland, etc, not on /sites folder.

Thanks for the quick reply guys! c:

harrisben’s picture

I'm with Bluehost and since a Wordpress site I host on the same account is working perfectly I presume it isn't my host.

I should clarify that the only reason I was having a problem with my theme was because I had css and javascript compression on (which stores the files in /sites/default/files/css/ and /sites/default/files/js/ respectively). As soon as I turned compression off my theme displayed.

I still have the problem that any reference to files located in /sites/default/files/ cannot be accessed when viewing the site, which of course is practivally every image and some random css and javascript.

Mackee’s picture

To my knowledge bluehost and hostmonster are of the same company... It might be that they're sharing hosting... Not sure though.

podo’s picture

I have similar problem. The "Unable to locate image sites/default/files/" message is appearing and I can't publish pictures, uploaded earlier. I have cleaned the drupal cache, the brouser cache as well. The same result. I can find each pictures in the "sites/default/files/" folder, but I can't reach them through the browser. I am still on a localhost and tended to load the site on my web hosting today, but as seems I will delay it. If someone finds decision, please share it. Thanks!

harrisben’s picture

Heya Podo, are you saying that you're experiencing the same issue that we are but the site is still hosted on a local machine? Can you please clarify for us?

podo’s picture

Yes, that's right! The site is still on a local machine!

harrisben’s picture

Ah, in that case it's possible that the problem is not to do with hosting.

podo’s picture

I think so! Perhaps is an internal module error, I have no idea!

harrisben’s picture

I have posted at http://drupal.org/node/702048 concerning the solution.

estum’s picture

I have same problem. Trouble was simple: i have permisson 0544 on directory /sites/default. I changed it to 0755 and /sites/default/files began to work. :)

Thambos’s picture

Like the OP I am new to Drupal too. Where would I change these permissions? I've looked in a settings.php and the .htaccess but I can't find what I'm supposed to edit, if this is even a change within a file. Any help would be appreciated, thanks.

nofue’s picture

Maybe .htaccess in your files directory should be checked.

Norbert

-- form follows function