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: album share codes plugin  (Read 408 times)

0 Members and 1 Guest are viewing this topic.

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
album share codes plugin
« on: August 07, 2020, 12:41:30 pm »

Debug \plugins\album_share_codes\codebase.php

Code: [Select]
    Warning line 29: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, object given
    Notice line 39: Undefined variable: content1
    Notice line 41: Undefined variable: content2


I aasumed mysqli_fetch_assoc should be cpg_db_fetch_assoc and solve the first error.
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: album share codes plugin
« Reply #1 on: August 12, 2020, 04:49:11 am »

Code: [Select]
\plugins\album_share_codes\configuration.php
    Notice line 23: Undefined variable: lang_plugin_custom_thumb

There is no lang folder or file so

Code: [Select]
.$lang_plugin_custom_thumb['announcement_thread']
shoul be just text

Code: [Select]
Announcement Thread after .' and before </a> on line 23 - configuration.php

Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: album share codes plugin
« Reply #2 on: August 12, 2020, 04:49:53 am »

\plugins\album_share_codes\codebase.php

Code: [Select]

    Notice line 32: Undefined variable: content1
    Notice line 33: Undefined variable: content2

Logged
Pages: [1]   Go Up
 

Page created in 0.034 seconds with 19 queries.