Merging messages i get request limit exceeded
4 posters
Page 1 of 1
Merging messages i get request limit exceeded
Hello,
Today i tried merging two posts and i got the limit exceeded out of nowhere. I didn't get this over a long time after the updates i made but now it won't allow me to merge any posts. Please help me!
Thanks for your time,
MrMind.
Today i tried merging two posts and i got the limit exceeded out of nowhere. I didn't get this over a long time after the updates i made but now it won't allow me to merge any posts. Please help me!
Thanks for your time,
MrMind.
Last edited by MrMind on September 8th 2014, 5:28 pm; edited 1 time in total
Re: Merging messages i get request limit exceeded
Try clearing your browser's cache history.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Merging messages i get request limit exceeded
Hello MrMind,
Do you use any scripts which utilize the jQuery load() method ? The only way you'll see this message is if you're sending too many requests to the server. Using the load() method loosely will increase your chances of reaching the request limit.
By loosely I mean using load() while the page is loading and not caching the results.
Do you use any scripts which utilize the jQuery load() method ? The only way you'll see this message is if you're sending too many requests to the server. Using the load() method loosely will increase your chances of reaching the request limit.
By loosely I mean using load() while the page is loading and not caching the results.
Re: Merging messages i get request limit exceeded
I know about these two commands. The load() and the get(). I searched my javascripts and i have 2 javascripts that conclude the command load() just once each. Should i delete them?
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Re: Merging messages i get request limit exceeded
It depends when they are triggered. Do they load the specified URL when the page loads, or on an event such as Click ?
Re: Merging messages i get request limit exceeded
When i click a button i get this...
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Re: Merging messages i get request limit exceeded
Try disabling your JavaScripts temporarily to see if it's the cause.
Administration panel > Modules > JavaScript codes management
Enable javascript code management : no, and save
Administration panel > Modules > JavaScript codes management
Enable javascript code management : no, and save
Re: Merging messages i get request limit exceeded
I did that and i didn't get that message.
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Re: Merging messages i get request limit exceeded
If that's the case you should try rooting out the cause. To do that :
1. ) Re-enable javascript management
2. ) Edit a script and untick it from all pages ( nothing should be ticked ), save
3. ) Test to see if that script was the cause
Repeat step 2 & 3 until you've found the script causing it.
1. ) Re-enable javascript management
2. ) Edit a script and untick it from all pages ( nothing should be ticked ), save
3. ) Test to see if that script was the cause
Repeat step 2 & 3 until you've found the script causing it.
Re: Merging messages i get request limit exceeded
When i find that script i must delete it or can i do something to make it work without the load() command?
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Re: Merging messages i get request limit exceeded
It depends how it's used. If it's a little bit of HTML being loaded it can certainly be cached.
If you're using load() there is no other way to load data from another page, so unfortunately you'll have to stick with AJAX.
If you're using load() there is no other way to load data from another page, so unfortunately you'll have to stick with AJAX.
Re: Merging messages i get request limit exceeded
This is the only one i have with the load command. It has it just once.
- Javascript (avarar recent topic):
- Code:
jQuery(document).on('ready', function() {
jQuery('.avt_recent').prepend('<div class="avt-r"><div>');
jQuery('.avt_recent .avt-r').each(function () {
var profileUserURL = jQuery(this).parent().children('.recent_space').children('a:last').attr('href');
jQuery(this).html('<a href="' + profileUserURL + '" class="avt-r-enlace"><img src="http://r14.imgfast.net/users/1417/27/86/76/avatars/1-19.png" alt="No Avatar" /></a>');
jQuery(this).children('a').load(profileUserURL + ' .module:eq(0) img:eq(0)')
});
});
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Re: Merging messages i get request limit exceeded
What is the purpose of this script; what does it modify ?
Re: Merging messages i get request limit exceeded
It adds the avatar in the recent topic widget.
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Re: Merging messages i get request limit exceeded
There's the problem, you're sending 6 requests to load a members avatar every time you go to another page.
See if this is better, it should cache the data :
Administration Panel > Modules > JavaScript Codes management > Create a new script
Title : Your choice
Placement : Wherever the widget displays
And CSS :
Display > Colors > CSS stylesheet
See if this is better, it should cache the data :
Administration Panel > Modules > JavaScript Codes management > Create a new script
Title : Your choice
Placement : Wherever the widget displays
- Code:
$(function(){
if(!window.localStorage) return;
// Avatar por defecto
var default_avatar= 'http://2img.net/i/fa/invision/pp-blank-thumb.png';
// Tiempo de cache, aqui 24 h * 60 m * 60 s * 1000 ms entonces un día
var caching_time= 24*60*60*1000;
// Tiempo de cache de un error, ici 60 s * 1000 ms entonces un minuto
var caching_error= 60*1000;
var set_avatar= function(id) {
$('.mini_ava2.member'+id).html('<img src="'+get_avatar(id)+'" />');
};
var get_avatar= function(id) {
if(localStorage.getItem('t_ava'+id) < +new Date - caching_time || (localStorage.getItem('d_ava'+id)==default_avatar && localStorage.getItem('t_ava'+id) < +new Date - caching_error))
{
localStorage.setItem('d_ava'+id, default_avatar);
$.get('/u'+id, function (d){
localStorage.setItem('t_ava'+id,+new Date);
localStorage.setItem('d_ava'+id, $('#profile-advanced-right .module:first div img:first,.forumline td.row1.gensmall:first > img, .frm-set.profile-view.left dd img,dl.left-box.details:first dd img, .row1 b .gen:first img, .real_avatar img',d).first().attr('src')||default_avatar);
set_avatar(id);
});
}
return localStorage.getItem('d_ava'+id);
};
var to_replace= {};
$('.module.main:has(a[href^="/t"]) a[href^="/u"]').each(function(){
to_replace[$(this).attr('href').substr(2)]= 1;
$(this).before('<span class="mini_ava2 member'+$(this).attr('href').substr(2)+'"></span>');
});
for(i in to_replace)
{
set_avatar(i);
};
});
And CSS :
Display > Colors > CSS stylesheet
- Code:
.mini_ava2 > img {
height: 20px;
margin-right: 5px;
width: 20px;
}
Re: Merging messages i get request limit exceeded
Excellent! That makes my forum a lot faster than it was! Thanks so so much!
Problem SOLVED!!!
Problem SOLVED!!!
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Similar topics
» request limit exceeded
» Request limit exceeded
» Request limit excedded?
» Limit of 200 posts for private messages
» Request Limit?
» Request limit exceeded
» Request limit excedded?
» Limit of 200 posts for private messages
» Request Limit?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum