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: undefined variable CONFIG in displayimage.php  (Read 4529 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.016 seconds with 18 queries.