Scripts aren't loaded
4 posters
Page 1 of 1
Scripts aren't loaded
Hello,
www.schiggysboard.com
phpbb3
I've got problems with cookies and auto login for a few months. Today I got the problem that the toolbar does not appear and the admin cp does appear without layout (look at screenshot below).
I installed the folowing script:
After that I got the following error meesages by pressing STRG + Shift + K (in Firefox):
ReferenceError: Toolbar is not defined www.schiggysboard.com:86:0
ReferenceError: my_getcookie is not defined www.schiggysboard.com:305:0
ReferenceError: insertChatBoxPopup is not defined www.schiggysboard.com:397:0
ReferenceError: fa_endpage is not defined www.schiggysboard.com:406:0
ReferenceError: cookieChoices is not defined www.schiggysboard.com:401:16
Does anyone has an idea what the problem is and what I can do against that?
Thanks in advance.
www.schiggysboard.com
phpbb3
I've got problems with cookies and auto login for a few months. Today I got the problem that the toolbar does not appear and the admin cp does appear without layout (look at screenshot below).
I installed the folowing script:
- Code:
function addEvent(event, target, f) {
if(typeof target.addEventListener === "function" && typeof f === "function") {
target.addEventListener(event, f);
} else if(typeof target.attachEvent === "function" && typeof f === "function") {
target.attachEvent("on" + event, f);
} else {
throw new Error("Could not add event to selected target.");
}
}
After that I got the following error meesages by pressing STRG + Shift + K (in Firefox):
ReferenceError: Toolbar is not defined www.schiggysboard.com:86:0
ReferenceError: my_getcookie is not defined www.schiggysboard.com:305:0
ReferenceError: insertChatBoxPopup is not defined www.schiggysboard.com:397:0
ReferenceError: fa_endpage is not defined www.schiggysboard.com:406:0
ReferenceError: cookieChoices is not defined www.schiggysboard.com:401:16
Does anyone has an idea what the problem is and what I can do against that?
Thanks in advance.
Re: Scripts aren't loaded
So when you remove that JavaScript, the errors disappear?
I do not see a screenshot.
I do not see a screenshot.
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: Scripts aren't loaded
So the problem with acp and toolbar were caused by DNS. I deleted the DNS cache, now it's working fine.
But the other problem (auto-login) is still there, of course for all users. This problem is there for a few months. I asked some people with knowledge - they told me whether it's caused by forumotion or by an installed script.
Do you have an idea?
PS: Even if it doesn't matter now, the screenshot can be seen below the hint in brackets to this screen. Also, the javascript has no connections to the problems. It was installed for cookies (because of the problem with auto-login).
But the other problem (auto-login) is still there, of course for all users. This problem is there for a few months. I asked some people with knowledge - they told me whether it's caused by forumotion or by an installed script.
Do you have an idea?
PS: Even if it doesn't matter now, the screenshot can be seen below the hint in brackets to this screen. Also, the javascript has no connections to the problems. It was installed for cookies (because of the problem with auto-login).
Last edited by darki on Mon May 04, 2015 8:01 pm; edited 1 time in total
Re: Scripts aren't loaded
Your forum is already using cookies.
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: Scripts aren't loaded
What exactly is the issue?
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: Scripts aren't loaded
The problem is that the users (including me) have to login again after some hours (sometimes: days), although we chose "automatically login".
Re: Scripts aren't loaded
When you close your browsers, most of them clear your history and cache. I would not want accounts to be logged in for days.
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: Scripts aren't loaded
Yeah, but my users want that.
Way back in 2014 (amd previously) the problem didn't exist.
It has nothing to do with clearing cache and history by closing the browser, the users (including me) only have the problem in my forum.
Way back in 2014 (amd previously) the problem didn't exist.
It has nothing to do with clearing cache and history by closing the browser, the users (including me) only have the problem in my forum.
Re: Scripts aren't loaded
This option can only be set to 60.
Time in minutes before a member is considered "Offline" :
Time in minutes before a member is considered "Offline" :
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: Scripts aren't loaded
Has this option connection to the problem?
Why should users not be logged out due to this option?
Why should users not be logged out due to this option?
Re: Scripts aren't loaded
Hi @darki,
I'm assuming it's because the function is missing a semi-colon on it's closing bracket. I notice this happens whenever I declare a function without a semi-colon in JS management. It seems to occur, because forumotion automatically minifies our scripts to save space.
I believe in no way it should affect your administration panel, mainly because those scripts cannot directly modify the administration pages. It could be a problem with your cache which I highly recommend that you clear. As for the code, replace it with this and you should be good :
I'm assuming it's because the function is missing a semi-colon on it's closing bracket. I notice this happens whenever I declare a function without a semi-colon in JS management. It seems to occur, because forumotion automatically minifies our scripts to save space.
I believe in no way it should affect your administration panel, mainly because those scripts cannot directly modify the administration pages. It could be a problem with your cache which I highly recommend that you clear. As for the code, replace it with this and you should be good :
- Code:
function addEvent(event, target, f) {
if(typeof target.addEventListener === "function" && typeof f === "function") {
target.addEventListener(event, f);
} else if(typeof target.attachEvent === "function" && typeof f === "function") {
target.attachEvent("on" + event, f);
} else {
throw new Error("Could not add event to selected target.");
}
};
Re: Scripts aren't loaded
As I told some posts above, I have already cleared the DNS cache which was the solution for the problems toolbar and acp.
Also, the script were for the cookies and to get error messages (to recognize the reason of the problems). Because of the fact that I got the error nessages above, I would say the script worked.
My actual problem is that the users (including me) have to login again after some hours (sometimes: days), although we chose "automatically login". Regardless of whether you or other staff don't want to be logged in for days, I hope to get an answer from you.
An other support told me that the reason are maybe defect cookies or a script. So I told my users to clear their cookies, now I wait for a result from them. But if that's not the reason, how I will find cleverly the script which is causing the problem?
Thanks in advance!
Also, the script were for the cookies and to get error messages (to recognize the reason of the problems). Because of the fact that I got the error nessages above, I would say the script worked.
My actual problem is that the users (including me) have to login again after some hours (sometimes: days), although we chose "automatically login". Regardless of whether you or other staff don't want to be logged in for days, I hope to get an answer from you.
An other support told me that the reason are maybe defect cookies or a script. So I told my users to clear their cookies, now I wait for a result from them. But if that's not the reason, how I will find cleverly the script which is causing the problem?
Thanks in advance!
Re: Scripts aren't loaded
Was this working before? I do not believe that you can stay logged in for days.
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: Scripts aren't loaded
Yes, of course, otherwise I would not have asked.
Normally, Users are logged in for a month. Then they will be logged out for security reason (other support told me).
Normally, Users are logged in for a month. Then they will be logged out for security reason (other support told me).
Last edited by darki on Wed May 06, 2015 11:21 am; edited 1 time in total
Re: Scripts aren't loaded
Do the users having the problem ever use different devices or browsers to view the forum?
-Brandon
-Brandon
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: Scripts aren't loaded
What other support?darki wrote:Yes, of course, otherwise I would not have asked.
Normally, Users are logged in for a month. Then they will be logged out for security reason (other support told me).
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: Scripts aren't loaded
German ... told me the following (I translated it into english):
A note yet: At the beginning of the month Auto-login cookie expires for security reasons. That means, early in the month, all users must log in again.
Re: Scripts aren't loaded
Have you tried on the official French support forum?
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: Scripts aren't loaded
The company that owns Forumotion is in France.
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: Scripts aren't loaded
darki wrote:Yes, no matter what device oder browser..
Well if they use different devices then they would need re login for each device and set a the remmeber me, same goes for browsers, if I were to login into my (or any) forum on my cell phone and hit remmeber me, then went on my pc or tablet, it would not remmeber that I logged in on my cellphone because the cookie was stored ONLY on my cell. So I would have to relogin again on my pc or tablet, also using different browser often has the thing, cookies are stored BY the browser and ONLY on the browser, so only THAT browser will 'remmeber' that you logged ib. Any other browser would not.
So try telling your users to use the same device and browser consistently when viewing your forum to avoid such problems.
Regards,
-Brandon
Re: Scripts aren't loaded
No, that doesn't matter. Once the auto-login worked fine, the problem hadn't been there.
Also, it is actually so, that sometimes auto-login is working fine. Then we, my users and me, can user different devices/ browser without problems.
I hope you can understand me..
Also, it is actually so, that sometimes auto-login is working fine. Then we, my users and me, can user different devices/ browser without problems.
I hope you can understand me..
Similar topics
» javascripts arent working
» Facebook Links Under member profiles arent working.
» How to Add Scripts for a user Bar?
» Where i can find scripts?
» Need Scripts to do this ,
» Facebook Links Under member profiles arent working.
» How to Add Scripts for a user Bar?
» Where i can find scripts?
» Need Scripts to do this ,
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum