1

Topic: Problems with Upload?

We have had a lot of questions regarding the upload functionality of the new versions, this post is to help out with the most basic problems.

Upload button is grayed out
Check your write permissions in the folder you are trying to upload to.

Please note that for the PHP version, you might also need to configure the following two options for the files & folders to get the correct permissions when created/uploaded:
File Mask: http://wiki.moxiecode.com/index.php/MCI … .file_mask
Directory Mask: http://wiki.moxiecode.com/index.php/MCI … ctory_mask

Upload not working
We have had a lot of reports of the flash upload utility that we use isn't working properly on some systems (HTTPS on Mac for example).

Go into your configuration and set the following option to false.
http://wiki.moxiecode.com/index.php/MCI … ple_upload

This will disable the multiple upload part.

You can also try installing Google Gears or Silverlight and then enable the multiple_upload option again.

Upload still not working without multiple upload
Check your PHP logs for error message, there are a lot of PHP ini options that can be set that might interfere with the upload process, such as max post size, max upload size, max memory usage and other things. Your error logs should show these as warnings so you can find what is wrong.


If you still have problems, post on this forum and we will try to help you resolve it.

Afraithe
TinyMCE Developer
Moxiecode Systems

2

Re: Problems with Upload?

Hi Guys

I'm unable to upload any files that contain a space in the title I've tried the non Flash upload method but the error message I get is 'Filename is not valid.' and with Flash I get 'No access on this file/folder.' Everything else works perfectly except for this issue.

My server setup is as follows:
Windows 2003 Server SP2 Standard Edition
IIS
PHP5

Thanks for any help in advance.

Dave

3

Re: Problems with Upload?

We will look in to this short coming for the upcoming 3.0.3 release in the mean time check this thread http://tinymce.moxiecode.com/punbb/view … hp?id=7602

Best regards,
Spocke - Main developer of TinyMCE

4

Re: Problems with Upload?

Problem with ImageManager/upload image
Upload works fine on directory "/". But I needed to create a subdirectory "/users". I gave write authorisations on the subdirectory and the upload icon is now ok. But when I try uploading, I get no error message but the operation was'nt performed (/users is empty).
Thank you for your help.

5

Re: Problems with Upload?

Could still be access problems. If PHP is running in safe mode the owner and group must also match the user/group running Apache.

Best regards,
Spocke - Main developer of TinyMCE

6

Re: Problems with Upload?

Problem with content text upload?
I'm having a hard time copying and pasting text from a word doc file or mac pages file.   After the content text is pasted into the tinymce editor I click on the submit button and it does not take.  I current have my mysql database field set to longtext.  When I store the data from my php script the following code is called... 

$sContent = strip_tags(stripslashes($_POST['content']),$allowedTags);

7

Re: Problems with Upload?

The problem is that I noticed that the field includes html markup codes such as ’ which makes the data large.  Therefore when I hit the submit button, the changes do not take.  However if I were to type in the content manually through the tinymce editor it will take.  So I guess the issue is when I copy and paste from another application such as WORD or mac PAGES.  I noticed that if I modify the content in the database filed it will all display correctly.  Can someone direct me to what I am doing wrong or what I need to do to fix this issue?

8

Re: Problems with Upload?

And this has something to do with the MCImageManager product?!

Best regards,
Spocke - Main developer of TinyMCE

9

Re: Problems with Upload?

No.  Just uploading copying and pasting the content into the wysiwyg editor.

10

Re: Problems with Upload?

Okey, post in the tips and tricks forum and check the docs.

Best regards,
Spocke - Main developer of TinyMCE

11

Re: Problems with Upload?

Hi,

I've got a project I'm working on and the client needs to upload FLV videos through the file manager which are about 10mb in size. I've just tested this on the FileManager demo and in basic upload mode it just sits saying 'uploading' for ages. Been running for about half an hour now and no luck, but no error message either. Can you help?

I've used the TinyMCE editor on a few projects now so would be happy to purchase the FileManager if only this worked!

Anthony Chaffey
Ballyhoo Ltd
e-commerce Web Design

12

Re: Problems with Upload?

It works for me to upload large files. Tried files that are 100mb.

Best regards,
Spocke - Main developer of TinyMCE

13

Re: Problems with Upload?

Even FLV files? What browser are you using? Could you send me a large file that works for you to try from here?

Anthony Chaffey
Ballyhoo Ltd
e-commerce Web Design

14

Re: Problems with Upload?

I use a standalone upload and tries to set a path by
<a href="javascript:;" onclick="mcImageManager.upload({path : 'imagesdir'});">Upload</a>
When I do this the upload dialog doesn´t show the complete dialog I just get the header. Even if I leave the path blank or set it to {0}/imagedir.
But whitout the path it works fine. I have checked the source code for the dialog and the csss files that are used and they are the same regardless if I look in the working version or the nonworking version?
Before this call I have set the mc_rootpath by
$_SESSION['mc_rootpath'] = "/usr/home/www/public_html_dev/dir/imagesdir"; which works fine when I don´t use the upload as standalone.
In my config.php the rootpath is set b:
$mcImageManagerConfig['filesystem.rootpath'] = '/usr/home/www/public_html_dev/images'

My guess is that I doe something wrong whith the path that makes the flash uploader confused.

(If possible I would love to use the upload whith Jquery as you do in the imageviewer since I´m no fan of popups)

Kind regards

Olle

15

Re: Problems with Upload?

Oh I forgot to tell you that when I call the upload as a standalone whithout any path parameter it reports thar path is / and when I try to upload files it says (correctly) that I dont have any access to /

Kind regards
Olle

16

Re: Problems with Upload?

I am Finding I'm having problems with images in version 2.08(Image manager)

While inserting images works in internet explorer, I'm finding in firefox that tinymce does NOT copy the value of the src attribute across.

Is this a common problem?

Is there a patch or course of action one should take to fix this?

17

Re: Problems with Upload?

Upgrade TinyMCE and the MCImageManager products.

Best regards,
Spocke - Main developer of TinyMCE

18

Re: Problems with Upload?

Hi,

I don't know if I missed something but is there an option to auto rename filename when a file with the same name is already on the server? I have tried to set "unique_names" to true on the iniPlupload but I have an error "invalid file name".

Any idea?

Thanks in advance,

Spope

19

Re: Problems with Upload?

We currently doesn't have any unique names option for these products. Might be a good option for future versions.

Best regards,
Spocke - Main developer of TinyMCE

20

Re: Problems with Upload?

I get the IO error like so many else with flash !

Seems like 2 files are missing according to firebug !

/clientaccesspolicy.xml
/crossdomain.xml

I have no flash experience, but seems like the issue is related to some cross domain scripting ?

21

Re: Problems with Upload?

The files are not uploaded cross domain so there is no issues with that.

Best regards,
Spocke - Main developer of TinyMCE

22

Re: Problems with Upload?

None of the wiki links anywhere in this forum seem to work any longer (the wiki seems to have changed and no one made any kind of redirects) sad sad sad

23

Re: Problems with Upload?

hallo sir
how plugin ibrowser in my asp.net website
and where i download ibrowser

24

Re: Problems with Upload?

iBrowser is not our product so I don't know or care. And I don't know what that has to do with the MCImageManager support.

Best regards,
Spocke - Main developer of TinyMCE

25

Re: Problems with Upload?

We are getting corrupt images - not all the time, and there doesn't appear to be any logical reason for it, i.e. different file sizes/types, might happen when uploading 1 image or multiple.

Results are an image with various amounts missing from the bottom.

Any suggestions to help resolve it?