forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: edy on February 01, 2009, 04:16:53 pm

Title: Gallery Bug after normal using since months (...) Need help
Post by: edy on February 01, 2009, 04:16:53 pm
Well here is the problem

I'm using my gallery since years. i's installed the last version moded by stramm and everything was working perfectly well till I decided to Undo the watermark effect.
Istead of Saving the changed I did, I clicked on "Restor". Then I realized that this wasn't actually what I wanted to I get back and clickt "Save changes" (In Configuration of corse).
And then suddenly everything got white. And the gallery dissapeared... I tried to enable debug mode via phpmyadmin, and its still not working..

here is the link: http://spearsintentions.com/Photos/ (http://spearsintentions.com/Photos/)

Thanx =)

Best regards
edy
Title: Re: Gallery Bug after normal using since months (...) Need help
Post by: Nibbler on February 01, 2009, 04:45:00 pm
Don't delete the classic theme. Re-upload it.
Title: Re: Gallery Bug after normal using since months (...) Need help
Post by: edy on February 01, 2009, 04:59:37 pm
Don't delete the classic theme. Re-upload it.

Thanx for answering that fast. I reuploaded the Classic theme and now it says that there was an critical error:

http://spearsintentions.com/Photos/ (http://spearsintentions.com/Photos/)

 :(
Title: Re: Gallery Bug after normal using since months (...) Need help
Post by: Nibbler on February 01, 2009, 05:30:27 pm
Delete the 'users online' plugin and reinstall it once your gallery is working again.
Title: Re: Gallery Bug after normal using since months (...) Need help
Post by: edy on February 01, 2009, 05:31:42 pm
Thanx for answering that fast. I reuploaded the Classic theme and now it says that there was an critical error:

http://spearsintentions.com/Photos/ (http://spearsintentions.com/Photos/)

 :(

Upadate:
Here is the error:

While executing query "DELETE FROM cpg14x_mod_online WHERE last_action < NOW() - INTERVAL  MINUTE" on 0

mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1



Fichier: /home/spearsin/public_html/Photos/include/functions.inc.php - Ligne: 248 

Infos:
USER:
------------------
Array
(
    [ID] => af9417fc94cd07f018703e13ffbf60f7
    [am] => 1
    [lang] => french
    [liv] => Array
        (
            [user_id] => 0
    [user_name] => Guest
    [groups] => Array
        (
           
        )

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

==========================
Queries:
------------------
Array
(
   
Title: Re: Gallery Bug after normal using since months (...) Need help
Post by: Joachim Müller on February 01, 2009, 08:06:22 pm
Delete the plugin and the error should go away. To get rid of the plugin, use your FTP app and delete the folder that correspdonds to http://spearsintentions.com/Photos/plugins/onlinestats/. Then use phpMyAdmin, browse the table "cpg14x_plugins", find the entry that corresponds to the "Who is online" plugin and delete that line. Finally, delete the table cpg14x_mod_online.
If you're not sure what you're doing, backup your database first before performing the database editing! Making a mistake there will have a very serious impact and can not be undone.

In the future, don't post debug_output unless requested. The entire issue is not related to initial install, so I'm moving this thread accordingly.
Title: Re: Gallery Bug after normal using since months (...) Need help
Post by: edy on February 01, 2009, 09:05:02 pm
thank you very much for your help :)