2012-04-12, 03:38 PM
Hello, I am debuging some .js errors on my forum.
My current board is 1.6.7 and I am using the default template with some modifications.
The url is www.serespensantes.com
I still have plenty of js errors to correct (including one that don't allow to use the multi-quote functionality) buy I started with some errors in the index.
When did it happen? when I clicked on the +/- to open or close a forum section.
What was the error?
In my case, the following variables are not defined in the var "Cookie" (line 429 to 488):
-cookieDomain, cookiePath.
I checked the js code and in fact, they are never defined and are only used in this function.
What I did? I hardcoded the values according to my settings in the acp.
I don't know if this is correct or no. I help however it helps to solve some issues to someone.
However, I would like to know why those vars where originaly included in the js, if they are never defined. Maybe is just me missing something, maybe it is a general bug that needs to be fixed.
Any comments on this are welcome.
My current board is 1.6.7 and I am using the default template with some modifications.
The url is www.serespensantes.com
I still have plenty of js errors to correct (including one that don't allow to use the multi-quote functionality) buy I started with some errors in the index.
When did it happen? when I clicked on the +/- to open or close a forum section.
What was the error?
In my case, the following variables are not defined in the var "Cookie" (line 429 to 488):
-cookieDomain, cookiePath.
I checked the js code and in fact, they are never defined and are only used in this function.
What I did? I hardcoded the values according to my settings in the acp.
I don't know if this is correct or no. I help however it helps to solve some issues to someone.
However, I would like to know why those vars where originaly included in the js, if they are never defined. Maybe is just me missing something, maybe it is a general bug that needs to be fixed.
Any comments on this are welcome.