Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

1226 exceeding 'max_questions'


4 replies to this topic

#1 ptouch

  • Community Member
  • 20 posts
  • Real Name:Ptouch

Posted 02 January 2007, 23:19

HELP EMERGENCY

i can't see my website nor fix anything in admin
i tried to read up on what BOXTEL suggested but i dont kno how to dd users in my database?


i get this error in my admin control pannel

1226 - User 'breakgir_p_os2' has exceeded the 'max_questions' resource (current value: 50000)

select orders_status_name, orders_status_id from orders_status where language_id = '1'

#2 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 03 January 2007, 00:49

It means you have reached a limit set by your host. Wait for the cycle to reset and it wil work again (until you reach the limit once more). You could ask your host to increase the limit but they usually won't. In that case, if it is not something you want to put up with, you will need to change hosts.

Jack

#3 alexp4

  • Community Member
  • 17 posts
  • Real Name:Alex Park

Posted 13 March 2007, 23:21

I had the same issue, I just resolved it with others help.

First of all create additional user names for your database then

go into includes/configure.php
and admin/includes/configure.php

replace this
define('DB_SERVER_USERNAME', 'username');

with

// define our database connection
define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
// define('DB_SERVER_USERNAME', 'username');
$DB_SERVER_USERNAME_group[] = "username2";
$DB_SERVER_USERNAME_group[] = "username3";
$DB_SERVER_USERNAME_group[] = "username4";
$DB_SERVER_USERNAME_group[] = "username5";
$DB_SERVER_USERNAME_group[] = "username6";
define('DB_SERVER_USERNAME', $DB_SERVER_USERNAME_group[ rand( 0, (sizeof($DB_SERVER_USERNAME_group)-1) ) ]);


*Note username2 thru username6 are the additional user names you created for your database.

#4 nudylady

  • Community Member
  • 234 posts
  • Real Name:nudylady

Posted 21 November 2009, 06:38

yes, above method is good

#5 Jan Zonjee

  • Team Member
  • 6,975 posts
  • Real Name:Jan Zonjee
  • Gender:Male
  • Location:the Netherlands

Posted 21 November 2009, 12:41

View Postnudylady, on 21 November 2009, 06:38, said:

yes, above method is good
But reducing the number of queries is obviously a better way.