Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: djoos5 on February 21, 2019, 03:54:53 PM

Title: Format editor and smileys are gone!
Post by: djoos5 on February 21, 2019, 03:54:53 PM
In my quick reply and when you either start a new thread or click reply, the format editor and BBC code buttons, along with all smileys have disappeared.

Has anyone seen something like this before? I have attached a picture below.

I have done NO mods to any files in my software and it is not just a User Profile issue - all of our users are seeing this.

Thanks in advance for any help.

Doug
Title: Re: Format editor and smileys are gone!
Post by: Bigguy on February 22, 2019, 12:11:03 PM
I have never seen this at all. Mine works fine. I wish I could provide some answers for you.
Title: Re: Format editor and smileys are gone!
Post by: Shambles on February 22, 2019, 01:30:04 PM
Does your browsers inspection console show any conflicts, eg, javascript clashes?
Title: Re: Format editor and smileys are gone!
Post by: djoos5 on February 22, 2019, 01:35:41 PM
It does not.

I have another board running the same SMF software and it is fine - although it is on a different server.

Title: Re: Format editor and smileys are gone!
Post by: Shambles on February 22, 2019, 01:38:01 PM
Presumably you're running the RC1 version of 2.1?
Title: Re: Format editor and smileys are gone!
Post by: djoos5 on February 22, 2019, 02:15:31 PM
No - I am running RC3 on both sites.
Title: Re: Format editor and smileys are gone!
Post by: Shambles on February 22, 2019, 02:39:00 PM
Quote from: djoos5
No - I am running RC3 on both sites.

There is no RC3, did you means Beta 3?

Try using the official RC1
Title: Re: Format editor and smileys are gone!
Post by: djoos5 on February 26, 2019, 05:25:16 PM
I just finished my upgrade to RC1 and they are still missing.

Anyone have an idea of what to try?
Title: Re: Format editor and smileys are gone!
Post by: Illori on February 26, 2019, 05:30:26 PM
link to your forum?
Title: Re: Format editor and smileys are gone!
Post by: djoos5 on February 27, 2019, 12:32:40 AM
http://www.stewarts-security.com/job/index.php
Title: Re: Format editor and smileys are gone!
Post by: Oldiesmann on February 27, 2019, 01:00:59 AM
Do you have a test account we can use?

Also hi from Cincinnati :)
Title: Re: Format editor and smileys are gone!
Post by: Biology Forums on February 27, 2019, 01:19:01 AM
Isn't there an option that disables the toolbar inside the admin settings? I remember is being in themes
Title: Re: Format editor and smileys are gone!
Post by: landyvlad on February 27, 2019, 06:35:33 AM
Quote from: djoos5 on February 26, 2019, 05:25:16 PM
I just finished my upgrade to RC1 and they are still missing.

Anyone have an idea of what to try?
So you did the full upgrade to the release version of RC1 ?
Copying the new files over the old, running upgrade.php etc? Usual stuff.

<scratches head>  hmmm

Quote from: Study Force on February 27, 2019, 01:19:01 AM
Isn't there an option that disables the toolbar inside the admin settings? I remember is being in themes

I looked and can't see it anywhere mate.
Title: Re: Format editor and smileys are gone!
Post by: Biology Forums on February 27, 2019, 10:47:55 AM
This
Title: Re: Format editor and smileys are gone!
Post by: Illori on February 27, 2019, 11:01:38 AM
i believe that screenshot is from SMF 2.0, the OP is using SMF 2.1.
Title: Re: Format editor and smileys are gone!
Post by: lurkalot on February 27, 2019, 02:40:48 PM
Hmm, do you have the "Enable bulletin board code (BBC) " setting checked?  If not the editor won't show.

Admin > Features and options > Bulletin Board Code >>  Enable bulletin board code (BBC)
Title: Re: Format editor and smileys are gone!
Post by: Biology Forums on February 27, 2019, 02:42:52 PM
Quote from: Illori on February 27, 2019, 11:01:38 AM
i believe that screenshot is from SMF 2.0, the OP is using SMF 2.1.

Shouldn't 2.1 have a similar option?
Title: Re: Format editor and smileys are gone!
Post by: live627 on February 27, 2019, 02:53:10 PM
Quote from: lurkalot on February 27, 2019, 02:40:48 PM
Hmm, do you have the "Enable bulletin board code (BBC) " setting checked?  If not the editor won't show.

Admin > Features and options > Bulletin Board Code >>  Enable bulletin board code (BBC)
lurk, open the posting window with js disabled and compare to op's screenshot.
Title: Re: Format editor and smileys are gone!
Post by: djoos5 on March 05, 2019, 10:17:08 AM
Hey Everyone, sorry for the delays in replying back to you all. I did not have the notifications box checked on this topic and I forgot to return to it to see if there was help provided.

