Closed (fixed)
Project:
FCKeditor - WYSIWYG HTML editor
Version:
6.x-2.0-rc2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2009 at 22:29 UTC
Updated:
2 Feb 2010 at 17:38 UTC
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)
| Comment | File | Size | Author |
|---|---|---|---|
| fckeditor1.png | 17 KB | Ole Martin |
Comments
Comment #1
Ole Martin commentedAfter 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?
Comment #2
Jorrit commentedTry to empty the contents of the .htaccess file.
Comment #3
Ole Martin commentedHi.
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
Comment #4
Jorrit commentedPlease take a look in the Apache error log to see what the exact error is.
Comment #5
Ole Martin commentedI chose to switch host. Better to use one that I know works
Thanks anyway
And happy new year!
Comment #6
digitalguerrilla commentedAfter 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.
Comment #7
Jorrit commentedDo 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?
Comment #8
digitalguerrilla commentedImage 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
Comment #9
Jorrit commentedWhat 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?
Comment #10
digitalguerrilla commentedsettings 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
Comment #11
digitalguerrilla commentedFixed. The problem was that Hot Link Protection was disabled in cpanel. Alls work swell now. Tx Jorrit!
Comment #12
Jorrit commentedThat's good news