lipsk
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Flutter] Another Fatal ErrorI tried to install 2.47 and got the same error
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/illusion/public_html/site/wp-content/plugins/fresh-page/tools/debug.php on line 19
What could it be? Some php configuration on the server?
Forum: Fixing WordPress
In reply to: gallery suddenly showing no thumbnailsI’m having the same problem. It started when I had to rename the directory of my wordpress installation. I renamed it and then I had to modify by hand the database replacing all occurrences of the old path to the new path.
After that, all the galleries thumbnails stopped showing, and in their place it’s showing the original size images, overlapping each other.
I managed a temporary fix to solve the problem – I set the class “attachment-thumbnail” to have a max width and height of 150 on the stylesheet. Kind of solved for a while. But it doesn’t explain why isn’t the “-150×150” named thumbnail automatically being added to the final html code.
I haven’t changed any file before it stopped working. Just renamed the folder ans fixed the paths on the database.
Forum: Plugins
In reply to: Limit One Category per postMade a small plugin
Forum: Plugins
In reply to: Limit One Category per postWell… I use WP 2.6.
I changed this filewp-admin/includes/template-orig.php
at line 181 and it worked
$output .= "\n<li id='category-$category->term_id'$class>" . '<label for="in-category-' . $category->term_id . '" class="selectit"><input value="' . $category->term_id . '" type="radio" name="post_category[]" id="in-category-' . $category->term_id . '"' . (in_array( $category->term_id, $selected_cats ) ? ' checked="checked"' : "" ) . '/> ' . wp_specialchars( apply_filters('the_category', $category->name )) . '</label>';Yeah I changed the core, but hell It will do until I find out how to make a plugin.
Forum: Plugins
In reply to: Limit One Category per postAny success? I’m trying to do the same thing here.
Forum: Fixing WordPress
In reply to: Upgraded to WP 2.6 and can’t access wp-admin areafghedo:
I’ve had these kind of redirect problems before with 2.5. It happened when editing pages or posts.
It was a mod.security setting issue specific to some servers. It was solved by editing the admin folder’s “.htaccess” and adding this setting:<IfModule mod_security.c>
SecFilterInheritance Off
</IfModule>Now in WP 2.6 the redirect problem happened again, this time with /wp-admin/ and login.php.
I tested in several browsers both in Windows and Linux, tried to clean cache, tried to replace the permalink structure on .htaccess… nothing worked.
Then I tried the code above on the blog folder’s “.htaccess” and it worked. The wp-admin path is now redirecting right to login.php.
But I don’t know if it is a good solution neither how much security I lost.
Forum: Alpha/Beta/RC
In reply to: Image Upload – “Specified file failed upload test.”Hi.
I had 2 different problems with WP 2.5 image-upload on IE7 (IE 7.0.5730.11) On Firefox (2.0.0.14) it works perfectly.The first problem was a permission thing and was solved with chmod 755 on upload folder and the .htaccess mod_security hack.
But I’m stuck with the second one for the last 3 days!
Problem: When I upload the image file, I get an error message and the image doesn’t crunch.
BUT it still creates the 3-size files on upload directory.
Unfortunatelly, when I click on gallery or media library, the list only shows the image filename. I can’t see any thumbnail. Also, the “show” link is dead. On click, the browser register a javascript error in wp-admin/media-upload.php. The result: I can’t include any image on posts.I’ve tried everything… all possible fixes. I don’t have plugins installed, just plain WP.
- downloaded WP 2.5 and installed again
- applied the 2-commas IE7 patch (ticket/6443)
- downloaded and replaced swfupload files
- upgraded the flash installed on IE (and FF)
- tried all combination of the options on “settings > misc”
- cleared cache, closed browser, restarted the computer several times after each change.
Firefox is fine for me. But the blog/site have a lot of users and they use IE. Also… the “No-Flash-Uploader” didn’t work…
I don’t know what to do.
Forum: Themes and Templates
In reply to: Page Templates in WordPress 2.5?!I tried switching to default and back and it worked for me.
Maybe it’s not a caching issue but an internal field that WP sets when switching themes… something like that…