I have spent some time today facing “Table Prefix” must not be empty error on step 2 of setup (right after submitting database parameters ). During investigations it has resulted that $_POST was empty , even if the html code of the form was correct and browser headers showed that post data was sent:
Searching the web for a solution resulted in only one related result ( out of many ) and it was related to upload_max_filesize and post_max_size php settings.
However, it didn`t feel like it has anything to do with my problem since i had not changed any settings for some time and i had installed wordpress multiple times with the exact settings that were in place at the time the error occurred.
I have considered using an “older” version o wordpress that worked last time (actually the current version but downloaded a few days ago ). Still same problem.
Only after i have looked into the headers i have noted that even if the page showing the “Table Prefix” must not be empty error looked fine in browser , the server actually serverd it with a HTTP/1.1 500 Internal Server Error error and convinced me to look into the server logs, where i have found that there was a PHP Warning: Unknown: POST Content-Length of 86 bytes exceeds the limit of -2147483648 bytes in Unknown on line 0 error.
In the end it has proved that the problem was in fact related to those upload_max_filesize and post_max_size php settings but it didn`t showed till now. Lowering the values of these settings solved it. I suppose the the problem didn`t showed till not because there was enough memory available to be used last time but todey somehow the server was using more memory and it wasn`t ebough left and because of that it trowed the error ( my server has 2G of memory and usually it uses about 850M ). The settings were set just to high i suppose.
So , if you read this post because you have the same problem, first thing you should to is to try lowering your post_max_size php settings .