TinyMCE/WYSIWYG & File Uploadng problems [SOLVED, well kinda]

Permalink
I was playing around with C5 and I love it. I had 2 issues with it though. I wasn't able to find any solution to those problems at this forum so I had to come up with my own.
Here it is:

1) TinyMCE was broken under Firefox3 and Safari3. I solved it by downloading the latest version fromhttp://tinymce.moxiecode.com & placing the content of extracted "tinymce/jscripts/tiny_mce" folder into "concrete/js" folder. and then editing page_controls_header.php in "concrete/elements" folder @ line 31 by changing this:
$this->addHeaderItem($html->javascript('tiny_mce/tiny_mce_309.js'));
into this:
$this->addHeaderItem($html->javascript('tiny_mce/tiny_mce.js'));

2) I run the first test locally under MAMP PRO for MacOSX and I had problems uploading individual files that were bigger than 10Kb. Basically, the flash uploaded was stuck uploading it, multiple files upload never worked at all. I was searching for solution in all of these forums and wasn't able to find anything but the fact that it was a common and unresolved problem. So, I moved testing to another server and it started working just fine. So, I guess, the problem lies in the server set-ups.

Can anyone suggest to me how I can _easily_ compare the 2 servers set-ups so I can figure out why it was working on one while doing nothing on the other? I can post the results of my findings if anyone would be interested.

mxmax
 
frz replied on at Permalink Reply
frz
Im sure this is of no help,
but tinyMCE works fine for me in both firefox3 and safari3, as well as several of my devs..

also, the uploading thing has to be a server issue because the single file upload isn't even flash. the multiple one is, but single file is just a http connection with a throbber in the page.

i know we've had issues with mod-security on that flash uploader, but with the single file issue it sounds more like a php/apache setting...

a phpinfo() call on each server might help
mxmax replied on at Permalink Reply
mxmax
After I updated TinyMCE to a newer version it started working in both Safari3 and FF3. In FF3 it worked initially but after I've restarted the FF3 it broke down again. I was trying to figure out what is going on as it continued to work just fine in Safari. Apparently it was a FF3 bug. To make TinyMCE work again I had to delete my profile and create a new one. You can find more info on how to do it @http://support.mozilla.com/en-US/kb/managing+profiles...
Careful though, if you delete your profile it will delete all your bookmarks & extensions. Made backup before you do anything to your profile (I did).

I'll post my findings on the uploading issue latter on as I'll make sure that what I found does resolves the problem.
TravisN replied on at Permalink Reply
TravisN
I helped another user solve his file uploading problems on the thread below

http://www.concrete5.org/community/forums/usage/unable_to_upload_im...

It sounds like you might have the same issues. Replace the file I attached to the thread, and you should get a verbose alert indicating what the error is.

I believe you are correct that the server setups is the problem and in particular the php settings. You can output the php settings by creating a new php file and pasting the following in it
<?php phpinfo(); ?>

the line I think you'll be looking for is "upload_max_filesize"
kutis replied on at Permalink Reply
kutis
i've tested it on windows machine with ffox 3 and google chrome it works just fine.

i'm on firefox 3 and safari 3 (on osx)

i doubt it's because of the tiny mce version. since i can run it on ffox 3 (win xp), but i've updated with the latest one still working...

it could be an osx problem, anyone has fixed for this?

edit: okay, it is only appears on older mac machines (G5 or older). tested on my macbook, it works, so hopefully no big issue there and if i could find a temp fix or a browser that works, it would be good
frz replied on at Permalink Reply
frz
im really confused by that last post.

i can tell ya im on osx and it works fine in both safari and ff.
kutis replied on at Permalink Reply
kutis
sorry,.. just re-read my post.. had too much coffee :)

the point is, the tiny_mce editor doesn't work on my G5 (osx v10.5.6) -- or even just on this particular machine, it is working fine on my macbook though

after googling a bit more, seems that tinymce is always problematic with osx.

hope this post makes more sense
mxmax replied on at Permalink Reply
mxmax
The problem with tiny_mce was actually caused by "adblock plus" extension on firefox. When u have "Filterset.G [www.pierceive.com]" updater for it Particularly by filter that starts with:

/[^a-z\d=+%@](?!\d{5,})

the whole thing is quite long...
Anyway disabling this filter resolved the MCE problem with any version of tiny_mce.

the other problem was resolved by tweaking php.ini
kutis replied on at Permalink Reply
kutis
thank you..

just need to white list my site, and it's all good. damn you, adblock+

on my macbook i'm using adblock (no plus), i switch to plus since filterset.g stopped updating..

anyway... thank you