inicio mail me! sindicaci;ón

Archive for 学习手札

解决 WP-DBManager Warning backup folder visible to public

WP-DBManager version 2.50 .after Active the plugins ,AdminPanel always received : WP-DBManager 2.50 安装激活后,控制台总是收到如下错误警告:
"Your backup folder MIGHT be visible to the public To correct this issue, move the .htaccess file from wp-content/plugins/wp-dbmanager to /home/username/commondork.com/wp-content/backup-db"
There is not a such file named .htaccess in /wp-content/plugins/wp-dbmanager. But Its easy. 但其时插件目录中没有.htaccess文件。经过论坛讨论和考证。最终解决办法如下。
Create one file named .htaccess in than upload to the backup-db directory(Use filezilla can upload file named . xxx )

or

Go to wp-content/plugins/wp-dbmanager find a file named htaccess.txt. then rename it to .htaccess and move it to the backup-db directory.
至于产生这个问题的原因请参考如下网页 http://besthubris.com/computers-internet/fix-wp-dbmanager-error-warning-your-backup-folder-might-be-visible-to-the-public/

解决 Fatal error: Allowed memory exhausted

错误描述: Memory exhausted error in admin panel

错误提示:Fatal error: Allowed memory size of 33554432 bytes exhausted

解决方法:

assuming you’ve deactivated all plugins, the try one of these methods for increasing the amount of memory a PHP script may consume

1. If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 32M try 64M:
memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)

2. If you don’t have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 64M

3. Try adding this line to your wp-config.php file:
Increasing memory allocated to PHP
define(‘WP_MEMORY_LIMIT’, ‘64M’);

4. Talk to your host.