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: final extract plugin failing  (Read 7563 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.021 seconds with 20 queries.