• Before upgrading to 2.0 I was successfully using WordPress in PHP safe mode. Everything worked well, including maintaining a cache in the wp-content directory using the “Staticize Reloaded” plug-in.

    I upgraded to 2.0 and found that some of the new functionality was broken under safe mode. For example, I couldn’t use the new image upload feature, and the automatic object cache didn’t seem to work properly either.

    So I have temporarily turned off safe mode.

    Does anyone have any suggestions for how I could get the new features to work and keep safe mode enabled? I tried playing with the ownership and permissions on the wp-content dir (and subdirs) but had no success. The main problem seems to be that even if I make the wp-content dir world-writeable (777) any subdirectories created by WordPress end up being owned by the same user:group under which Apache is running, and then WordPress can’t created subdirectories/files in the subdirectories.

    Advice? Ideas?

Viewing 6 replies - 16 through 21 (of 21 total)
  • I did that. I set chmod to 766, but admin panel still doesn’t think it’s writable.

    <blockquoute>Unable to create directory /srv/www/htdocs/web335/html/uwg/wp-content/uploads/2005/12. Is /srv/www/htdocs/web335/html/uwg/wp-content/uploads/2005 writable?

    /uploads/12 exists and is writable, but nobody is listening to me.

    Maybe, I’m just barking stupid, but I’m shure very depressed.

    Thread Starter gregh

    (@gregh)

    I don’t think “wp-content/2005/12” exists, seeing as WordPress is trying to create it. It wouldn’t try if it already existed. You have to create it and upload it yourself. And it needs permissions of 777 or the Apache process won’t be able to write to it.

    And now we are entering a philosophical debate:

    I can see it, but does it exist?
    What is factual? Is my perception related to any outside reality at all? Has the possibility of script malfunction become a concept totally beyond a programmers comprehension?

    Questions over questions…

    Thread Starter gregh

    (@gregh)

    A few points:

    1. I am not interested in philosophy.
    2. I am not a WordPress programmer; I’m a WordPress user.
    3. You claim to have created uploads/12; you were supposed to create uploads/2005/12 (etc).
    4. If you had read the thread you’d realise that you need to set permissions to 777 on all those directories, not 766 (why did you choose 766 anyway?).
    5. Your attitude is extremely annoying.

    Thank you.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Safe Mode (1.5 vs 2.0)’ is closed to new replies.