WebsiteBaker Community Forum

WebsiteBaker Support (2.11.x) => General Help & Support => Topic started by: gbrowne on June 08, 2018, 11:50:46 AM

Title: WYSIWYG editor missing ?
Post by: gbrowne on June 08, 2018, 11:50:46 AM
Hi,

I set up a website about a year ago and it's been fine.
I just logged in to make a change for the owner and I can't seem to get the WYSIWYG editor.

In admin, I click on the page, it takes me to 'Modify Page', but there is just an HTML text editor. At the top it says "Block: Main ( 1 ) Modul: wysiwyg ID: 1"
I'm sure there was a normal wysisyg editor when I last used this ?

Can anyone please tell me how to enable wysiwyg editing ?  The site owner will want to be able to edit pages and knows nothing of HTML !

Thanks Geoff.
Title: Re: WYSIWYG editor missing ?
Post by: dbs on June 08, 2018, 11:59:45 AM
Hello, please tell us more about the versions of WB and PHP.
Normally, if something suddenly fails, the hosting provider has changed something on the server. Ask him what's changed since your WB worked well.
Title: Re: WYSIWYG editor missing ?
Post by: gbrowne on June 08, 2018, 01:11:06 PM
Hi dbs,

Thanks for the reply.  Sorry, I should have given more info.

WB V 2.10
Apache Version    2.4.33
PHP Version    5.6.36
MySQL Version    5.6.39

Do I need to load a module to allow wysiwyg editing ?

In addons, modules details I see CKEditor v4.6.2
Details are:

Name:    CKEditor v4.6.2
Type:    WYSIWYG Editor
Author:    Michael Tenschert, Dietrich Roland Pehlke, erpe, WebBird, Marmot, Luisehahne
Version:    4.6.2
Designed For:    Website Baker 2.8.3 SP6
Description:    includes CKEditor 4.6.2 Standard, CKE allows editing content and can be integrated in frontend and backend modules.

In module details I also see  WYSIWYG.  Details are:

Name:    WYSIWYG v3.0.6
Type:    Page
Author:    Ryan Djurovich
Version:    3.0.6
Designed For:    Website Baker 2.8.3 SP6
Description:    This module allows you to edit the contents of a page using a graphical editor

Maybe I need to somehow make it use this one instead of CKEditor ?
Can I select which editor to use for my pages ?

Cheers,
G.
Title: Re: WYSIWYG editor missing ?
Post by: gbrowne on June 11, 2018, 10:05:43 AM
Can anyone please tell me how to enable wysiwyg editing ?
Title: Re: WYSIWYG editor missing ?
Post by: dbs on June 11, 2018, 10:19:58 AM
Hi, for me it seems the upgrade was not really successfully.
First hint: Often not all files are uploaded correctly. Load up all 2.10 files again. Start upgrade again via Info button > Upgrade WebsiteBaker

In Settings > General Settings > is CKeditor choosed?
Can you find error messages via X button in top menu?

Title: Re: WYSIWYG editor missing ?
Post by: gbrowne on June 11, 2018, 10:31:09 AM
Thank you dbs for the reply.

Maybe I am being dumb, but I cant find where to select is CKeditor in Settings > General Settings > ?
I did the upgrade again and it threw errors - below is the output:

Geoff.


-------------->8-------------------
WebsiteBaker Project
WebsiteBaker Upgrade

This script upgrades an existing WebsiteBaker 2.10.0 (r66) installation to 2.10.0 (r66) .
The upgrade script alters the existing WB database to reflect the changes introduced with WB 2.8.x
Step 1 Your database uplyenet_bake134 has 7 total tables from 7 included in package OK
Step 2 : clear Translate cache if exists
Step 3 : Adding/Updating database core tables
DROP INDEX wbde_addons ident OK
Upgrade Core Tables OK
Step 4 : Adding/Updating sections table
Upgrading sections Table (publ_end field) FAILED
Upgrade sections Table (empty title field) OK
Step 5 : Modify PRIMARY KEY in settings table and add missing entries
Modify settings table OK
Step 6 : Updating default_theme/default_template in settings table
Adding default_theme to settings table
Adding default_template to settings table
Step 7 : Adding/Updating settings table
default_charset: already exists. OK .
confirmed_registrat ion: already exists. OK .
groups_updated: OK .
page_icon_dir: already exists. OK .
system_locked: already exists. OK .
string_dir_mode: already exists. OK .
string_file_mode: already exists. OK .
sec_anchor: already exists. OK .
er_level: already exists. OK .
website_signature: already exists. OK .
redirect_timer: already exists. OK .
rename_files_on_upl oad: already exists. OK .
debug: already exists. OK .
mediasettings: already exists. OK .
media_version: already exists. OK .
Mediasettings no updrade needed OK
wysiwyg_editor: already exists. OK .
sec_token_fingerpri nt: already exists. OK .
sec_token_netmask4: already exists. OK .
sec_token_netmask6: already exists. OK .
sec_token_life_time: already exists. OK .
wbmailer_smtp_port: already exists. OK .
wbmailer_smtp_secur e: already exists. OK .

