I working with a site and suddenly I seen that the images are not longer shown in fckeditor, or in my nodes. Difficult to explain. My code: <input type="image" src="/sites/default/files/imagecache_sample.png" width="1180" height="1350" /> and see my attached file.
I use "Full html" and all directories have cmod 755.
What have gone wrong. I use Imce, and I have around 20 sites with out problems.( with FckEditor + Imce)

CommentFileSizeAuthor
fckeditor1.png17 KBOle Martin

Comments

Ole Martin’s picture

After much searching, I found the problem. The server to my web provider gives a "500 server error" with .htaccess active. And in "files" directory, there was such a file. Open it and delete the contents. Can not delete it, because Drupal will make a new file. So now I have to talk to my host provider. But anyone here know why I get "500 server error" with .htaccess active?

Jorrit’s picture

Try to empty the contents of the .htaccess file.

Ole Martin’s picture

Hi.
I did.
But is not the content of .htaccess for protection of the installation?.
I got the host to customize it, but we decided still to switch to another host we know of.

But there may be others who need this information, so it'd be nice to get a clarification regarding the safety and. Htaccess

Jorrit’s picture

Status: Active » Postponed (maintainer needs more info)

Please take a look in the Apache error log to see what the exact error is.

Ole Martin’s picture

I chose to switch host. Better to use one that I know works
Thanks anyway
And happy new year!

digitalguerrilla’s picture

After making the upgrade to 6.x-2.0 nodes lost access to all images in sites/default/files/images folder. All my galleries are image-less. Tried restoring backup but no change, images were still not showing. Changing or deleting the .htaccess file wouldn't take effect.

Jorrit’s picture

Do you have private downloads enabled?

What are your directory settings in your Global profile?

Could you give an exact path of one of the broken images?

digitalguerrilla’s picture

Image file settings
Default image path: images
From within the directory sites/default/files

All the images are there in there.

Inside sites/default/files there is a .htaccess file that Im unable to change or delete

FCKeditor Global profile
Advanced settings
Path to FCKeditor: /sites/all/modules/fckeditor/fckeditor
Local path to FCKeditor: sites/all/modules/fckeditor/fckeditor

File system path: sites/default/files

An exact path of one of the broken images:
/sites/default/files/images/Supreme-Package.thumbnail_0.jpg

The images are there and the browser is writing the tags with correct paths. I looks as if access to images are being blocked by the unchangeable .htaccess

Jorrit’s picture

What are your settings on the File system screen (admin/settings/file-system)

What kind of page do you see when you browse directly to the image?

digitalguerrilla’s picture

settings on the File system screen: File system path: sites/default/files

When browse directly to the image I see: The requested page could not be found.

Download method: Public - files are available using HTTP directly is selected

Also inside sites/default/files i removed everthing from the .htaccess file - still no images from: sites/default/files

This is a views listing of images. http://staging.ultimatesounddjs.com/profiles/usdjs

digitalguerrilla’s picture

Fixed. The problem was that Hot Link Protection was disabled in cpanel. Alls work swell now. Tx Jorrit!

Jorrit’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

That's good news