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: final extract plugin failing  (Read 7382 times)

0 Members and 1 Guest are viewing this topic.

scouterjohn

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
final extract plugin failing
« on: December 21, 2018, 01:04:58 am »

As I am turning my plugins back on after the upgrade final_extract fails badly. Is there a new version for cpg 1.6?

John
Logged

scouterjohn

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: final extract plugin failing
« Reply #1 on: December 21, 2018, 01:12:41 am »

Here's the error:


Fatal error: Call to undefined function mysql_fetch_assoc() in /home/agincour/public_html/photos/plugins/final_extract/codebase.php on line 176
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: final extract plugin failing
« Reply #2 on: December 21, 2018, 03:53:27 am »

Assuming here that you are able and reasonably comfortable with editing the files ...

In most cases, you can just change mysql_xxxx_xxxxx to cpg_db_xxxx_xxxxx and it should correct the error condition.
Logged

scouterjohn

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: final extract plugin failing
« Reply #3 on: December 22, 2018, 09:23:12 pm »

Thanks. That sorta helped.

I changed the 4 instances of mysql_*_* to cpq_db_*_* and the complaints about the undefined function went away. However I now get the error below from the line:
Code: [Select]
while($row = cpg_db_fetch_array($result,MYSQL_ASSOC)){
Error:
Fatal error: Call to a member function fetch_array() on a non-object in /home/agincour/public_html/photos/include/database/mysqli/dbase.inc.php on line 127

Is there a version of final_extract that works with CPG 1.6?
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: final extract plugin failing
« Reply #4 on: December 22, 2018, 09:50:16 pm »

Is there a version of final_extract that works with CPG 1.6?

Not currently...  I'll try to put together a version for CPG 1.6 in the next couple of days.
Logged

scouterjohn

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: final extract plugin failing
« Reply #5 on: January 17, 2019, 11:43:34 pm »

Thanks for the updated version. Works like expected.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.