forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 install => Topic started by: Bakaras on June 29, 2019, 07:21:36 pm

Title: Fatal error after installing a fresh install.
Post by: Bakaras on June 29, 2019, 07:21:36 pm
Hi,
I've been trying to figure out for quite a long while a solution for this error I get after installing 1.6.06 or any of the earlier ones of 1.6

Code: [Select]
While executing query 'SELECT name, value FROM cpg16_config' in include/init.inc.php on line 180

database error: 1109 : Unknown table 'cpg16_config' in information_schema

If it helps, my server is running PHP7 and mySQL is 5.5.

Thank you.
Title: Re: Fatal error after installing a fresh install.
Post by: ron4mac on June 29, 2019, 09:47:40 pm
Are you installing with the cpg_installer_stub (https://forum.coppermine-gallery.net/index.php/topic,79168.msg383813.html#msg383813) ?
Are you selecting mysqli as the database connection type ?
Does your database user have all permissions to the database ?
What does your screen look like at the "Populating Database" phase of the install ?
Title: Re: Fatal error after installing a fresh install.
Post by: Bakaras on June 29, 2019, 10:13:25 pm
Title: Re: Fatal error after installing a fresh install.
Post by: ron4mac on June 30, 2019, 01:24:08 am
I would need access to your site to be able to try determining the cause of the problem.

One way to allow that is for you to place the attached file (unzipped) in the root of your site. You can PM me, if so desired, with a link to the site. The file will allow (only) me to view/upload/edit files on your site. I will also upload a file that will allow me to work with your database.
Title: Re: Fatal error after installing a fresh install.
Post by: ron4mac on June 30, 2019, 06:12:20 pm
Both your installs are running now (copper_ & cpg16x_).
The issue was that your database configuration did not include the database name.
Title: Re: Fatal error after installing a fresh install.
Post by: Bakaras on June 30, 2019, 06:13:46 pm
Thank you. I feel somewhat dumb now.
Title: Re: Fatal error after installing a fresh install.
Post by: ron4mac on June 30, 2019, 06:15:37 pm
Yours is a somewhat different database setup. No reason to feel dumb. Glad I could help.