How do I clear the "Default Image Path" in the Image module? I keep getting the following error message

The directory /srv/www/htdocs/sites/default///srv/www/htdocs/sites/all/images does not exist.
The settings have not been saved because of the errors.

Even though I'm only entering image as the path for the location of the images.

Help Help

Comments

joachim’s picture

I think that's a bug in core I encountered.
Go to core files settings first, so Drupal creates the files directory.

rocketboy37’s picture

The directory /srv/www/htdocs/sites/default//srv/www/htdocs/sites/all/images does not exist.
The settings have not been saved because of the errors.

I went to the file system core and saved the settings as:

/srv/www/htdocs/sites/default/

Then I went to images setting to setup the default path as:

images

I keep getting the error above, is this setting somehow saved in a file, I already went to database and couldn't find anything referring to the default path.

joachim’s picture

You're meant to only give paths relative to Drupal root.
So core files setting: "sites/default/files"
Image setting: "images".

rocketboy37’s picture

I have tried the following in image path and file system:

/srv/www/htdocs/sites/default/images
/htdocs/sites/default/images
/sites/default/images
/default/images
/images
images

I also tried all these combinations on the "all" folder, no go.

The file system will only accept the following:
/srv/www/htdocs/sites/default

At this point would it be better to just un-install the "image" module and re-install? I'm seriously reconsidering rebuilding the entire box. I'm about to change the group and user ownership of the image folder to "www" group and "wwwrun" as user.

Now it seems my cron for updating the Drupal site has taken dump as well. Please help.

I'm know started by any means but I had no idea this program could give me so many problems when all I have heard is praise and how easy it is to setup. I should of had this done 2 weeks ago but this problem is really a royal pain in the ass.

joachim’s picture

I don't understand at all. The setting at /admin/settings/file-system on my site: "sites/default/files". That's the default. If that's not working, something is wrong. What error message do you get when you try that?
What about using devel module to wipe that variable and get the default back?