Darrell Schauss
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: CSS help […] ?????All of this is at the very top where it shouldn’t be. You have this body and another body.
<link rel="stylesheet" href="http://toyakankarate.com.au/blog/wp-content/themes/toya1/style.css" type="text/css" media="screen" /> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table width="1280" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td background="http://toyakankarate.com.au/images/goldcoast-karate_02.gif">I also dont see the opening first
<head>before the meta and styles.
The very first thing should be the<!DOCTYPEand no spaces before it.
then HTML…HEAD…TITLE…/HEAD… BODY… TABLEThe 1280px are too big on the tables causing the page to stop on the browser left way too soon before the shadow.
Forum: Fixing WordPress
In reply to: Auto-DraftsSo this doesn’t work in WP3 then? I haven’t tried it.
http://codex.ww.wp.xz.cn/Editing_wp-config.php#Post_RevisionsForum: Fixing WordPress
In reply to: Links not working rightHave you looked into this? “Add To Facebook: This plugin is not compatible with WordPress 2.9+. Please switch to Share on Facebook for compatibility with WordPress 2.9+.” It is more up to date.
http://ww.wp.xz.cn/extend/plugins/share-on-facebook/
Took me a while to notice the facebook share link.
Forum: Fixing WordPress
In reply to: wordpress 3.0 autosaveTried any of these? I haven’t.
This one is for wp-config.php
http://codex.ww.wp.xz.cn/Editing_wp-config.php#Modify_AutoSave_Intervaldefine('AUTOSAVE_INTERVAL', 160 ); // secondsdefine('WP_POST_REVISIONS', 3);define('WP_POST_REVISIONS', false );This one talks about wp-settings.php
http://codex.ww.wp.xz.cn/Revision_ManagementForum: Fixing WordPress
In reply to: remove gap under powered by wordpress?Makes the gray content area meet the bottom of the browser
div#footer{margin-bottom:0px;}Makes the gray stop right after Powered by wordpress
div#colophon{padding-bottom:0px;}Personally I like the gaps. The footer gap matches the top and the gap right after Power by wordpress matches the padding at the start of the footer.
I tested these by placing them at the very bottom of the style.css though I would look for a better place to organize. But must go after any previous margin/padding styles to those IDs. Or replace (i didnt look)
Forum: Fixing WordPress
In reply to: WP site not sending Notification emails or Form submissionsOn Dreamhost there is a Maildir and when PHP mails fail or get auto replies from people being away it fills up with files for every mail failed. And each fail contains the email and reason for failure. I haven’t been on GoDaddy. I had another host where these files would end up somewhere else.
Keep another backup before this too but you will have to extract and open the SQL file in a plain text editor. Then find replace the table names like
wp_postwithwp_prEfIx_postso they match your config and overwrite the new install and not the old site thats sharing the database.Zip it back up and import through phpMyAdmin. Any old WinZip will do. Dont change password on it because both sites are sharing the database credentials.
You can set overall php memory limit in htaccess
php_value memory_limit 64M(host may or may not allow it) but it probably effect the phpMyAdmin since most hosts have a separate instance of phpMyAdmin not effected by your settings.If you have shell access (you have to \ escape special charactors like the $ or !)
mysql -hDBHOST -uDBUSER -pDBPA\$S DBNAME < file.sql.zipForum: Fixing WordPress
In reply to: Using 'Numeric' Permalinks QuestionIm sure the plugin would grab the posts urls based on database record information which would say it is a post or not. Or use built in wordpress functions that do the same. But I haven’t looked at the plugin code.
The permalinks structure is just a meaningless word you typed into the structure options.Your sitemap.xml is full of your posts though right now.
Forum: Fixing WordPress
In reply to: Permalinks not workingI think I remember reading there can be problems with using straight /%postname%/ without the dates, especially as amounts of posts grows, because of how wordpress works. But I dont remember the thread.
Forum: Fixing WordPress
In reply to: Can Theme change permalink structure?You can choose a certain page for front page in Settings > Reading.
http://codex.ww.wp.xz.cn/Creating_a_Static_Front_PageI haven’t done it but this looks like the right information to using wordpress hooks for permalinks.
http://codex.ww.wp.xz.cn/Function_Reference/WP_Rewrite#Plugin_HooksInstead of a plugin you would build it in your functions.php
Forum: Fixing WordPress
In reply to: Sites compromisedRunning that command will give a result of records if there is anything. On very very rare instance do I find legitimate code using base64 (but in the PHP itself) but usually not 46esab when legit.
Forum: Fixing WordPress
In reply to: Can't switch between Visual and HTML modeIf you dont see HTML and Visual option tabs: Make sure under your profile that checkbox is set to allow visual editor.
If you do see both options but it is not switching:
You could try uploading a fresh copy of /wp-admin/ folder for your version. http://codex.ww.wp.xz.cn/WordPress_VersionsForum: Fixing WordPress
In reply to: Internet Explored Shows Nothing at AllThis is most commonly I’ve seen do to unclosed or broken tags in the header. You have extra and broken
<title>elements in the header.php. There should be only one instance of
<title>[blog info name and stuff inside]</title>Forum: Fixing WordPress
In reply to: Sites compromisedYour database can have bad code hidden in it too. I seen some sql commands for finding and cleaning but cant find the blog post now.
One thing you can do is in phpMyAdmin search the whole database for
base64and46esabEdit: here is a very detailed post.
http://smackdown.blogsblogsblogs.com/2010/06/14/rackspace-hacked-clients-check-your-databases-wordpress-wp_optimize-backdoor-in-wp_options-table/SELECT * FROM wp_options WHERE (option_id LIKE '%base64_decode%' OR blog_id LIKE '%base64_decode%' OR option_name LIKE '%base64_decode%' OR option_value LIKE '%base64_decode%' OR autoload LIKE '%base64_decode%') order by option_idhttp://ww.wp.xz.cn/support/topic/have-i-been-hacked-username-amin?replies=42
On the newer versions you can change prefix
wp_to something randomwp_d4Ty1_during install options.It is one of the suggested security measures anyways.
http://codex.ww.wp.xz.cn/Hardening_WordPress#Security_through_obscurity