arminbw
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: image upload problem – parent directory writeableSorry, I can´t give any step-by-step instructions, because this really depends on the configuration of the server you are using. Safe_mode is an more or less outdated security feature of php. And things like disabling php safe_mode, installing fast_cgi or changing user-groups can only be done by the administrator of the server.
I guess the work-around you used (granting every user on the server read, write and execute permissions) is the simplest way to get things working. But beware! The next month wordpress may fail creating a 07 folder. In this case disabling the “organize my uploads…” checkbox in WordPress would be necessary.
To check if safe_mode is turned on you could write a small text-file containing the following lines:
<?php phpinfo(); ?>Name it phptest.php, upload it to your server and run the script by using your browser. Then search for the term “safe”.
Armin
Forum: Fixing WordPress
In reply to: Image upload with php safe mode offThere can be issues if the apache-user (not “your” user) is interpreting the php scripts while safe_mode is turned on (I tried to explain that here: 180378).
If you can´t turn php-mode off you have to change the owner of your php-files OR you have to change the write/execute-permissions of your upload folders (and all of it´s subfolders).
Armin
P.S.: php6 won´t feature safe_mode any more.
Forum: Plugins
In reply to: question: image idWriting a plugin to get my own “the_content” was something I was thinking of, but I now decided to stay as much as possible in the theme-layer.
Without giving every image it´s own id, I am now using getElementById combined with getElementByTagName in a very very tiny javascript
(And yes, jQuery might be the modern way to do this).Thank´s for your hints!
ArminForum: Fixing WordPress
In reply to: restrict access level to specific post or pageSimilar question.
Of course WordPress is a blogging tool, not a fullgrown CMS, but the need to restrict certain content to certain visitors seems to be a very common thing. And I do agree that the password protection, as it is currently implemented, doesn´t do it´s job very well (see: http://wordpress.org/support/topic/180743 ), while “roles” and “security levels” weren´t really designed for assigning specific read-permissions.Armin
In my case turning php safe mode off helped. Check: http://wordpress.org/support/topic/180378
Forum: Fixing WordPress
In reply to: Unable to create directoryJust two notes:
1. if php safe mode is turned on, changing ownership will not help, if you want to use “organize my uploads into month- and year-based folders”. See: http://wordpress.org/support/topic/180378
2. if apache (or www-data) is owning your upload folder, does it really increase security? What about other users writing php code?
G,
ArminForum: Fixing WordPress
In reply to: Can’t Upload Images to DirectoryCheck this: http://wordpress.org/support/topic/180378
Check this: http://wordpress.org/support/topic/180378
Forum: Fixing WordPress
In reply to: Unable to create directoryIt´s seems to be an ownership problem.
Check this: http://wordpress.org/support/topic/180378Forum: Fixing WordPress
In reply to: After upgrade unable to attach pics – Unable to create directoryForum: Fixing WordPress
In reply to: Image Upload problem – Unable to create directoryIs php save mode turned off?
Check: http://wordpress.org/support/topic/180378G,
ArminForum: Fixing WordPress
In reply to: Another upload problemIn my case deactivating php safe mode resolved this issue.
Check: http://wordpress.org/support/topic/180378G,
ArminForum: Requests and Feedback
In reply to: content of password protected pages and posts gets searchedFound an ancient and closed ticket: http://trac.wordpress.org/ticket/3317
Forum: Requests and Feedback
In reply to: content of password protected pages and posts gets searchedIf I upload an image named “example.jpg” and put it into my password protected page, a search for “example.jpg” will bring up the page too.
Forum: Fixing WordPress
In reply to: Upload Images – Impossible