meridimus
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Thumbnails with wrong CHMOD PermissionHello again! Chris recently emailed me with a comment, my script doesn’t scan sub-directories and fix the issue as well. Sorry about this, I could add this in but the next version of wp is bound to fix this highlighted problem and sadly I do not have enough time. Instead, please just drag the script in the sub-directories and run it from there.
Forum: Fixing WordPress
In reply to: Thumbnails with wrong CHMOD PermissionI made the whole thing better and posted it in a zip file on my website, you can get it here: WordPress Eats Thumbnails
Forum: Fixing WordPress
In reply to: Permissions on thumbnail vs. normal imageThere is a file you can download from my website that fixes the problem: WordPress Eats Thumbnails
Forum: Fixing WordPress
In reply to: Thumbnails with wrong CHMOD PermissionObviously you have to run the code by pointing your browser to http://www.yourdomain.com/wp-content/uploads/whatever-you-want.php just make sure you point to the right place.
Forum: Fixing WordPress
In reply to: Thumbnails with wrong CHMOD PermissionThis is what you need to do to get permission back, create a file called whatever-you-want.php in the same folder as all the thumbnails and copy this code into it:
<?php // Note that !== did not exist until 4.0.0-RC2 if ($handle = opendir('./')) { echo "Directory handle: $handle\n"; echo "Files:\n"; /* This is the correct way to loop over the directory. */ while (false !== ($file = readdir($handle))) { if(chmod($file, 0755)) echo "\n".$file." - CHMOD to 0755 a success<br/>"; else echo "\n".$file." - CHMOD to 0755 a failiure<br/>"; } closedir($handle); } ?>It’s a bit of a fudge but it works! I just wrote it, change 0755 to whatever permissions you want to set. Good luck!
Forum: Fixing WordPress
In reply to: Thumbnails with wrong CHMOD PermissionThis is really annoying me as well, It’s time sensitive as my host will be deleted my account shortly as I’ve just moved to a new server. Main images backup fine, thumbnails “Permission Denied” even inside Plesk!
Forum: Fixing WordPress
In reply to: WordPress is taking over 3 seconds to parse!Also, to note that 1 query in MySQL running on my local machine performs in 0.0006 seconds, it’s worrying that 16 queries takes even 1.6 seconds at least!
Forum: Fixing WordPress
In reply to: WordPress is taking over 3 seconds to parse!Yes I am worried about this!
My server seems to deliver the page slowly as well, it would be handy to know what country you are viewing from and also how quick you thought the page responded in the first place, is it instant/medium/slow to respond.