Database Error: After Site offline. Cookies problem.

General questions relating to Joomla! 1.5 There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
zefex
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Jun 25, 2010 7:00 pm

Database Error: After Site offline. Cookies problem.

Post by zefex » Fri Jun 25, 2010 7:09 pm

Hi guys i am new to joomla but not new to programming. I have spent the last 80hrs working on this joomla site, i finally finished!!! I went to bed last night knowing i would turn the project in to the client in the morning. I woke up to find the whole site with errors all over the place. :'(

I am devastated because i lost so much time. Can anyone help me please?

Image
Last edited by zefex on Fri Jun 25, 2010 8:02 pm, edited 2 times in total.

zefex
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Jun 25, 2010 7:00 pm

Re: Hacked? What happened, Joomla crashed?

Post by zefex » Fri Jun 25, 2010 7:15 pm

Now i reloaded the page again and got a different error:

Mage::app(1,website) failed: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

I dont understand what happened, the site was running perfect yesterday.

Im using Host Gator server (the planet)

Update 1:

Again i reloaded the site and got another error!

Database Error: Unable to connect to the database:Could not connect to MySQL

Update 2:

I found the problem, for some reason when i put the website in offline, it created this problem. Something wrong with the cookie being produced in offline mode. I had to clear the cookies and or cache to get the site to show back up. Really weird bug. When i put the site in offline again, the problem came back. I had to clear the cookies and cache all over again.
Last edited by zefex on Fri Jun 25, 2010 7:42 pm, edited 1 time in total.

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12785
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Hacked? What happened, Joomla crashed?

Post by brian » Fri Jun 25, 2010 7:38 pm

Check with your webhost to make sure there are no issues with the mysql server. All these errors point to the web server being unable to talk to the mysql server
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

zefex
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Jun 25, 2010 7:00 pm

Re: Hacked? What happened, Joomla crashed?

Post by zefex » Fri Jun 25, 2010 7:44 pm

brian wrote:Check with your webhost to make sure there are no issues with the mysql server. All these errors point to the web server being unable to talk to the mysql server
Oooops you posted as i was leaving my second update. I actually did contact my host, (host gator) the tech guy is the one who told me to clear my cache and my cookies, it brought the site back up. But when i put the site in offline mode, it happenes all over again after logging in.

Something wrong with the cookie sessions or token, not sure, verry buggy.


Thanks for your reply!

Update:

I should mention i have mage-bridge installed.

I am using Joomla Version 1.5.18

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12785
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Database Error: After Site offline. Cookies problem.

Post by brian » Fri Jun 25, 2010 8:14 pm

cookie sessions or tokens generated by joomla could not be responsible for not connecting to the database. No idea about mage-bridge
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

zefex
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Jun 25, 2010 7:00 pm

Re: Database Error: After Site offline. Cookies problem.

Post by zefex » Fri Jun 25, 2010 8:36 pm

Garrrr, i was wrong again, ok, ANY time i try to log in to the front end the site can not connect to database. I can loginto the backend just fine.

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12785
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Database Error: After Site offline. Cookies problem.

Post by brian » Fri Jun 25, 2010 9:03 pm

/me thinks it must be something to do with magebridge
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

zefex
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Jun 25, 2010 7:00 pm

Re: Database Error: After Site offline. Cookies problem.

Post by zefex » Sat Jun 26, 2010 2:17 am

I isolated the error to be from mage bridge after i make active:

plugin_manager>User - MageBridge

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12785
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Database Error: After Site offline. Cookies problem.

Post by brian » Sat Jun 26, 2010 3:09 am

told you so ;)
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/


Locked

Return to “General Questions/New to Joomla! 1.5”