Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: Error message

Error message 1 year 4 weeks ago #44643

  • samoskill
  • samoskill's Avatar
  • OFFLINE
  • OSTudent
  • Posts: 31
  • Karma: 0
jtablesession::Store Failed
DB function failed with error number 1017
Can't find file: './C245476_glistennext/jos_session.frm' (errno: 13) SQL=INSERT INTO -- session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` ) VALUES ( 'm57be0r7m7b5pg90srm1lt0vs4','1335441319','','0','1','0' )

how do i resolve this issue?
Knowledge is power! utilize every opportunity.
Please become a member of OSTraining to reply to this post.

Error message 1 year 4 weeks ago #44645

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 16851
  • Thank you received: 394
  • Karma: 57
Hi samoskill,

Where you do get the error? What are you doing when you get the error? What Joomla version are you using?

Looking forward to helping!

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Error message 1 year 4 weeks ago #44669

  • samoskill
  • samoskill's Avatar
  • OFFLINE
  • OSTudent
  • Posts: 31
  • Karma: 0
i am using joomla 1.5.25.
I uploaded the attached module and immediately got this error message.

www.glistenacademy.com. the error has now changed to Database Error: Unable to connect to the database:Could not connect to MySQL
Knowledge is power! utilize every opportunity.
Please become a member of OSTraining to reply to this post.

Error message 1 year 4 weeks ago #44671

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Hi Samoskill,

Most common cause of the first error you reported is database corruption. First thing I would try is to use cPanel or phpMyAdmin to repair the data base.

Then check your configuration.php file and see if the database settings are still correct. This tutorial will help.

www.ostraining.com/blog/joomla/guided-to...nfigurationphp-file/

If possible remove the module you just added. Get the site back to working condition first.

Ed
Please become a member of OSTraining to reply to this post.

Error message 1 year 4 weeks ago #44689

  • samoskill
  • samoskill's Avatar
  • OFFLINE
  • OSTudent
  • Posts: 31
  • Karma: 0
i wrote a ticket to my hosting company and this is what they had to say:


Details given:
We are notifying you that your account, or a portion or feature of your account has caused an overload on one of our servers. We have a shared hosting environment that we must maintain at a certain level of performance. This performance is monitored and balanced by us, however there are times when accounts can cause the server's load to increase degrading the performance for all other customers on this server.

To protect your account from further action you must agree to our request for compliance. Please respond to this message stating your intent to do so. You may either log into your control panel with us, and access this ticket via the 24/7 help desk, or provide this ticket number to our Live Chat or phone representatives.

Failure to respond to this message within 72 hours will result in the suspension of the affected domain with us until such a time as this matter is resolved.

Most common queries for C245476_*:

1.Time: 57% (11748 sec)
Amount: 50% (220 queries)
Rows Examined/Sent: 28262179 / 422
Avg. Query Exec/Lock Time: 53 / 0 sec.
Used databases: [C245476_glistennext]
Query example: use C245476_glistennext; SELECT c.*, i.catid, i.title, i.alias, category.alias as catalias, category.name as categoryname FROM -- k2_comments as c LEFT JOIN -- k2_items as i ON i.id=c.itemID LEFT JOIN -- k2_categories as category ON category.id=i.catid WHERE i.published=1 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2012-04-25 07:08:30' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2012-04-25 07:08:30' ) AND i.trash=0 AND i.access<=0 AND category.published=1 AND category.trash=0 AND category.access<=0 AND c.published=1 ORDER BY c.commentDate DESC LIMIT 0, 2;

2.Time: 12% (2489 sec)
Amount: 8% (36 queries)
Avg. Query Exec/Lock Time: 69 / 55 sec.
Used databases: [C245476_glistennext|C245476_joomla4|C245476_joomla5]
Query example: use C245476_glistennext; DELETE FROM -- session WHERE ( time < '1335250641' );

3.Time: 8% (1803 sec)
Amount: 5% (22 queries)
Avg. Query Exec/Lock Time: 81 / 73 sec.
Used databases: [C245476_glistennext]
Query example: use C245476_glistennext; UPDATE -- k2_items SET hits = ( hits + 1 ) WHERE id='28';

