Error Login [Problem Solved]

putee

Joined: 2010-02-11
Posts: 9
Posted: Tue, 2011-07-12 22:10

Hi All,

When I login as site admin the following error below shown: All albums can be viewed normally and works fine.

I have installed Gallery 2 for 5+ years and have not upgrade anything. The last time accessing site admin was few months ago.
The only thing I remember was when I asked my server's provider to restore some of mysql files but it was not related to Gallery 2 database.

Any feedback and assistance will be highly appreciated

quote
An error has occurred.

Back to the Gallery

Error Detail -
Error (ERROR_COLLISION)
in modules/core/classes/GallerySession.class at line 760 (GalleryCoreApi::error)
in modules/core/classes/GallerySession.class at line 340 (GallerySession::_acquireNewPersistentSession)
in modules/core/classes/GallerySession.class at line 529 (GallerySession::start)
in modules/core/UserLogin.inc at line 146 (GallerySession::regenerate)
in main.php at line 199 (UserLoginController::handleRequest)
in main.php at line 87
in main.php at line 80
System Information
Gallery version 2.1.2
PHP version 5.2.2 apache2handler
Webserver Apache/2.0.52 (Red Hat)
Database mysqlt 5.0.67
Toolkits SquareThumb, ImageMagick, Gd
Operating system Linux puterakembara.org 2.6.18-028stab070.5 #1 SMP Fri Sep 17 15:37:23 MSD 2010 i686
Browser Mozilla/5.0 (Windows NT 6.0) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.112 Safari/534.30

unquote

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Wed, 2011-07-13 04:40

First off, your gallery version is outdated.

However, post a link to your site.

In the interim, clear all cookies in your browser and try again.

--
dakanji.com

 
putee

Joined: 2010-02-11
Posts: 9
Posted: Wed, 2011-07-13 12:09

Hi Dayo,

I realised its outdated but so far it works fine.

I've cleared all cookies and tried again - still no luck.
here is link to my gallery
http://www.puterakembara.org/gallery2/main.php

Thx

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Wed, 2011-07-13 13:37

The need to update software is not driven by whether it works fine or not but that bugs, or more importantly, security holes have been fixed. Anyway, that is your decision ... just don't complain if you ever get hacked.

As for the collision, do you run the site embedded in Joomla or similar?

I can see you run some form of CMS but couldn't ID a link to the gallery from the main page.

If you do, try loging in directly in G2 rather than through the CMS.

--
dakanji.com

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2011-07-13 15:05

Your website is categorized by Websense as "Phishing and Other Frauds"

That may or may not be something you want to investigate. If you're site has been hacked that could potentially be causing the other issues you're having.
____________________________________________
Like Gallery? Like the support? Donate now!

 
putee

Joined: 2010-02-11
Posts: 9
Posted: Wed, 2011-07-13 22:26

Dayo and nivekiam, thank you for your comments and advice

I just noticed that my g2data folder is unprotected and web accessible it may have been hacked.

I have no time to fix it now - for the time being I've just make my gallery2 folder including g2data folder password protected - only my members with password can view album. It's not convenience but it's more important to stop the hacker.

Regarding CMS I am using the "traditional" Greymatter using perl script.
I will update to gallery 2.3.1 but not version 3 because my server does not have some of the minimum requirements.
Actually I have installed Gallery 2.3 but still don't have time to move all albums and themes from my gallery 2.1.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2011-07-13 22:56

Web accessible or not, that's not the reason why your site has been hacked

It the CMS software you're using, 2nd hit on google dug this up:
http://forum.reverac.com/viewtopic.php?t=58&sid=f0ab3bb5e9bf4160a4eedfdf1b0d2547

____________________________________________
Like Gallery? Like the support? Donate now!

 
putee

Joined: 2010-02-11
Posts: 9
Posted: Thu, 2011-07-14 00:31

Thank you for your reminder nivekiam
I have also set my cgi-bin folder with a secured password

 
putee

Joined: 2010-02-11
Posts: 9
Posted: Fri, 2011-07-15 11:11

I have fixed the problem :)
one of the table g2_SessionMap is corrupted. After repairing the table now everything OK.

see this forum below:
http://gallery.menalto.com/node/51312