Wordpress : ERROR: “Table Prefix” must not be empt

2019-07-10 19:39发布

im trying to do a clean install of Wordpress 4.5.2 but running into an error at the database stage. After filling in the correct database details and clicking Submit i get this error:

ERROR: "Table Prefix" must not be empty.

After doing some research some users have fixed the issue by increasing the post_max_size and upload_max_filesize under the PHP settings. I have done this but still get the same error. The apache logs etc. are not pointing torwards any exact error, just giving the 500 error GET /wordpress/wp-admin/setup-config.html?step=2 HTTP/1.0

Im running Plesk 12.5.30 on RHEL7.2.

I have done many Wordpress installs before and this is the first time i have come across this issue. I have wordpress installed on a few other domains on the same server and they are running just fine, although they were not installed on this server merely copied over recently so unsure if the same error would have occured had i clean installed them as well.

Lastly, i have already tried deleting the domain and database and creating them again just incase and still have the same issue.

Any suggestions would be much appreciated.

Thanks Chris

标签: php wordpress
2条回答
ゆ 、 Hurt°
2楼-- · 2019-07-10 20:12

You need to define table prefix in your wp-config.php file.

Example:

$table_prefix = 'chris_';
查看更多
做自己的国王
3楼-- · 2019-07-10 20:33

In the folder where you install WordPress, there can't be any files. Maybe you have some other files there. Remove all files and try installing WordPress again.

查看更多
登录 后发表回答