View Full Version : Rotation script error
rojaba
01-26-2007, 05:07 PM
the rotation script seems to be causing java errors in my browser. Is there anyway of switching off rotation without losing the entire headline box?
90doksun
02-24-2007, 09:38 PM
I've also have this problem...
Problem with rotating headlines can appear if you amend the .tpl file behind it (headlines.tpl), or if you use non-english characters that are not in utf-8 format.
If non of this is the reason, submit a support ticket on HelpDesk.
90doksun
02-25-2007, 11:17 AM
Yes I'm using non english charset. But I also tried english version. Error is going on...
Error line is 85
Error is object required...
cyberghoser1
02-26-2007, 03:06 PM
i have this problem too, just to tell you what happen, when i use utf-8 charset everything is ok, rotation is working well, if i write in Greek(iso-8859-7) or win-1235 charset rotation dont work anymore, searched a lot in tpl files and lang files, i maded english lang file to win-1235 charset greek characters diplay normal but rotation gets error in line 85, reason: object requires, dont know if you have a solution for that would be great !
Thanks
Micha
02-27-2007, 03:47 PM
This is often the problem that happens because WYSIWYG editor inserts special characters by their entity name (for example " £…), but XML doesn’t parse them by their name, instead it requires their entity number (" ; £ ;…), and this is where AJAX crashes and blocks headline rotation.
In HTML_function character encoding is included, however the list is not complete.
To fix this, in your HTML_function somewhere around line 1857 (// XML special chars problem) you need to replace entire list of existing characters with the list in the attachment.
This is complete list of ISO-8859-1 (Latin-1) characters, and after you replace the existing list, headline rotation should function properly.
Hope this helps. :)
cyberghoser1
02-27-2007, 04:41 PM
thank you very much, at this moment its not working yet. maybe cause greek uses ISO-8859-7 and not ISO-8859-1 ? hope we will fix this
90doksun
02-27-2007, 08:39 PM
Yes I also tried it but it didn't work... It seems a java script problem at me. and I use ISO-8859-9 charset.
cyberghoser1
02-28-2007, 11:18 AM
Well if someone of the devs or anyone has a solution we will be very happy.
cyberghoser1
02-28-2007, 02:09 PM
sorry to spam guys but this is gonna make me crazy, its important for me.
Anima
03-01-2007, 03:25 AM
Thanks Micha, your fix resolved the issue for me. Appreciate you making it available :)
Micha
03-01-2007, 09:34 AM
thank you very much, at this moment its not working yet. maybe cause greek uses ISO-8859-7 and not ISO-8859-1 ? hope we will fix this
Yes I also tried it but it didn't work... It seems a java script problem at me. and I use ISO-8859-9 charset.
Problems with other charsets are being resolved, hopefully we'll find acceptable solution very soon :)
cyberghoser1
03-01-2007, 10:56 AM
well i hope very soon :) , btw i know a lot of changes have been done from version 3.25 to 3.40 but in 3.25 the rotation works with greek charset, i checked both version's html_function files but in XML special charcters problem section there is a bigger list in the 3.40 version of script.So i'm lost i dont know what to do anymore.I'm waiting the staff to fix that.
90doksun
03-01-2007, 09:02 PM
cyberghoser1 is right. in 3.25 it works but 3.4 it doesnt... i think its a very simple problem. but who can find it...
Micha
03-02-2007, 12:27 PM
You can find fix for rotating headlines on this post:
http://www.vivvo.net/forums/showthread.php?p=1989#post1989
Hope it helps :)
90doksun
03-02-2007, 05:17 PM
Ohhhh yeaaa thanks a lot Micha...
cyberghoser1
03-02-2007, 05:37 PM
Micha , you are the man !!! finally it works ! thanks for the time you spended for that ! you guys are the best support i ever see. :)
Micha
03-02-2007, 05:42 PM
You are welcome :D
I'm glad it works.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.