mahmood
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Parking domains and mapping themI’m afraid I’m lost.
I tried forwarding mahmoodsgarden.com to mahmoodsgarden.bahraini.tv and it works as advertised, but when forwarding, the URL remains mahmoodsgarden.bahraini.tv.
How can I configure the system so that it will appear as mahmoodsgarden.com?
I’m using Plesk for control panel.
Forum: Networking WordPress
In reply to: Parking domains and mapping themThanks Andrea, I’ll look around to see how Plesk handles this.
Forum: Installing WordPress
In reply to: Database won’t upgrade in 2.9Finally resolved.
As the database is over 6 years old, it collected a lot of optional plugin installs and un-installs over the years which unfortunately left quite a number of unused tables in the database. The Options table too was seriously bloated – to the tune of 122MB!
So:
1. I manually went in and removed the no longer needed tables (after backing up the database of course)
2. I manually edited the db version number in the options table (as given above, thanks!) to 12329 to force going beyond the forced upgrade page
3. I went to the admin panel, downloaded, installed and activated the “Clean Options” plugin.
4. I got the plugin to remove all the hash rss entries (over 8 thousand of them!)
5. I got the plugin to evaluate all the remaining entries in the table to determine the most likely unneeded entries and double checked them all. Selected the ones I know to be unneeded and deleted them.
6. The above operation reduced the database size from 310MB down to 58MB!! Serious weight loss ??
7. I re-edited the options value to put in the old database version of 11548
8. Went to the Admin panel again /wp-admin
9. Clicked the “upgrade database” button, and then within seconds the upgrade was reported successful and I have my blog back!Moral of the story? Maybe plug-in developers should clean up their database entries on deactivation of their plugins. And wish the WordPress team would consider adding this clean-up operation in a future version.
Best regards and thanks for continuing to develop WordPress
Mahmood Al-Yousif
https://mahmood.tvForum: Installing WordPress
In reply to: Database won’t upgrade in 2.9changing the database version in the options does not create the required tables and links provided in the upgrade script! be careful.
Forum: Installing WordPress
In reply to: Database Upgrade Required: Not Working (WP 2.9)that does not create the new wp_commentsmeta table in the db though. so you might be looking for trouble in the future!
I’m wondering if there are any other database changes we can apply manually other than this? My database is around 300MB and no matter what changes I do to the php.ini file, the upgrade process simply times out.
for those interested, the SQL code you need to run to create the new wp_commentmeta table is:
CREATE TABLE IF NOT EXISTSwp_commentmeta
(
meta_id
bigint(20) unsigned NOT NULL auto_increment,
comment_id
bigint(20) unsigned NOT NULL default ‘0’,
meta_key
varchar(255) collate utf8_unicode_ci default NULL,
meta_value
longtext collate utf8_unicode_ci,
PRIMARY KEY (meta_id
),
KEYcomment_id
(comment_id
),
KEYmeta_key
(meta_key
)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;Any others changes to the db please?
HELP, please!
Forum: Fixing WordPress
In reply to: hacked? or is it a rogue plugin which places .htaccess in wp-adminNo I don’t have Ask Apache installed at the moment.
Forum: Fixing WordPress
In reply to: Javascript getElementById Error in HeaderI’m sorry I don’t have an answer to your problem, but could you let me know how you integrated the glider into your theme? Much appreciate it if you would post that section of the code here. Thanks.
Forum: Fixing WordPress
In reply to: Line breaks not rendered in commentsYES, I do!
Thank you very much for the investigative work!Now we have to find another replacement for the smilies.
Forum: Fixing WordPress
In reply to: Line breaks not rendered in commentsIt does persist if you switch to a default theme (yes I cleared the cache after I switched)
Forum: Fixing WordPress
In reply to: Line breaks not rendered in commentsI have completely removed all WP files and copied the distribution files afresh into the directory, ensured that all permissions and ownerships are okay, but the problem still persists.
Can anyone help with this please?
Forum: Fixing WordPress
In reply to: Line breaks not rendered in commentsI would really appreciate the help with this issue, there is nothing worse than trying to read a comment that has no paragraph or line breaks!
I’ve searched but came up with nothing so far. Please help if you could.
For an example of what I am talking about, look at my blog at https://mahmood.tv
thanks
Forum: Fixing WordPress
In reply to: Permalink Changesdo a permament redirect in your .htaccess file:
Redirect permanent /old/url/something.whatever https://yoursite/newurl
should fix it.