CKEditor code missing and site login fails under Chromium

rumen

Rename replace with preg_replace sort the issue with the login. Thanks!

I work on the other issue to see what is the problem. Appeared this morning. Didn't noticed if there was an issue before, but I think there was. 

Luisehahne

Quoteanother P.S.: i remember, that you have often problems with older wb-version and in most cases, it is solved with a actual version. you have a lot of changes in the last php-versions and because of this, it's important to use every time the latest wb

You are right. This Error exisit in WB Version 2.12.0 and is fixed in 2.12.1. But you can wait for the newest Version WB 2.12.2 that is on targetline.

A quick fix will be to rename replace to preg_replace

Dietmar
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Gast

to problem #1
this function obfuscate the used ip-adress (has to do with data protection rules of EU)
the function is changed in the newer version of WB. Use WB 2.12.1 or only this function from this version for a locale test

to problem #2
looks for me like a filter- or setting problem in ckeditor-include.php or wb_ckconfig.js somewhere in the system (multiple places possible).

1. compare the used frontend templates from the working pages with the actual page / project. Do you use in the working projects a wb_ckconfig.js in the templates? in YES, copy this file to the actual project and template folder

2. copy the complete folder "modules/ckeditor" from a working project to this actual project. remove the old files first

3. close the page with the editor, clear the browser cache and try

4. if it's not work, try the used code from the actual page also in a working project and also in the other direction

P.S.: i'm sure, the code is not really disappered, try to save it and take a look into the database. in my test cases, hidden code like this works on the live page, but if you come the next time to this section, the editor is now really empty (not only hidden) and if you save it now, the content is gone

another P.S.: i remember, that you have often problems with older wb-version and in most cases, it is solved with a actual version. you have a lot of changes in the last php-versions and because of this, it's important to use every time the latest wb

rumen

Hi there,

Just got some errors, which are very strange. First time happen something like that. The issues are 2:

1. I login normally from Firefox, but when I try to login from Chrom/Chromium I got error:
There was an uncatched exception
Call to undefined function replace()
in line (357) of (/framework/Login.php):

What is the problem? Is that normal?The problem is not big if this is an issue connected to the local server as I build the page on "localhost" at the moment and I will upload it soon on server, but if the probelm continue after that will a big issue ....

2. THE bigger issue: Wherever I try to enter code like embed video from YouTube (which I made in many many pages and it works) and after I click "Code" again it is EMPTY! When I click again - The code disappeared. I checked and I saw I have plugin for YouTube. I have in the toolbar in wb_ckconfig.js "YouTube", but it missing as button on the toolbar (see the screenshots above).