Vbulletin 5.1.0 - footer-rollup-510.js ERROR in registration form
Collapse
X
-
Same here. I didn't realize you visited the forums from time to time. -
Heh... I have another encoding problem....
E-mails are sent without polish characters... oh my god....
Instead polisch chars I have "?" signs... in the message Header in my E-mail client I can't see encoding information in the header....
Whitch file is responsible for e-mail sending??? -
YEAAA!!!!! Thank you! It's working.
But in My language i simply changed:
Code:$thisPhrase = vB5_String::toCharset($phrase, $languages[$phrase['languageid']]['charset'], 'UTF-8');
Code:$thisPhrase = $phrase['text'];
Thank You.Leave a comment:
-
-
I've written to Support in Members area but no feedback yet...
i've send them all accesses to DB, FTP, we will se... -
If you check the localStorage where the phrases are locally stored in the browser, you will see that all translated phrases are JSON. I don't know why. Maybe a Support staff has an idea.
Code:JSON.parse(localStorage.getItem('vbcache-'))
Leave a comment:
-
I've updated all the phrases.
For example "B########d" was changed to: "Błąd"
But in the console I have bad encoding... (see screenshot)
Maby it's the ISO-8859-2 encoding problem or JSON header encoding problem?1 PhotoLast edited by Michał Lasocki; Mon 7 Apr '14, 1:40am.Leave a comment:
-
Thanks for the info Glenn.
You are right, on this forum we have string, but on my forum we have JSON. Maby on this forum it's fixed.... I vave the current 5.1.0 version installed.
I don't think it's the only 'error' phrase error, because
window.vBulletin.phrase.get('error') with another phrases give JSON too.
"Błąd" is my translation for "Error" - but originally it looks "Błąd". Maby I shoud change the decimal ł to my characters... "ł" etc.
The strangest thing is that in English we get the string - not a Object.... Maby there are some illegal characters in JSON with Polish phrases, and the script can't handle it ?
Can you have information how to fix this problem?Last edited by Michał Lasocki; Mon 7 Apr '14, 1:29am.Leave a comment:
-
I think it's a bug...
When I add new Test language everything is ok
When I add one phrase translated I have the [object Obcjet] and JS error in registration...
Can you see this problem closer? My forum is disabled since monday...
Try this link: http://gazeo.pl/vb5/register.... it doesn't work.... JS error is visible in console after submitting a form....
If you go to any page in your site and open the JS console and type this:
Code:window.vBulletin.phrase.get('error')
Code:[COLOR=#222222][FONT=Consolas][I][SIZE=12px]{[/SIZE][/I][/FONT][/COLOR][COLOR=#881391][FONT=Consolas][I][SIZE=12px]languageid[/SIZE][/I][/FONT][/COLOR][COLOR=#222222][FONT=Consolas][I][SIZE=12px]: [/SIZE][/I][/FONT][/COLOR][COLOR=#C41A16][FONT=Consolas][I][SIZE=12px]"2"[/SIZE][/I][/FONT][/COLOR][COLOR=#222222][FONT=Consolas][I][SIZE=12px], [/SIZE][/I][/FONT][/COLOR][COLOR=#881391][FONT=Consolas][I][SIZE=12px]varname[/SIZE][/I][/FONT][/COLOR][COLOR=#222222][FONT=Consolas][I][SIZE=12px]: [/SIZE][/I][/FONT][/COLOR][COLOR=#C41A16][FONT=Consolas][I][SIZE=12px]"error"[/SIZE][/I][/FONT][/COLOR][COLOR=#222222][FONT=Consolas][I][SIZE=12px], [/SIZE][/I][/FONT][/COLOR][COLOR=#881391][FONT=Consolas][I][SIZE=12px]text[/SIZE][/I][/FONT][/COLOR][COLOR=#222222][FONT=Consolas][I][SIZE=12px]: [/SIZE][/I][/FONT][/COLOR][COLOR=#C41A16][FONT=Consolas][I][SIZE=12px]"B&[/SIZE][/I][/FONT][/COLOR][COLOR=#B22222][FONT=Consolas][I][SIZE=12px]#322[/SIZE][/I][/FONT][/COLOR][COLOR=#C41A16][FONT=Consolas][I][SIZE=12px];&[/SIZE][/I][/FONT][/COLOR][COLOR=#B22222][FONT=Consolas][I][SIZE=12px]#261[/SIZE][/I][/FONT][/COLOR][COLOR=#C41A16][FONT=Consolas][I][SIZE=12px];d"[/SIZE][/I][/FONT][/COLOR][COLOR=#222222][FONT=Consolas][I][SIZE=12px]}[/SIZE][/I][/FONT][/COLOR]
Doing this here in vbulletin.com produces the correct translation which is the string "Error".Last edited by glennrocksvb; Fri 4 Apr '14, 10:48pm.Leave a comment:
-
I think it's a bug...
When I add new Test language everything is ok
When I add one phrase translated I have the [object Obcjet] and JS error in registration...
Can you see this problem closer? My forum is disabled since monday...
Try this link: http://gazeo.pl/vb5/register.... it doesn't work.... JS error is visible in console after submitting a form....Leave a comment:
-
I've tested UTF-8. Again the same error in JS.... I think that JSON format that contains messages for popups may have problem with parsing the phrases.... I see that /vb5/ajax/api/phrase/fetch is requested and after that, error accures On new language with no custom translations in ISO-8859-2 is ok....Leave a comment:
-
If you have a test install I would try going to UTF-8 and see if it helps.Leave a comment:
-
I've added new language Test [PL] - after that everything worked fine. Encoding (ISO-8859-2) is set to view propertly imported data from phpbb
After translating one phrase "please_provide_search_string" on "Proszę podać łańcuch wyszukiwania" we have this situation (screen)
Maby the ISO-8859-2 encoding is wrong? Should I convert everything on UTF-8 ?Leave a comment:
Related Topics
Collapse
-
by roiarthurI upgrade to 5.1.9
Many page doesn't appears anymore with the french language but they appear under english language
When i clic on Next at the buttom of a page to go to the...-
Channel: Support Issues & Questions
-
Leave a comment: