WYSIWYG Editor Problems

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
heatherfeuer

WYSIWYG Editor Problems

Post by heatherfeuer »

This is an issue that has been ongoing for me and I'm really not sure why.  I have CMSMS installed on two servers, one on my remote server (Linux) and one on my local development server (WinXP).  Both are Apache/PHP/MySQL with close to the same versions on all.  Locally, I have never been able to get TinyMCE to work properly.  When I preview Tiny to configure it, the toolbars all function the way they are supposed to, but when I try to use it to edit pages, they don't work and the icons and select boxes show the smarty tag names, not the actual names.  The icons don't work either -- click on one and nothing happens.  This is on the local server with multiple versions running on virtual sites.  Refer to this post: http://forum.cmsmadesimple.org/index.php/topic,9513.msg48635.html#msg48635 to see examples.  I was never able to get a proper response from anyone about this.

With FCKEditor, locally on one installation, I have to type in the actual path to the images, if I browse to it, the folder looks empty.  If I upload an image using FCKEditor, it says the image uploaded, but the folder appears empty.  On another install, FCKEditor works the way it's supposed to.  On the remote server, I have the image problem.  On the remote server, if I try to use TinyMCE or Xinha, I get NO toolbars or wysiwyg window at all -- just a window with the html code. 

I don't think I am the only person with these issues.  Is it that there are still bugs in the code that makes the editors work in CMSMS or is it bugs in my head??  ???
TimothyFoo
Forum Members
Forum Members
Posts: 44
Joined: Wed Oct 12, 2005 8:50 pm

Re: WYSIWYG Editor Problems

Post by TimothyFoo »

I'm having the same problem here. It's just happening on one site, there are a few other sites on the smae server that don't have the issue.

Under 1.0.4 I just got an empty folder, but after upgrading to 1.0.5 I now get an error with the title: "the server did not send back a proper XML response".

It goes on to say that "Only variable references should be returned by reference in (path)/adodb.inc.php... etc.

I was getting a similar error on the front of the site and in the admin, but I fixed this by turning Register Globals back on in the php.ini file.

I will gladly pay any CMSMS developers going rate for help, if this is more than a simple fix.

Thanks for your help.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm
Location: Comox Valley, BC

Re: WYSIWYG Editor Problems

Post by Nullig »

I wonder if this is a php memory_limit problem?

Does TinyMCE work correctly on the linux server?

I believe that the windows port of PHP 4 will not allow a memory_limit greater than 8M, even if you specify a larger value in the php.ini file. You could run phpinfo on the windows server to confirm this.

Nullig
User avatar
Nettie
Forum Members
Forum Members
Posts: 53
Joined: Tue Oct 03, 2006 11:42 pm

Re: WYSIWYG Editor Problems

Post by Nettie »

I am getting the same problem after installing a fresh version of 1.0.5.
When trying to upload an img. I get the error "the server did not send back a proper XML response". I tried to paste some files from the previous version of fck and got rid of the server error, but I can't see the images in the uploads file.

Nettie
TimothyFoo
Forum Members
Forum Members
Posts: 44
Joined: Wed Oct 12, 2005 8:50 pm

Re: WYSIWYG Editor Problems

Post by TimothyFoo »

I should have given more details in my last post, but it was late and I was tired.

The part of the original post that is the same at my end, is this:

"With FCKEditor, locally on one installation, I have to type in the actual path to the images, if I browse to it, the folder looks empty.  If I upload an image using FCKEditor, it says the image uploaded, but the folder appears empty.  On another install, FCKEditor works the way it's supposed to."

On another server, with exactly the same configuration, everything works fine.

Operating system  Linux
Apache version 1.3.34 (Unix)
PHP version 4.4.4
MySQL version 5.0.27-standard

Just to reiterate, I will pay in advance for any CMSMS developers who have time to help me with this.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm
Location: Comox Valley, BC

Re: WYSIWYG Editor Problems

Post by Nullig »

@Timothy

Have you checked the permissions on the folder you're uploading to?
Are your upload paths correct in your config.php file?
Have you tried deleting and re-uploading the FCKEditor module that came with 1.0.5?

Nullig
Blikkie
Forum Members
Forum Members
Posts: 32
Joined: Sun Apr 15, 2007 12:06 pm