Quote from: Shambles on February 22, 2019, 01:30:04 PMDoes your browsers inspection console show any conflicts, eg, javascript clashes?

These are new error reports that are showing up now:

Uncaught SyntaxError: Invalid or unexpected token
minified_ef6479e7ff143d1a1c4dfc4872eafcf5.js?smf21rc1_1551219247:618 Uncaught ReferenceError: sceditor is not defined
    at minified_ef6479e7ff143d1a1c4dfc4872eafcf5.js?smf21rc1_1551219247:618
    at minified_ef6479e7ff143d1a1c4dfc4872eafcf5.js?smf21rc1_1551219247:618
minified_ef6479e7ff143d1a1c4dfc4872eafcf5.js?smf21rc1_1551219247:843 Uncaught TypeError: this.init is not a function
    at new InTopicModeration (minified_ef6479e7ff143d1a1c4dfc4872eafcf5.js?smf21rc1_1551219247:843)
    at index.php?topic=412.msg1941:794
jquery.min.js:2 jQuery.Deferred exception: sceditor is not defined ReferenceError: sceditor is not defined
    at HTMLDocument.<anonymous> (http://www.stewarts-security.com/job/index.php?topic=412.msg1941:517:7)
    at j (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:29999)
    at k (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:30313) undefined
r.Deferred.exceptionHook @ jquery.min.js:2
jquery.min.js:2 Uncaught ReferenceError: sceditor is not defined
    at HTMLDocument.<anonymous> (index.php?topic=412.msg1941:517)
    at j (jquery.min.js:2)
    at k (jquery.min.js:2)
2drafts.js?smf21rc1_1551219247:25 Uncaught TypeError: Cannot read property 'contentWindow' of undefined
    at smf_DraftAutoSave.init (drafts.js?smf21rc1_1551219247:25)
    at <anonymous>:1:29


Quote from: Oldiesmann on February 27, 2019, 01:00:59 AMDo you have a test account we can use?

Also hi from Cincinnati :)

I do not have a test account active, but I can create one if you are still available to help - and hello from Columbus!  ;D

Quote from: Study Force on February 27, 2019, 01:19:01 AMIsn't there an option that disables the toolbar inside the admin settings? I remember is being in themes

Quote from: lurkalot on February 27, 2019, 02:40:48 PMHmm, do you have the "Enable bulletin board code (BBC) " setting checked?  If not the editor won't show.

Admin > Features and options > Bulletin Board Code >>  Enable bulletin board code (BBC)

Under my Admin - yes, the BBC is enabled and under my user profile I have the Use Full Editor toolbar in quick reply checked, as well.

Quote from: live627 on February 27, 2019, 02:53:10 PMlurk, open the posting window with js disabled and compare to op's screenshot.

I run my board in Google Chrome - I am not sure if JS is ever enabled unless requested.

To add to the mystery, here is a new issue that just came up when I went to search my database... (image attached).

Quote from: landyvlad on February 27, 2019, 06:35:33 AMSo you did the full upgrade to the release version of RC1 ?
Copying the new files over the old, running upgrade.php etc? Usual stuff.

<scratches head>  hmmm

I chose and downloaded the RC 1 Large upgrade. Do you think I should download the Full Install and write over all of the files?

THANKS IN ADVANCE!
Title: Re: Format editor and smileys are gone!
Post by: djoos5 on March 07, 2019, 01:32:09 PM
Can I upload a brand new copy of SMF into a folder (named as the old) and tie my old database to it?
Title: Re: Format editor and smileys are gone!
Post by: Kindred on March 07, 2019, 01:46:33 PM
1- do not use the full install. That will overwrite things that you don't want overwritten.

2- you could... although you'd have to go change all of the settings, paths and urls to point to your new location and you'd lose all of your avatars and attachments.
Title: Re: Format editor and smileys are gone!
Post by: djoos5 on March 07, 2019, 01:54:37 PM
I did a full upgrade and the format editor is still gone.

I now can no longer search my site for info without getting a database error (picture above).

I don't know what else to do.

I didn't know if I change the name of the old folder on the my webhost server and then create a new folder with the same name and install to there, if I could set it up to attach to the database with all things there?
Title: Re: Format editor and smileys are gone!
Post by: Biology Forums on March 07, 2019, 03:09:04 PM
When you "inspect element" browser-side, do you see remnants of the code? What's your URL, I'll check for you
Title: Re: Format editor and smileys are gone!
Post by: djoos5 on March 07, 2019, 03:26:19 PM
Hey Study Force,

