Hello,
So we have a site been up for a few years. Over those years we have had many plugins get installed, a lot stopped working or are not being used anymore. Disabling those plugins causes site errors.
I need to create a brand new fresh install and import the database from our old site into it. We have tested this but receive tons of errors because of all the plugins, templates, etc. I managed to go into the database and clean up errors, but I know beleive because of the template files not existing the pages are just white. I cannot login to the admin control panel either it goes to the login screen, then after hitting login it goes to a blank white page (like its not redirecting properly).
So my question. Is there an easy way to migrate to a fresh install minus all of the plugins and templates we have on the old database.
--------------- Added [DATE]1340997787[/DATE] at [TIME]1340997787[/TIME] ---------------
i thought i would add we are far behind on updates as well stuck at 4.1.3 because updating causes a bunch of errors. THis is another reason for the need of a fresh install.
--------------- Added [DATE]1341000201[/DATE] at [TIME]1341000201[/TIME] ---------------
Well a little update. I used IMPEX and was able to do everything fine except permissions and everything but those are easy to fix.
The propblem now is this error.
Code:
Warning: number_format() expects parameter 1 to be double, string given in [path]/includes/functions.php on line 844
Warning: number_format() expects parameter 1 to be double, string given in [path]/includes/functions.php on line 844
How do i get rid of that?
--------------- Added [DATE]1341003918[/DATE] at [TIME]1341003918[/TIME] ---------------
Line 844 is this in functions.php
Code:
return str_replace('_', ' ', number_format($number, $decimals, $decimalsep, $thousandsep)) . $type;
}
--------------- Added [DATE]1341005661[/DATE] at [TIME]1341005661[/TIME] ---------------
Ok I managed to fix it, although I am not sure if this will mess anything else up. Please let me know if it will.
I simply added (double) after number_format( so see below.
Code:
return str_replace('_', ' ', number_format((double)$number, $decimals, $decimalsep, $thousandsep)) . $type;
}