Hello. Our website is down for three days now, and I think I messed up.
Back story: Every three months our site goes down because the defines.inc.php file in the config folder had a line
define('_PS_MAGIC_QUOTES_GPC_', get_magic_quotes_gpc());
Then I learn from tech support at the hosting site that it's old PHP and is now defunct. I also learned to replace it with this:
if (!defined('_PS_MAGIC_QUOTES_GPC_')) {
define('_PS_MAGIC_QUOTES_GPC_', get_magic_quotes_gpc());
}
So I did the suggested modification and now accessing our website was giving me a 500 error. I then had the bright idea (NOT) to go on PrestaShop GitHub site and just update a few configuration files and that went down the toilet. I still have access to the back office at least.
I need to correct the files with workable configuration files. I was thinking to do a reinstall but I'm afraid I would lose all my work. The only files I messed with was in the /config folder.
I would hate to lose the entire website as I had to restore twice for the year already because of the PHP incompatibility issues. I have over 475 product pages with descriptions and images that took me a very long time to complete.
Any and all help would be so appreciated. Thank you in advance.
Derick