I just sent you a PM.

Let me know if you are willing to look.

Thanks!
Title: Re: Format editor and smileys are gone!
Post by: djoos5 on March 07, 2019, 03:32:24 PM
Could any of this be because I updated my PHP to 7.2?
Title: Re: Format editor and smileys are gone!
Post by: Biology Forums on March 07, 2019, 03:54:13 PM
Ok, so it has nothing to do with PHP.

I'm assuming it's a bug. I logged in, made such WYSIWYG editor was enabled. All settings related to WYSIWYG editor are checked, yet for some reason it's not appearing. It has to be a bug related to 2.1.
Title: Re: Format editor and smileys are gone!
Post by: Illori on March 07, 2019, 03:54:56 PM
any errors in the browser console?
Title: Re: Format editor and smileys are gone!
Post by: Biology Forums on March 07, 2019, 03:57:52 PM
A second suggestion would be to find a random theme, install it, and see if the WYSIWYG editor appears.

Quote from: Illori on March 07, 2019, 03:54:56 PM
any errors in the browser console?

jquery.sceditor.bbcode.min.js:3 Uncaught SyntaxError: Invalid or unexpected token
minified_62c18ab31fc...1rc1_1551982981:618 Uncaught ReferenceError: sceditor is not defined
    at minified_62c18ab31fc...1rc1_1551982981:618
    at minified_62c18ab31fc...1rc1_1551982981:618
jquery.min.js:2 jQuery.Deferred exception: sceditor is not defined ReferenceError: sceditor is not defined
    at HTMLDocument.<anonymous> (http://www.stewarts-security.com/job/index.php?action=post;topic=413.0;last_msg=1945:304:7)
    at j (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:29999)
    at k (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:30313) undefined
jquery.min.js:2 Uncaught ReferenceError: sceditor is not defined
    at HTMLDocument.<anonymous> (index.php?action=pos...0;last_msg=1945:304)
    at j (jquery.min.js:2)
    at k (jquery.min.js:2)
drafts.js?smf21rc1_1551982981:25 Uncaught TypeError: Cannot read property 'contentWindow' of undefined
    at smf_DraftAutoSave.init (drafts.js?smf21rc1_1551982981:25)
    at <anonymous>:1:29
smf_DraftAutoSave.init @ drafts.js?smf21rc1_1551982981:25
(anonymous) @ VM60:1


I'm assuming it might be the SCEditor
Title: Re: Format editor and smileys are gone!
Post by: djoos5 on March 07, 2019, 04:07:51 PM
Any thoughts on why the database cannot be accessed by the search function?

Thanks!
Title: Re: Format editor and smileys are gone!
Post by: Biology Forums on March 07, 2019, 04:11:44 PM
I don't think it has anything to do with the database either

Database is accessed via cpanel
Title: Re: Format editor and smileys are gone!
Post by: djoos5 on March 07, 2019, 04:20:57 PM
So I am thinking about just starting a new forum board. Do you think I should go through the trouble of moving all the active pieces over to a new forum, or are these challenges fixable?

Again, thanks for your help!
Title: Re: Format editor and smileys are gone!
Post by: djoos5 on March 07, 2019, 04:29:08 PM
Okay - following your advice, I added a 2.1 RC1 compatible theme to the board and nothing has happened. The Post Editor is still not present, so I am defaulting to your idea it might be a bug.

Is there a way I can RESIGN in to the database, as it appears to be asking?

Thanks!

Title: Re: Format editor and smileys are gone!
Post by: djoos5 on March 07, 2019, 05:09:05 PM
I just did a brand new build and here is the result (picture attached).

Is this a database issue now? Do I need to create an all new database? Is it possible the new installer package is broken?

I can't explain this at all. I have two boards - this one which I run for my office and another that I use for gaming. The gaming board is running great - all of my mods (none of which I do for my business board) working great!

Thanks for the help!
Title: Re: Format editor and smileys are gone!
Post by: Kindred on March 07, 2019, 05:44:51 PM
no... that issue is not a database issue.

it means that your theme paths and urls are incorrect.
Title: Re: Format editor and smileys are gone!
Post by: djoos5 on March 07, 2019, 06:59:04 PM
Thank you! I corrected this challenge on the new board, but still no Post Editor on a brand new install.

Also, if I do a search on the new forum it gives me the same database error - so I either have a corrupted database, or there is some setting I need to update to give the forum software permission to access the data...which it seems it does seeing as you can see the posts!

Anyway, I will wait a little longer for any advice before I just create a new database on my web server and build the site one more time.

Thanks everyone!