4.Time: 6% (1380 sec)
Amount: 6% (27 queries)
Avg. Query Exec/Lock Time: 51 / 38 sec.
Used databases: [C245476_glistennext|C245476_joomla5|C245476_joomla4]
Query example: use C245476_joomla4; UPDATE -- session` SET `time`='1335340503',`userid`='0',`usertype`='',`username`='',`gid`='0',`guest`='1',`client_id`='0',`data`='__default|a:8:{s:15:\"session.counter\";i:1;s:19:\"session.timer.start\";i:1335340502;s:18:\"session.timer.last\";i:1335340502;s:17:\"session.timer.now\";i:1335340502;s:22:\"session.client.browser\";s:71:\"Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)\";s:8:\"registry\";O:9:\"JRegistry\":3:{s:17:\"_defaultNameSpace\";s:7:\"session\";s:9:\"_registry\";a:1:{s:7:\"session\";a:1:{s:4:\"data\";O:8:\"stdClass\":0:{}}}s:7:\"_errors\";a:0:{}}s:4:\"user\";O:5:\"JUse ... [too long]

5.Time: 5% (1102 sec)
Amount: 6% (26 queries)
Rows Examined/Sent: 100430 / 14612
Avg. Query Exec/Lock Time: 42 / 2 sec.
Used databases: [C245476_glistennext]
Query example: use C245476_glistennext; SELECT session_id, time, guest, data FROM -- session WHERE '1=1' AND time >= 1335336317 AND time < 1335337200;

6.Time: 2% (591 sec)
Amount: 6% (27 queries)
Avg. Query Exec/Lock Time: 21 / 11 sec.
Used databases: [C245476_glistennext|C245476_joomla4]
Query example: use C245476_glistennext; INSERT INTO -- session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` ) VALUES ( '48u1bu0lioohbodjnkhqhmnn91','1335340500','','0','1','0' );

7.Time: 2% (568 sec)
Amount: 4% (19 queries)
Rows Examined/Sent: 890451 / 190
Avg. Query Exec/Lock Time: 29 / 0 sec.
Used databases: [C245476_glistennext]
Query example: use C245476_glistennext; SELECT * FROM -- k2_comments WHERE itemID=28 AND published=1 ORDER BY commentDate DESC LIMIT 6470, 10;

Database C245476_glistennext has been chmoded to 0.
Knowledge is power! utilize every opportunity.
Please become a member of OSTraining to reply to this post.

Error message 1 year 4 weeks ago #44695

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Well, that explains why you can't connect to your data base. They turned it off.

Looks like something is causing your excessive queries to the data base and overloading the server. You'l need to find out what is causing it and remove it from your site If it's something essential, you may have to expand your hosting account or bandwidth.

Your hosting company should be able to help you track this down. Get in touch with them asap and get your data base turned on again.

Ed
Please become a member of OSTraining to reply to this post.

Error message 1 year 4 weeks ago #44698

  • samoskill
  • samoskill's Avatar
  • OFFLINE
  • OSTudent
  • Posts: 31
  • Karma: 0
I have been back and forth with the hosting company, they claim that they don't know what exactly the problem is but i should get my developer to work on the database file... i had to download the database file
Knowledge is power! utilize every opportunity.
Please become a member of OSTraining to reply to this post.

Error message 1 year 4 weeks ago #44716

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
You could have a injection of a worm or something. Will your host do a virus/malware scan for you? Something is causing a heavy load on your site and it's probably not anything you installed. Although it looks like K2 is using the database quite a lot.

In the meantime. Create a new site in a subdirectory with it's own data base.Install all the plugins and things you want to test there and make sure the module you added wasn't what caused the problem.

You can test your plugins and make everything operational on that site, and then when the data base problem is solved you can just switch the data base back. Keep the copy for testing new modules so you don't destroy your main site when you do additions.

Ed
Please become a member of OSTraining to reply to this post.

Error message 1 year 3 weeks ago #44792

  • samoskill
  • samoskill's Avatar
  • OFFLINE
  • OSTudent
  • Posts: 31
  • Karma: 0
Thanks Ed.

I strongly believed what you said, so i brought down the website to notice that someone registered on the website via Joomsocial component and had Viagra pills up for sale adverts, which was apparently a kind of worm.

I took your advice and relaunched the website and now Its up and running well. www.glistenacademy.com

Thanks
Knowledge is power! utilize every opportunity.
Please become a member of OSTraining to reply to this post.

Error message 1 year 3 weeks ago #44857

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Really glad that worked for you. Those kinds of problems can keep you guessing. Good luck!

Cheers
Ed
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Powered by Kunena Forum

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.