Re: WYSIWYG Editor Problems

Post by Blikkie »

Hello,

Same problem as above described while working in 1.0.4. same "bug" upgrading to 1.05
This seems related to Iexplore (7) as in Firefox it works fine.

Kill Bill  ;D
TimothyFoo
Forum Members
Forum Members
Posts: 44
Joined: Wed Oct 12, 2005 8:50 pm

Re: WYSIWYG Editor Problems

Post by TimothyFoo »

@Nullig

"Have you checked the permissions on the folder you're uploading to?"

Yes, I've even tried opening it right up, but even browsing the server throws an error, so it's not just write permissions. It doesn't seem to be a permissions problem.

"Are your upload paths correct in your config.php file?"

Yes, but I will try experimenting with some variations, to see if this is the issue.

"Have you tried deleting and re-uploading the FCKEditor module that came with 1.0.5?"

No, thanks for the suggestion, I'll give this a try. I did upgrade FCK editor after upgrading CMSMS, but it couldn't hurt to try again.

If you have any other ideas, please let me know.
Blikkie
Forum Members
Forum Members
Posts: 32
Joined: Sun Apr 15, 2007 12:06 pm

Re: WYSIWYG Editor Problems

Post by Blikkie »

Hi,

What worked for me strangely enough was to go to the FCK part. Change template to another and back to original, send that and than it worked fine again in both IE and FF  ???

Give it a try
TimothyFoo
Forum Members
Forum Members
Posts: 44
Joined: Wed Oct 12, 2005 8:50 pm

Re: WYSIWYG Editor Problems

Post by TimothyFoo »

@Blikkie

That doesn't seem to work for me.

I have tried all of suggestions so far and even went so far as to try a fresh install of 1.0.5.

I am still getting the same error.

Does anyone have any other ideas?
User avatar
Nettie
Forum Members
Forum Members
Posts: 53
Joined: Tue Oct 03, 2006 11:42 pm

Re: WYSIWYG Editor Problems

Post by Nettie »

I got rid of the "the server did not send back a proper XML response" in 1.0.5 by replacing the browser forlder in: /modules/FCKeditorX/FCKeditor/editor/filemanager/ with the browser folder from 1.0.4.

But it didn't solve the problem with no images shown in the uploadsfolder in IE7.
harlemangel
New Member
New Member
Posts: 8
Joined: Wed Aug 30, 2006 9:06 am

Re: WYSIWYG Editor Problems

Post by harlemangel »

Hi

Im having the same problem, when you click the 'browse server' button in the image window, its generates an XML error. Ive checked all paths , and config settings, and i cant figure out whats happening.

And more confusing is the fact that its working in Firefox.  :'(

If ~anyone~ has an idea, please post here!

Thanks
H
broony
Forum Members
Forum Members
Posts: 17
Joined: Mon Apr 23, 2007 5:52 am

Re: WYSIWYG Editor Problems

Post by broony »

I am having the same problem. It's driving me crazy..
Has anyone found a solution?
???
harlemangel
New Member
New Member
Posts: 8
Joined: Wed Aug 30, 2006 9:06 am

Re: WYSIWYG Editor Problems

Post by harlemangel »

After a good bit of investigating, it ~seems~ to me, that its a flippin resource issue.

If you shut down all your other windows, and then try the browse image, it works. (for me at least)

I imagine that somewhere in the code there is a memory leak, or a missing call to free up memory

Have a look at http://sourceforge.net/search/?type_of_ ... rds=memory

Possibly the version of FCKEditor thats been customised for CMSMS does not have all the upgrades and fixes that have been developed for the current version (version 2.4.2) that clean up the memory leaks?

Anyway, this is def an issue for me, and may lead me to change over to TinyMCE

Hope this helps. If anyone has any comments or can reproduce the fix above, please post here.

K
broony
Forum Members
Forum Members
Posts: 17
Joined: Mon Apr 23, 2007 5:52 am

Re: WYSIWYG Editor Problems

Post by broony »

Apparently this is fixed in svn?
Anyone know the correct procedure for upgrading FCK without the super easy to use module manager. I have tried overwriting files with fck installed plus just copying files over after removal of fck.. the result is no appearance of FCK in admin
Any help really  apprecaited
Many thanks
Locked

Return to “CMSMS Core”