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.
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?