Hi
I have install the latest version of Website Baker (2.13.2 r133)
I have also install PHP 8.1.2
But when I trying to edit a page I have create I can't do so much and I have try with Chrome and Opera browser.
(http://cazz.se/blandat/error.jpg)
Hi, do you have a folder /wb_config in your template or in the folder /templates?
If yes, rename or delete /wb_config to make it useless.
Hi and thanks for the replay
Hmm no in template folder I have
DefaultTemplate
DefaultTheme
Standard
Standard is my template
Inside "Standard" I have no folder at all.
Is it really a new installation or is it a upgrade?
Are you sure that all files was uploaded?
We recommand to upload the WebsiteBaker zip and the unzip.php.
How was your way to upload the files?
Thanks for the fast replay
I have find the error :)
I'm from Sweden and did set Swedish as default language in my profile.
When I change my profile to English I can now see the menu in editor.
Strange but a little fun :D
Quote from: Cazz on October 22, 2022, 08:04:57 PM
I'm from Sweden and did set Swedish as default language in my profile.
When I change my profile to English I can now see the menu in editor.
There is a little problem with the language settings in WB. WebsiteBaker use "se" as language code for the swedish language, but the CKEditor use "sv" instead of the "se". Both program's use an ISO-Code, but not the same :|
a simple solution is a copy of the original swedisch language file in the ckeditor in
modules/ckeditor/ckeditor/langopen this file with a simple editor like Notepad or notepad++, save it as
se.js, open this
se.js again and change the first part
CKEDITOR.lang['sv']
to
CKEDITOR.lang['se']
thats all. Maybe, you've to clear the browser-cache, but try it at first with a simple reload of the page with the editor. ;-)
this solution is upgrade-safe, but it is recommended, to do the same after the next upgrade, so that you have the latest language file version everytime.
P.S.: some of the plugins has also language files, any of them also in swedisch, but with the wrong filename. For example the plugin
placeholder in
modules/ckeditor/ckeditor/pluginscopy the existed file sv.js, rename it to se.js, change the language code in the first line (see my code example in the top). thats all
if you want, take a look into the folders from every plugin. a couple of them use a folder, called "lang". if you found there no file in your language (means sv.js or se.js), copy the en.js, rename it to se.js, change the language code in the first line (my example) and translate it line by line.
Hi
Back again :-(
I did got it to work on my test server but when I did same in my "real" web server I get same error even if I trying to change to English.
I did try with the copy sv,js to se.js and edit the file.
Strange.
Crazy...
is it possible, to give me access to your test-installation or access to "my own" wb-installation as super admin? (means: a new installation somewhere in a sub-folder, but on this server with the problem).
Have you change some other things like add more plugins / using a different editor, not ckeditor/ using "private" wb_ckconfig.js in your frontend-template etc ?
you see in the screenshot, it works in swedish
(https://i.gyazo.com/90a500eab686914c3fd1032591a0f475.png)
ohh sorry I did not see that you have replay.
I going to try a little more and if I don't get it to work I can setup a dummy Website Baker for you to try