alex2004
Forum Replies Created
-
Forum: Installing WordPress
In reply to: First Time Installation v1.5Some more explanations would help :
– are you upgrading from a previous installation ?
– did it work before using something else ?
– what is the exact error message that you get and when in the install proces do you get it ?Some of these might seem really evident, but this way we get more to go on…
A thing to note is that when I did my installation, I could not make a database connection either – I had to change my mysql server name to the one my provider assigned me. Perhaps you can check this as well ?
Forum: Fixing WordPress
In reply to: Up2Date & Plugin errors.Okayyyyy, so I, myself and I found the solution, it’s probably a kludge, but it works. I’ll document it here in case someone else has the same problem.
Description of problem :
You cannot Activate or DeActivate plugins. You cannot logout of your admin site. Your blog site itself looks fine, but on your admin page you get heaps of errors.Should you follow the below procedure, you do so at your OWN RISK ! Do me a favor and backup your database and php files beforehand.
Sooo, you installed a plugin, did something wrong and now are getting ‘wrong datatype’ value errors. In my case I was getting errors from following files :
– wp_settings.php line 113
– plugins.php line 32
and a whole heap of other errors that were related to those first few errors.I fixed the errors by adding in the line 113 of wp_settings.php :
foreach ($check_plugins as $check_plugin) {
and I changed that to
foreach ((array)$check_plugins as $check_plugin) {Then, when you go back to the admin page and choose plugins, you get another error for plugins_php in line 9. Add the (array) there as well :
if (!in_array($_GET["plugin"], (array)$current)) {I also went (via phpmyadmin) for a look into the database. There I went to the wp_options table, and looked for the value ‘active_plugins’ – in my option value it stated Array.
Erase that – it looks like that is just a placeholder name, just empty the field and save.
It seems to really be there to keep the activated plugins in there.After I did this, everything worked again : I could once more Activate and DeActivate my plugins, and in my db I could see that the active_plugins field now contained my activated plugins.
-end-