网络营销电子商务研究中心

网络营销电子商务研究中心 (https://www.0058.net/index.php)
-   Blog(博客)/Wiki(维客)/RSS/Cms (https://www.0058.net/forumdisplay.php?f=17)
-   -   Problem with site options update (https://www.0058.net/showthread.php?t=2797)

smiling 2007-10-18 09:37 PM

Problem with site options update
 
I had to go in and delete the allowedthemes table, and it was recreated and is now working fine. Thanks again.

or

I've resolved my issue but not quite sure the actual source. After reading your response I went and checked my logs, did some testing and found this error with each update attempt (with plugins checkbox checked):


FATAL: emalloc(): Unable to allocate 536870937 bytesThats certainly quite a bit of space it was trying to allocate. After doing a few google searches I decided to look at the database. In the table wp_sitemeta I found three rows with meta_key values of menu_items. All three had no value set for meta_value.

Initially I deleted two of the table entries but still didn't work. It wasn't until I deleted the last entry that the update started working properly. I rechecked the table and a new entry was set up properly.

Best of luck getting your issues resolved.

smiling 2007-10-18 09:37 PM

here is what I did to fix the themes issue.

using PhpMyadmin, I went into the wp_sitemeta tableand then to the meta_key table, browse that table and delete the “allowedthemes” row. Once you do this it will automatically re-populate the themes and allow you to update them. This worked for me, hope it does for you.
Best

smiling 2007-10-18 09:38 PM

Thanks to what I read here, I went into the 'wp_sitemeta' table and deleted the row containing 'allowedthemes', but didn't touch the row containing 'allowed_themes', and now everything is working like a charm.

Thank you!


All times are GMT +8. The time now is 06:28 PM.

Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.