Home page error Home page error
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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