Home page error Home page 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

Home page error

Started by wfs, June 26, 2006, 03:55:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wfs

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.

Stramm

If you messed up index.php just reupload a non modified version. If you don't have one then download coppermine again

wfs

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.

Stramm

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 )

wfs

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.

wfs

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.


wfs

thank you so much - I got the problem solved.

you guys are great  !!  thanks....thanks...