netpants
06-29-2012, 04:43 PM
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 1340997787 at 1340997787 ---------------
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 1341000201 at 1341000201 ---------------
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.
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 1341003918 at 1341003918 ---------------
Line 844 is this in functions.php
return str_replace('_', ' ', number_format($number, $decimals, $decimalsep, $thousandsep)) . $type;
}
--------------- Added 1341005661 at 1341005661 ---------------
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.
return str_replace('_', ' ', number_format((double)$number, $decimals, $decimalsep, $thousandsep)) . $type;
}
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 1340997787 at 1340997787 ---------------
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 1341000201 at 1341000201 ---------------
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.
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 1341003918 at 1341003918 ---------------
Line 844 is this in functions.php
return str_replace('_', ' ', number_format($number, $decimals, $decimalsep, $thousandsep)) . $type;
}
--------------- Added 1341005661 at 1341005661 ---------------
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.
return str_replace('_', ' ', number_format((double)$number, $decimals, $decimalsep, $thousandsep)) . $type;
}