Fatal error: Call to a member function authenticate() on a non-object on PHP5 Fatal error: Call to a member function authenticate() on a non-object on PHP5
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Fatal error: Call to a member function authenticate() on a non-object on PHP5

Started by donnoman, June 27, 2005, 02:23:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

donnoman

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.

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.


<?
/*************************
 Coppermine Photo Gallery
 ************************


changing to

<?php
/*************************
  Coppermine Photo Gallery
  ************************


Solved the problem.

fix committed.