My site’s all messed up now. I tried to restore it by copying and pasting the config.php from my local environment and then setting the proper values for db connection. This didn’t work at first because I kept getting this error:
[QUOTE]Fatal error: Call to undefined function: mysqli_connect() in /home/nbomike/public_html/core/db_mysql41.php on line 25[/QUOTE]
So I changed the “Database layer” in config.php from “mysql41” to “mysql” and I guess it’s working (I’m not getting that error any more)? The site is skinless and imageless. Can someone please help?!
I have a couple of questions that might help me figure it out. In config.php, there’s this line of code:
@include_once($cscart_dir . DS . 'local_conf.php');
Can somebody tell me where local_conf.php is located? I can’t find it anywhere. I even tried doing a search for the file on my local machine and it’s not there. Also, does anybody know where $cscart_dir is initialized? I noticed that the paths for many of the subsequent variables (including local_conf.php) are set using this variable. Maybe $cscart_dir is causing the paths to be set to the wrong values…