Fatal error Fatal error
 

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]

Main Menu

Fatal error

Started by Yoav1987, November 21, 2010, 05:21:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yoav1987

Hello,

I've installed witj success the last version of Coppermine - 1.5.8. But I got a Fatal error : when I'm saving my plugin's configuration.

Here is my site : http://photo.webkef.com/

Nibbler

Enable debug mode in config.

Yoav1987

Activated !

Yoav1987

While executing query 'UPDATE `cpg15x_mod_SlideShowIt` SET slideshowit_albumid=('')' in plugins/slideshowit/codebase.php on line 34

mySQL error: Table 'eretzisr_PHOTOS.cpg15x_mod_SlideShowIt' doesn't exist

Ok, I see what is the problem.

Gene-2008

Quote from: Yoav1987 on November 21, 2010, 05:36:38 PM
While executing query 'UPDATE `cpg15x_mod_SlideShowIt` SET slideshowit_albumid=('')' in plugins/slideshowit/codebase.php on line 34

mySQL error: Table 'eretzisr_PHOTOS.cpg15x_mod_SlideShowIt' doesn't exist

Ok, I see what is the problem.

This is my plugin and you are correct the problem is the Uppercase letters on the cpg15x_mod_SlideShowIt.
Change it to cpg15x_mod_slideshowit ...apparently new mysql is now case sensitive.

Also while you are at it look for any places where <? is used instead of <?php

I will be releasing a new versions with these a and a few other fixes soon.

Gene


Yoav1987


Gene-2008

Quote from: Yoav1987 on November 22, 2010, 01:47:20 AM
Ok, I'll be patient  ;)

No need to be patient...just edit plugins/slideshowit/codebase.php on line 34

Find:
$s="UPDATE `{$CONFIG['TABLE_PREFIX']}mod_SlideShowIt` SET slideshowit_albumid=('$slideshowit_albumid')";
Replace it with:
$s="UPDATE `{$CONFIG['TABLE_PREFIX']}mod_slideshowit` SET slideshowit_albumid=('$slideshowit_albumid')";

Gene



Yoav1987

Okay I'll test that ;) Thank you  ::)