Im struggling to install cpLinks. I must configure the config.php file. I have already setup my Database in control panel. Im getting the following error:SQL/DB Error -- [Error selecting database cplinks!Are you sure it exists?Are you sure there is a valid database connection?Somewhere somehow im doing something wrong. I know this is 101 stuff but please help me?
When you set up your database, did you create a database named cplinks? That's what the error message is telling you - that there is no such database or that your code can't connect to it (maybe because the login or password in the database and the login or password in the config file aren't the same).
Thats just it, its the same. The database is set up in cPanel but I had to configure the config.php file to load script to my database. but somehow i am doing it wrong.I usually use softaculous to load scripts and this is my first time doing it manually.
The database name and database username reads howtolik_cplinks. Now when i configure the config.php file, what do I insert? [howtolike_cplinks] or just [cplinks]. But anyway I've tried them both ways. I would like it if someone can send me a format example on how the spesific config.php file should look like.
The config file doesn't give a clue, so it probably has to be howtolike_cplinks. And are you sure that you have $database_host_name set right? It's not always localhost. (If you're not sure, check with your hosting company.)
Make sure that the host name is correct. If the database isn't on the same server as the website (very common), "localhost" will give you that error.
After 3 days of no-joy I sort of given up and moved over to osclass. But thanks, I might give it another try someting again.