Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Undefined index: dbtype after cpg_installer_stub.php)  (Read 289 times)

0 Members and 1 Guest are viewing this topic.

915855

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Undefined index: dbtype after cpg_installer_stub.php)
« on: June 27, 2020, 12:18:52 am »

I updated php to 7.0 and my gallery got all messed up. I found the cpg_installer_stub.php and I was able to make it work but now I get the error at the bottom when I try to log into the control panel. Can someone please tell me what I need to do in order to fix this error. Thank you in advance.

The debug message that I get is the following:
 Notice: Undefined index: dbtype in /data/23/2/139/50/2791213/user/3070996/htdocs/ricsil/include/init.inc.php on line 165

Error that I get when I try to log into control panel:
Critical error
There was an error while processing a database query
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1535
Undefined index: dbtype after cpg_installer_stub.php)
« Reply #1 on: June 27, 2020, 03:07:47 am »

Error that I get when I try to log into control panel:
Critical error
There was an error while processing a database query

It is likely that you have a plugin that is incompatible with CPG 1.6.x
Rename the plugins folder to see if you can then login. If so, create a new plugins folder and move plugins to it, one at a time, logging out and in, until you find the one causing the problem.
Replace your plugins with CPG 1.6.x compatible ones: https://forum.coppermine-gallery.net/index.php/board,143.0.html
Logged

915855

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Undefined index: dbtype after cpg_installer_stub.php)
« Reply #2 on: June 27, 2020, 03:18:40 am »

I did as you told me and it did not work. Since I cannot log into the account, how can I turnn debug mode on. is there a file that I can modify? I do have access to the files through FTP. Thank you in advance.
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1535
Re: Undefined index: dbtype after cpg_installer_stub.php)
« Reply #3 on: June 27, 2020, 03:46:37 am »

Try your site now...
Logged

915855

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Undefined index: dbtype after cpg_installer_stub.php)
« Reply #4 on: June 27, 2020, 04:11:17 am »

That is amazing, what exactly happened? I was able to login. Thank you.
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1535
Re: Undefined index: dbtype after cpg_installer_stub.php)
« Reply #5 on: June 27, 2020, 12:28:15 pm »

That is amazing, what exactly happened? I was able to login. Thank you.
You hadn't completed the upgrade. I was able to complete it for you.
Logged

915855

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Undefined index: dbtype after cpg_installer_stub.php)
« Reply #6 on: June 27, 2020, 09:17:37 pm »

Thank you so much for doing that for me. Was my site in danger because I had not completed the upgrade?
Logged
Pages: [1]   Go Up
 

Page created in 0.225 seconds with 21 queries.