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: undefined variable CONFIG in displayimage.php  (Read 4509 times)

0 Members and 1 Guest are viewing this topic.

Andi

  • VIP
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 85
  • Join the Future
    • www.pragmamx.org
undefined variable CONFIG in displayimage.php
« on: February 06, 2005, 12:16:26 pm »

Hello :)

   
Quote
* Notice line 63: Undefined variable: CONFIG

In displayimage.php function html_picture_menu() the variable CONFIG is not global.
This caused that the "edit pic" link is never shown for normaly users.

  Coppermine version: 1.4.1
  $Source: /cvsroot/coppermine/devel/displayimage.php,v $
  $Revision: 1.89 $
  $Author: oddeveloper $
  $Date: 2005/01/26 02:56:30 $
« Last Edit: February 10, 2005, 08:37:56 am by GauGau »
Logged
hope, I could help you... :)

omniscientdeveloper

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 901
Re: undefined variable CONFIG in displayimage.php
« Reply #1 on: February 06, 2005, 04:02:18 pm »

Fixed. I also got rid of some other error notices.
Logged

Andi

  • VIP
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 85
  • Join the Future
    • www.pragmamx.org
Re: undefined variable CONFIG in displayimage.php
« Reply #2 on: February 06, 2005, 10:51:23 pm »

 :D yep, it works fine
Logged
hope, I could help you... :)
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 18 queries.