Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Fatal error after installing a fresh install.  (Read 7897 times)

0 Members and 1 Guest are viewing this topic.

Bakaras

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Fatal error after installing a fresh install.
« 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.
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Fatal error after installing a fresh install.
« Reply #1 on: June 29, 2019, 09:47:40 pm »

Are you installing with the cpg_installer_stub ?
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 ?
Logged

Bakaras

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Fatal error after installing a fresh install.
« Reply #2 on: June 29, 2019, 10:13:25 pm »

  • Yes, I'm using the cpg_installer_stub.
  • Yes, I've selected mysqli as the database.
  • I think so, since I've used 1.5.x of cpg before on the same server.
  • It shows all OK's if I've cleaned the mysqli database from previous attempts.
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Fatal error after installing a fresh install.
« Reply #3 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.
« Last Edit: June 30, 2019, 06:10:30 pm by ron4mac »
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Fatal error after installing a fresh install.
« Reply #4 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.
Logged

Bakaras

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Fatal error after installing a fresh install.
« Reply #5 on: June 30, 2019, 06:13:46 pm »

Thank you. I feel somewhat dumb now.
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Fatal error after installing a fresh install.
« Reply #6 on: June 30, 2019, 06:15:37 pm »

Yours is a somewhat different database setup. No reason to feel dumb. Glad I could help.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.