Adding field redirect_type to mod_menu_link table
'redirect_type' already exists. OK .
Step 8: Remove deprecated and old files
Remove /admin/pages/rebuildAccessFiles.php OK
Remove /admin/pages/html.php OK
Remove /framework/DseTwo.php OK
Remove /framework/SysInfo.php OK
Remove /framework/class.wbmailer.php.new.php OK
Remove /include/idna_convert/ReadMe.txt OK
Remove /include/idna_convert/LICENCE OK
Remove /include/idna_convert/example.php OK
Remove /languages/old.format.inc.php OK
Remove /media/PLACEHOLDER OK
Remove /pages/PLACEHOLDER OK
Remove /temp/PLACEHOLDER OK
Remove /var/logs/PLACEHOLDER OK
Remove /templates/DefaultTheme/css/customAlert.css OK
Remove /templates/DefaultTheme/css/dialogBox.css OK
Remove /templates/DefaultTheme/css/w3.css OK
Remove /templates/DefaultTheme/css/w3-colors-camo.css OK
Remove /templates/DefaultTheme/css/w3-colors-food.css OK
Remove /templates/DefaultTheme/css/w3-colors-highway.css OK
Remove /templates/DefaultTheme/css/w3-colors-safety.css OK
Remove /templates/DefaultTheme/css/w3-colors-signal.css OK
Remove /templates/DefaultTheme/css/w3-colors-vivid.css OK
Step 9: Remove deprecated and old folders
Step 10 : Checking all addons with a newer version (upgrade)
There was an uncatched exception
It is not possible to install from WebsiteBaker Versions before 2.11.0
in line (41) of (/modules/WBLingual/install.php):
Title: Re: WYSIWYG editor missing ?
Post by: dbs on June 11, 2018, 10:52:41 AM
The module WBLingual is not for WB versions before 2.11.
How it comes into your 2.10?

You can try to upgrade to WB 2.11. Load all 2.11 files up, upgrade link should be visible automatically.
Then to 2.12.
I hope you have a backup from 2.8.3
Title: Re: WYSIWYG editor missing ?
Post by: gbrowne on June 11, 2018, 11:00:36 AM
Thank you for the reply.

My Softaculous tried to upgrade to 2.11, but when I used it the pages did not look right - the formatting seemed to be messed up, so I downgraded back to 2.10.
Looks like Softaculous hasn't worked very well then :(

The site looks ok now, its just I cant edit in WYSIWYG.  Is there anything I can do to patch it up ?

I have a backup of the pages and SQL before the upgrade happenned, but it is at V 2.10 of course.

Cheers,
G.
Title: Re: WYSIWYG editor missing ?
Post by: dbs on June 11, 2018, 11:07:58 AM
Delete module WBLingual, install 2.10 again.
Then 2.11, 2.12
Title: Re: WYSIWYG editor missing ?
Post by: gbrowne on June 11, 2018, 11:23:39 AM
Thank you.

I did this.  The site looks fine still, but now the admin backend has no css.
Still cant edit wysiwyg.  Would me giving you the WB admin login by PM help ?

CHeers,
G.
Title: Re: WYSIWYG editor missing ?
Post by: hgs on June 11, 2018, 11:45:12 AM
Quote
Would me giving you the WB admin login by PM help ?

Yes, and dbs also requires FTP access.
There is now a "mixed installation" on the server. An upgrade to 2.12 is already the right way.
Title: Re: WYSIWYG editor missing ?
Post by: dbs on June 12, 2018, 01:43:07 PM
Seems i can't connect to the site or ip. Only a timeout is my result. Since days.
So unfortunately i can't help.

Can't understand this...