Hi,
I've just updated my version of imce for 5 and I no longer have an image link below the body of my node. I'd been uploading fine previously using the image link (there was also a link link below that I couldn't figure out why it suddenly showed up).
At the bottom of the view source page for the node I do see this:
var imceBrowserURL = "/imce/browse";Is this supposed to create the image link to imce? I do have the closure tag located at the bottom of my page.tpl.php page and the module was working.
Quick question, the folders created for each user, u1 u2, etc, are they browsable by all users? I was hoping that each user could only browse their directory but wasn't sure.
Thanks for any suggestions to turning the image link back on.
lsabug
Comments
Comment #1
ufku commentedif there was an update for a javascript file, you should clean the browser cache to load the new one or just reload the page.
a user directory is browsable by its owner and by users having a higher directory setting with subfolder navigation permission (these should be usually admins).
Comment #2
lias commentedThanks for the reply. I tried clearing browser cache, drupal cache but IMCE image link didn't reappear until I disabled fckeditor. Then when I tried uploading an image into my old directory IMCE couldn't find the uploads folder:
Directory error! - /home/domain/files/uplds
I looked at the source in a previously uploaded node and it looks like this:
a href="javascript: imceFinitor('/system/files/uplds/blog_icon.gif', 75, 75)"><img width="75" height="75" alt="" src="../../../../system/files/uplds/blog_icon.gif" />/aMy file path is above root here:
/home/domain/files
and I added the uplds folder directory in IMCE so that all user files would be created in u1, u2 etc directories. I tried adding a / to the end of my foldername for IMCE but it still couldn't find the directory, returning the same error.
lsabug
Comment #3
ufku commentedif /home/domain/files/uplds directory exists it is probably not writable.
if it doesnt exist /home/domain/files is probably not writable.
do you see any related record in watchdog?
Comment #4
lias commentedThanks for your reply. It is indeed writeable. I've got the directory set to 777 and have used image module to test out the permissions and can upload fine. I did have a "The directory /home/domain/files/uplds is not writable, because it does not have the correct permissions set." error which made no sense because like I mentioned the directory was at 777. I did contact my hosting provider and they were at a loss because they confirmed that this was the case.
Hmmm? I was also having a directory/path issue with node images module, it could never figure out where the directory was. I'm wondering if it's the way the modules build the path?
Comment #5
ufku commented