final extract plugin failing final extract plugin failing
 

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]

Main Menu

final extract plugin failing

Started by scouterjohn, December 21, 2018, 01:04:58 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

scouterjohn

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

scouterjohn

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

ron4mac

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.

scouterjohn

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: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?

ron4mac

Quote from: scouterjohn on December 22, 2018, 09:23:12 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.

scouterjohn

Thanks for the updated version. Works like expected.