News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Critical error after upgrading

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

Previous topic - Next topic

0 Members and 1 Guest 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?