Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: scimmiotto on July 05, 2012, 07:50:54 AM

Title: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 07:50:54 AM
Hi, after upgrade to 2.0.2 i noticed that


1. wysiwyg editor is not working anymore. I click con the button to change the editor but nothing happens.
2. when using quote on quick reply, it shows me (loading...) but nothing happens
3. no shout box is working (i've tried ajax chat, smfpacks etc..)...




:-\
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 07:57:36 AM
Just to note that this is, also, being discussed here:

http://www.simplemachines.org/community/index.php?topic=480509.msg3363257#msg3363257
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 08:14:12 AM
tnx, i forgot that. i'd like to speak here, 'cause here there are all the bugs i found...and yes, i've tried a lot of versions of ajaxchat. Now i fear there's something that doesn't work in the main forum, but i don't know what. I tried using large upgrade but nothing happened (without scripts).
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 08:20:48 AM
OK. You're saying all this, thinking that we'll know what you mean.

Now, it may be me... But, can you clarify some things, for me?

When you say "I tried using large upgrade but nothing happened (without scripts).", what do you mean, exactly?

The upgrade didn't work?

If not, what DID happen? Did you get errors, or what?

When you say "Now i fear there's something that doesn't work in the main forum, but i don't know what.", what makes you think that something doesn't work?

You used the large upgrade. What version of SMF did you upgrade FROM?
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 08:30:03 AM
ok sorry for my english.

i had the 2.0.1 version of smf, with some packages installed.

i used large upgrade to upgrade the forum to 2.0.2. the i reinstalled the packages.

From here, i noticed these problems. i tried to reinstall using large upgrade to 2.0.2 another time. I upgraded the db with upgrade.php, then i had the forum updated for the second time to 2.0.2. This time i didn't install any package, but the problem still persisted (i tried to make a post with an image, and i saw the img tags. I opened another post, i used the button to convert to wysiwyg and tried to insert and image, having the tag img another time instead of the image on the screen).

tnx in advance.
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 08:37:25 AM
This is where I hope you read my sig, before doing the upgrade...

To go from v2.0.1 to v 2.0.2, you only needed the small upgrade. I don't think that upgrade touches the database.

If you have that backup, it might be easy.

Restore the backup.

Then, get this: http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.2.tar.gz

Upload it to Package Manager and apply it, just as you would do with a mod.

If you didn't backup, we'll have to take another route...

Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 08:43:56 AM
K@

for first tnx a lot for your help

i used packages and modifications, and so i used large upgrade. I use smf since 1.1 etc...and i always used this method, and always went ok.

What do u mean for backup? is there any backup that i can do with smf?

Actually, i have the smf 2.0.2 with packages installed.
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 08:51:50 AM
QuoteWhatever anybody else might tell you, backing-up is the most important thing you can ever do with SMF or any website.

http://wiki.simplemachines.org/smf/Backup

When updating from v2.0.1 to 2.0.2, there are no modifications made to the database. So, there's no need to use the large upgrade, at all. If you'd done that, your mods would, most probably, still work!

Tell you what I would do, if that was my forum...

I'd BACKUP, first. (Just in case)

Then, I'd get the SMF v2.0.2 FULL install archive. http://download.simplemachines.org/index.php?thanks;filename=smf_2-0-2_install.zip

I'd dearchive it, on my computer.

I'd upload all of the files, EXCEPT Settings.php AND Install.php, overwriting what you have, there, now.

Then, your forum will be as-new, pretty-well, with all of your members/posts, etc. intact.

Then, you can start installing mods/themes/etc.


That's what I'd do, if I was in your situation. :)
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 08:55:09 AM
tnx a lot, i'll do that and i'll let you know what will happen

tnx a lot for your help :)
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 08:56:10 AM
A pleasure, matey! :)

Remember that backup thing, won't you? ;)
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 09:30:28 AM
for backup u mean to backup all the content of my ftp in local pc? if so, i didn't :(
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 10:20:44 AM
You can do it via FTP or from your CPanel.

The most important thing to save is the database. That's where all your members/posts/etc. are stored.

