Advanced search  

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

Pages: [1]   Go Down

Author Topic: Home page error  (Read 5253 times)

0 Members and 1 Guest are viewing this topic.

wfs

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 95
Home page error
« 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.
« Last Edit: June 27, 2006, 07:35:44 am by TranzNDance »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Home page error
« Reply #1 on: June 26, 2006, 04:04:46 pm »

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

wfs

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 95
Re: Home page error
« Reply #2 on: June 26, 2006, 04:36:49 pm »

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

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Home page error
« Reply #3 on: June 26, 2006, 04:46:04 pm »

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

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 95
Re: Home page error
« Reply #4 on: June 27, 2006, 01:53:04 am »

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

wfs

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 95
Re: Home page error
« Reply #5 on: June 27, 2006, 02:22:38 am »

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

Nibbler

  • Guest
Logged

wfs

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 95
Re: Home page error
« Reply #7 on: June 27, 2006, 04:33:02 am »

thank you so much - I got the problem solved.

you guys are great  !!  thanks....thanks...
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 21 queries.