local.config.php is empty because you have not processed with the phpVMS installation. Re-upload the files, visit your website url and follow the installation steps in this page.
I deleted the old phpVMS folder from the host and posted a fresh install, and following the phpvms for Dummie’s Guide, ran the install.php file, and get
Fatal error : Class ‘DB’ not found in /home2/spin/public_html/Aviation/phpVMS/core/common/SettingsData.class.php on line 28
I read through all of those links, but couldn’t find that error code or any way of fixing it.
One thing I notice that may be causing a problem is the installer is looking for a database with the “phpvms_” prefix, while my host names databases with my “userid_”. Would that make a difference? Does the installer only recognize db’s with the phpvms_ prefix?
I hope I can get my VA back in the air soon, hopefully with phpvms.
I read through all of those links, but couldn’t find that error code or any way of fixing it.
One thing I notice that may be causing a problem is the installer is looking for a database with the “phpvms_” prefix, while my host names databases with my “userid_”. Would that make a difference? Does the installer only recognize db’s with the phpvms_ prefix?
I hope I can get my VA back in the air soon, hopefully with phpvms.
I had this error and I had to give permission for the database to give access to the website domain. This is done through the your hosting service. Let me know if that works.
Make sure that your password for your database user inside the file of core/local.config.php is set properly.
In regards to your table prefix question, you can change it upon setup via the installer, just change it from phpvms_ to userid_
local.config.php should look like this
define('DBASE_USER', 'DATABASEUSERHERE');
define('DBASE_PASS', 'DATABASEPASSWORDHERE');
define('DBASE_NAME', 'DATABASENAMEHERE');
define('DBASE_SERVER', 'localhost'); // change localhost if your hosting uses a different server
define('DBASE_TYPE', 'mysqli'); // if you're using Simpilot's phpvms 5.5.x use mysqli, otherwise use mysql
define('TABLE_PREFIX', 'phpvms_'); // change phpvms_ to userid_ if you have setup all your tables that way
Change DATABASEUSERHERE, DATABASEPASSWORDHERE, DATABASENAMEHERE to the correct information specified in cPanel (or similar)
local.config.php just had a couple characters in it,
Do you mind pasting in your local.config.php (the whole file) or http://pastebin.com/ it?
And please XXXX the sensitive information (database info)
I had this error and I had to give permission for the database to give access to the website domain
trygeboy has a point, make sure that your database user has the correct password for the user you are using, if not it might be worthwhile changing it and keeping a first-hand copy to make sure that the information for the user is correct.
Now, the only thing I see that could be causing a problem is HostGator uses my userid as a prefix for the database name spin_phpvbs_xxxxx and I don’t think this program recognizes it. Even if I try to rename it, it still has the spin_ prefix.