But, backing-up the forum, itself, can save you a LOT of work, in the future. :)
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 10:24:19 AM
all was made...wysiwyg not working anymore :(
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 10:26:11 AM
and with quick reply it goes on loading forever :(
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 10:27:54 AM
Seriously, mate. The WYSIWYG editor's crap. It's AWFUL! It's going to be replaced in the next version of SMF.

Disable it.

That'll put the Quick Reply right, too. :)
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 10:29:35 AM
ok but even if disable wysiwyg i have the following bugs

1. shoutbox not writing phrases
2. quick quote goes loading forever

i fear this is linked to the problem of wysiwyg :(
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 10:55:52 AM
Which shoutbox do you use? The Ajax one?

Have a look through it's support topic, to see if anyone else has had this problem?
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 11:00:39 AM
noone had this problem

i think it's linked to wysiwyg one.


even if i use smfpack shout box or ajax chat, they both don't work.

and quote on quick reply still persists.
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 11:30:07 AM
I disabled the shoutbox and it's still very slow.

Why have two shoutboxes, though? That'll slow things down, a lot!
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 11:33:33 AM
i inserted two shout box because with nneonneo one we can speak, with the second we can try :)
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 11:37:45 AM
I REALLY don't think that's a good idea. They'll be competing for resources.

Maybe that's why the place is so slow.
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 11:42:15 AM
It's fast, now, is it not? :)
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 11:42:19 AM
i know it, but we cannot communicate at real time without a shout box.

note that now that shouboxes are not installed anymore, the forum goes well...the problems still persist :(
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 11:43:31 AM
i mean the problems in shout box not writing, wysiwyg not working, quote on quick reply not working. the problem was not the slow server (i knew it was due to two shout boxes at the same time).
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 11:45:56 AM
I disabled WYSIWYG, to see if that made the quote work.
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 11:51:04 AM
That quote hanging has got to be due to one of those mods, I believe.

Try uninstalling mods and see if it comes back.

If we can narrow-down which mod it is, we can try to figure-out a fix.
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 11:53:04 AM
where can i download the shout box for latest version of simple portal?
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 11:53:41 AM
Quote from: K@ on July 05, 2012, 11:51:04 AM
That quote hanging has got to be due to one of those mods, I believe.

Try uninstalling mods and see if it comes back.

If we can narrow-down which mod it is, we can try to figure-out a fix.

Nope k@. I made a clean installation, then tried WITHOUT packages, the result was the same.
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 11:54:49 AM
Weird. This has happened a few times, that I remember. Maybe a search would reveal something?

It's part of the portal. It's not a separate mod. :)
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 11:57:39 AM
ok i',ve just installed the shout box as a block, but it doesn't refresh until i reload the page. Plz try.
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 12:07:24 PM
Even this shout box reloads forever....now i'm sure something is wrong in the entire forum...but i dunno what :(
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 12:07:42 PM
It won't.

Shoutboxes that run in real time EAT resources. They'll slow your forum down. A LOT!
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 12:18:25 PM
ok but it doesn't reload. this is the problem
try yourself.
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 12:24:41 PM
It does if you refresh the page.
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 12:29:04 PM
ok but it's not the feature of this shout box. Try the one in simple portal webpage.
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 12:34:44 PM
Yeah, I know. I have it on my site, too.

I have a small hunch... Try getting on to your host, can you?

Ask them if they have mod_security enabled, would you?

If they have, get them to disable it.
Title: Re: wysiwyg not working
Post by: scimmiotto on July 05, 2012, 12:49:17 PM
ok i'll let u know

in the mean while, tnx for having lost time with my problem, i appreciate :)
Title: Re: wysiwyg not working
Post by: kat on July 05, 2012, 12:50:53 PM
Any time! :)
Title: Re: wysiwyg not working
Post by: scimmiotto on July 06, 2012, 04:38:17 AM
mod_security is disabled and nothing works....i fear it's an error in javascript.

Here is the java in my server

java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)
questo giro sul server

