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: album share codes plugin  (Read 4926 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.018 seconds with 19 queries.