Critical error after upgrading Critical error after upgrading
 

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

Critical error after upgrading

Started by rcsmith, December 01, 2003, 12:58:58 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

rcsmith

I'm getting an error message when it tries to show the random pics.  Even when i remove that i get an error message.  I ran the upgrade...i believe I was using 1.0.

Warning: Cannot add header information - headers already sent by (output started at /events/index.php:583) in /events/themes/sro/theme.php on line 807

Warning: Cannot add header information - headers already sent by (output started at /web/docs/www.streetracing.org/htdocs/events/index.php:583) in /web/docs/www.streetracing.org/htdocs/events/include/functions.inc.php on line 51


here is the debug info:

There was an error while processing a database query.

While executing query "UPDATE cpg11d_pictures SET randpos = ROUND(RAND()*73) WHERE 1" on 0

mySQL error: Incorrect key file for table: 'cpg11d_pictures'. Try to repair it

in /events/include/functions.inc.php - Line: 105

any help would be appreciated.

rcsmith

I just used phpmyadmin and changed the talbe - pictures / randpos from

randpos  int(11)   No  0

to

randpos  int(11)   No  1

and this fixed the problem.  I noticed that in the sql/schema.sql file it's set to :

  randpos int(11) NOT NULL default '0',

I'm not sure if this is going to be problem for people or not?