plz help me :(
Title: Re: wysiwyg not working
Post by: gaz12321 on July 06, 2012, 05:52:08 AM
The quote not working in quick reply with the wysiwyg mod is an issue with the mod itself I believe, i'm getting the same issue with it on my forum but only with Google chrome, it works fine with IE and Mozilla.

Also if you click in the quick reply box first and then try to quote a post it should work.
Title: Re: wysiwyg not working
Post by: scimmiotto on July 06, 2012, 06:03:54 AM
which package are u referring?
Title: Re: wysiwyg not working
Post by: kat on July 06, 2012, 06:07:15 AM
In earlier versions of SMF, the WYSIWYG editor was a mod.

I think Gaz may be confused. ;)

I'm just going out, as it happens, because it's my birthday.

Ask your host about the java thing. It may be out of date. But, I'm not sure about that.

I'll check back, here, when I get home. :)
Title: Re: wysiwyg not working
Post by: scimmiotto on July 06, 2012, 08:22:09 AM
Ok k@.

In the meanwhile up
Title: Re: wysiwyg not working
Post by: kat on July 06, 2012, 10:13:02 AM
Please, quit with this "Up" thing. We'll help as soon as we can. Bumping things won't speed things up. People have to sleep and eat, you know. ;)

Besides, you haven't answered the java question.

Quote from: K@ on July 06, 2012, 06:07:15 AMAsk your host about the java thing. It may be out of date. But, I'm not sure about that.
Title: Re: wysiwyg not working
Post by: kat on July 06, 2012, 10:35:55 AM
I just tried to log into your forum, to check the error-logs. Seems I can no longer log in. :(

Can you check those and see what errors there are, if any?

You might want to look at the server logs, too.
Title: Re: wysiwyg not working
Post by: Arantor on July 06, 2012, 10:39:37 AM
Re Java from the earlier posts, that's Java, not JavaScript. Java itself is not used anywhere in SMF.

In your browser, there should be an option to see about any JavaScript errors, though, and that will be useful to know.
Title: Re: wysiwyg not working
Post by: kat on July 06, 2012, 10:42:49 AM
By the way, are your .htaccess files the standard ones? Or, have you modified any of them?
Title: Re: wysiwyg not working
Post by: scimmiotto on July 06, 2012, 11:45:43 AM
to all:

the htaccess files are not modified.

i use chrome, how to see javascript files?

K@, sorry i pushed a backup of db, in wich the user was not created, if u need it i'll create it again.
Title: Re: wysiwyg not working
Post by: kat on July 06, 2012, 11:52:11 AM
No, it's fine.

You can find those errors easily enough, in Forum Maintenance.

The others, you can get from your site's CPanel, probably. If not, ask your host.
Title: Re: wysiwyg not working
Post by: Arantor on July 06, 2012, 12:00:05 PM
Uh, K@, JavaScript errors are totally in the browser, not anywhere else.

In Chrome, press F12 to bring up the dev panel, you should see a little number in the bottom right corner with a red cross by it, click on it to see the errors.
Title: Re: wysiwyg not working
Post by: kat on July 06, 2012, 12:07:31 PM
Yeah, I know that. (It scared me, too!).

I was thinking of ANY errors which might throw some light on this.
Title: Re: wysiwyg not working
Post by: kat on July 06, 2012, 12:12:27 PM
We may have something... :)

QuoteThe problem is that they have some javascript inserted into the very top of their page. When a page is rendered there should not be any other javascript or HTML before the <!DOCTYPE tag. You can see that they have some javascript before it if you view the source on their page. They need to move that code at least after the <head> tag.
Title: Re: wysiwyg not working
Post by: scimmiotto on July 06, 2012, 06:14:07 PM
AFTER having tried for 3 days (tnx to all, especially to k@), i found the problem.

The problem is in this mod

http://custom.simplemachines.org/mods/index.php?mod=2833

that blocks javascript on 2.0.2.

It's very insidious, because, after installed, even if u rewrite the entire forum, the problem persists.

u must REMOVE this for having the forum work. i think it's related to the install.php (and remove.php) files, but i didn't read the code, so i dunno what these files do.
Title: Re: wysiwyg not working
Post by: kat on July 07, 2012, 06:18:02 AM
How weird!

Oh, well, as long as you got it sorted, all's good! :)
Title: Re: wysiwyg not working
Post by: scimmiotto on July 07, 2012, 10:29:38 AM
:)