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: Fatal error: Call to a member function authenticate() on a non-object on PHP5  (Read 6806 times)

0 Members and 1 Guest are viewing this topic.

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray

I had just completed a PHP5 upgrade on my development server and I got this error.

I had already enabled long arrays so that wasn't the problem.

The system output the entire contents of coppermine.inc.php then spit out this error.
Code: [Select]
Fatal error: Call to a member function authenticate() on a non-object in c:\Inetpub\wwwroot\devel\include\init.inc.php on line 263

I found that coppermine.inc.php didn't have a "php" in it's starting processor directive.

Code: [Select]
<?
/*************************
  Coppermine Photo Gallery
  ************************

changing to
Code: [Select]
<?php
/*************************
  Coppermine Photo Gallery
  ************************

Solved the problem.

fix committed.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 18 queries.