forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: wfs on June 26, 2006, 03:55:06 pm
-
I must have accidentally done something to the codes of my index page.
I got this msg when I tried to refresh the index page:
"Critical error:
"There was an error while processing a database query"
In debug mode, the msg is:
"While executing query "SELECT sum(hits) FROM cpg148_pictures as p LEFT JOIN cpg148_albums as a ON p.aid=a.aid WHERE 1" on 0
mySQL error: Got error 127 from table handler"
and there' s a linewhich says:
File: /home/photogr1/public_html/include/functions.inc.php - Line: 249
How do I correct this error?
The other pages seems OK.
pse help.
thanks.
-
If you messed up index.php just reupload a non modified version. If you don't have one then download coppermine again
-
Hello,
I did what you advised.
I got this error msg when I tried to open the index page:
Template error
Failed to find block 'output_buffer'(#(<!-- BEGIN output_buffer -->)(.*?)(<!-- END output_buffer -->)#s) in :
<tr>
<td class="tableb" align="center">
<font size="3"><b>{MESSAGE}</b></font>
<!-- BEGIN file_line -->
<br />
<br />
{FILE_TXT}{FILE} - {LINE_TXT}{LINE}
<!-- END file_line -->
<br /><br />
</td>
</tr>
what do I have to do to correct the problem?
pse help.
-
I assume you still talk about that site http://www.photograffs.com/index.php ... looks like a server missconfig
and error 127 from table handler means that a table is corrupt. You shoulod repair that table (eg. with a tool like phpmyadmin or in the commandline myisamchk )
-
I'm thinking of deletng all files and the database on remote server and redo the installation of the software.
what are the things I need to pay attention to if I do this to avoid problems?
pse advise.
thanks.
-
I check further - the database show this mysql error:
#1016 - Can't open file: 'cpg148_pictures.MYI'. (errno: 145)
what does it mean? what can I do to rectify problem?
pse help.
thanks.
-
http://forum.coppermine-gallery.net/index.php?topic=10409.0
-
thank you so much - I got the problem solved.
you guys are great !! thanks....thanks...