forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: SpookyDan on August 18, 2008, 02:11:31 pm

Title: Fatal Error keeps coming back
Post by: SpookyDan on August 18, 2008, 02:11:31 pm
A few days ago someone informed me my website www.danhaga.com was not working so I checked it out to find a blank white screen with only the text "Fatal Error :". 

I rebuilt every table in my database and it solved the problem and i found out it was the sessions table.

The next day the problem was back.  Plain white screen & Fatal Error:

I got into mysql and entered REPAIR TABLE cpg149_sessions which fixed it again and upgraded to the latest coppermine version.

Now this morning I have the same error.  I fixed it again but Im sure it will be back.

Any suggestions for fixing this?

Thanks
Title: Re: Fatal Error keeps coming back
Post by: SpookyDan on August 19, 2008, 06:45:31 pm
This happened a few more times yesterday and I fixed it.

Today the gallery kinda shows up but says:

Critical Error

There was an error while processing a database query

(screenshot attached)
Title: Re: Fatal Error keeps coming back
Post by: SpookyDan on August 19, 2008, 06:48:35 pm
Oh and running "REPAIR TABLE cpg149_sessions" does not fix this one.

On a side note I have other coppermine installations sepparate on my domain and they are running fine.
Title: Re: Fatal Error keeps coming back
Post by: Nibbler on August 19, 2008, 07:01:35 pm
Enable debug mode and see what the problem is.

http://coppermine-gallery.net/tutorial/debug_mode.php
Title: Re: Fatal Error keeps coming back
Post by: SpookyDan on August 19, 2008, 07:14:46 pm
Ive attached a screenshot of the error message.  You can also go to www.danhaga.com and see it for yourself.

__________________________

USER:
------------------
Array
(
    [ID] => e579c80ecd0dac17653959a6b25c3a62
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [user_id] => 1
    [user_name] => ***
    [groups] => Array
        (
           
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   
Title: Re: Fatal Error keeps coming back
Post by: Nibbler on August 19, 2008, 07:33:21 pm
If running a repair doesn't help then you need to contact your host for support.
Title: Re: Fatal Error keeps coming back
Post by: SpookyDan on August 19, 2008, 09:11:04 pm
Ive emailed tech support with my problems...

In the meantime i repaired the pictures table (see attachment for mysql messages)

Than I got a fatal error mentioning config file (see attached)

I repaired config than got a fatal error mentioning sessions table again (see attached)

I repaired sessions and the site is working again but for how long...


Title: Re: Fatal Error keeps coming back
Post by: Joachim Müller on August 23, 2008, 08:26:45 am
As Nibbler suggested: ask your webhost for support: one (ore more) database tables constantly crashing and needing repair is not related to coppermine, but an indication of something fishy on the webserver's end where the database runs on. Only your webhost can fix this for you. No need to go through all the effort and post debug_output and a lot of screenshots. Don't ask the mailman to get a new pair of shoes if he constantly falls down the stairs leading to your house. Instead: fix the stairs - they must be broken.