File Upload in 1.1 Not Working
Posted: 17 August 2004 09:17 AM   [ Ignore ]  
Grad Student
Rank
Total Posts:  40
Joined  11-11-2003

The file upload feature in publish and edit worked great in EE 1.0 but since I upgraded to EE 1.1 the file upload stopped working.  The files are being uploaded to the correct folder that is set with 777 permissions.  The problem is the code is not being created by EE and inserted into the body text box for the clickable link to the uploaded file as with EE 1.0.  Since the permissions are set correctly and the files are actually being uploaded, this seems to be a code creation error. Any suggestions?

Profile
 
 
Posted: 17 August 2004 09:22 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32856
Joined  05-14-2004

I have just tested this and it worked.  One of the things to double check - on the upload page it asks you to specify exactly what field you want the code to go into.  Are you sure that you’re checking the body field?

 Signature 
Profile
MSG
 
 
Posted: 17 August 2004 02:40 PM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  40
Joined  11-11-2003

No matter what I do, whether it be selecting summary, body, or extended text, the file gets uploaded to the server but does not get coded like the way EE 1.0 worked.  Something definitely was changed in the EE code between version 1.0 and 1.1 that is affecting the file upload functionality.  I have tested this on two different ISPs and the problem is identical no matter which ISP I use.

Profile
 
 
Posted: 17 August 2004 02:51 PM   [ Ignore ]   [ # 3 ]  
Grad Student
Rank
Total Posts:  40
Joined  11-11-2003

I use EE as a content management system and uploading files like pdfs and jpbs is a normal, everyday activity.  The file upload functionality worked just fine in EE 1.0 and I need to find a way to restore that functionality.

Profile
 
 
Posted: 17 August 2004 11:19 PM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
RankRankRankRankRank
Total Posts:  2541
Joined  12-21-2001

What browser/platform do you use?  Do you have JavaScript enabled in your browser?

We can’t duplicate this problem on any of our systems, and no one else has reported a problem.  We had 75 beta testers, and the app has been downloaded continuously since we released it yesterday.

 Signature 
Profile
MSG
 
 
Posted: 18 August 2004 04:12 AM   [ Ignore ]   [ # 5 ]  
Grad Student
Rank
Total Posts:  40
Joined  11-11-2003

Platform is Windows XP.  Browser is Internet Explorer 6.  I doubt that this problem has to do with the platform or browser since EE version 1.0 and EE public beta versions worked just fine with the exact same platform/browser combination.

<font color=“blue”>I have narrowed down this problem specifically to the uploading of non-image files.</font>  I discovered that I can successfully upload gif or jpg files and the files make it to server as expected using EE version 1.1, plus the necessary code for the image appears in the summary or body or summary or extended text, depending on which is chosen.

However, non-image files are not uploaded to the server and EE version 1.1 does not write any code for them.  I test the following non-image file types and all of them fail:  <b>html</b>, <b>doc</b>, <b>pdf</b>. 

I can only conclude that this uploading problem is limited to non-image files.  And yes, I have checked “All File Types” in the Allowed File Types of the File Upload Preferences.  I know that non-image files were successfully uploaded in EE version 1.0 as well as the public beta because this has been done since January of this year. 

I use EE on a business site for content management involving several correspondents who post material and upload non-image files.  I cannot post the URL in the forum because the site contains proprietary information, but I can give someone from pMachine Staff the necessary log in details.

Perhaps other users or beta testers of EE version 1.1 who had success uploading files are only uploading image files.  Perhaps I am unaware of some new adjustment that must be made for successful uploading of non-image files.  It would be really useful to be able to specify the acceptable file extensions in the File Upload Preferences. 

Perhaps there is somewhere else that file types doc, html and pdf can be specified for uploading in EE version 1.1? 

Also note that I tried restoring the <b>core.upload.php</b> file from EE version 1.0 and doing so did not enable the uploading of non-image files.  This test I performed to rule out that this problem is related to the <b>core.upload.php</b>. 

My suggestion is that some other php file in EE version 1.1 has been changed compared to EE version 1.0 or earlier public betas and that the change impacts the uploading of non-image files while not affecting the uploading of image files. 

Profile
 
 
Posted: 18 August 2004 05:17 AM   [ Ignore ]   [ # 6 ]  
Summer Student
Total Posts:  14
Joined  01-30-2004

I am having the same problem with non images files since i upgraded to EE 1.1

Profile
 
 
Posted: 18 August 2004 08:04 AM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32856
Joined  05-14-2004

If you go to admin - > File Uploads: do the permissions look ok? Allow other file types and max size isn’t too small?

 Signature 
Profile
MSG
 
 
Posted: 18 August 2004 08:57 AM   [ Ignore ]   [ # 8 ]  
Grad Student
Rank
Total Posts:  40
Joined  11-11-2003

In File Upload Preferences, yes, I have selected “All file types.”

I have not filled in any values in “Maximum File Size” or “Maximum Image Height” or “Maximum Image Width” or “Pre-Formatting” or “Post Formatting.”

In “Image Properties” I have filled in border=“0” and nothing else.

Profile
 
 
Posted: 18 August 2004 09:06 AM   [ Ignore ]   [ # 9 ]  
Grad Student
Rank
Total Posts:  40
Joined  11-11-2003

I would like to suggest to the Support Team that this problem in uploading non-image files is in some way related to the new EE 1.1 feature in file uploading in which an image file in treated differently by EE than a non-image file.  Specifically, unlike in EE 1.0 the file upload functionality in EE 1.1 has been changed (improved) to allow for the selection of “Embedded in Entry” or “Pop-up Image.”  Non-image files are not treated in the same way; there is no choice of how the file should appear (embedded vs. pop-up) so it only makes sense that the code associated with the file upload functionality in EE 1.1 is different than the code for the file upload functionality in EE 1.0 and that is why there are problems in uploading non-image files.

Profile
 
 
Posted: 18 August 2004 09:13 AM   [ Ignore ]   [ # 10 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32856
Joined  05-14-2004

I can’t get a non-image type to upload, either.  I’d suggest that you submit this as a bug report and reference this thread. =)

 Signature 
Profile
MSG
 
 
Posted: 18 August 2004 09:18 AM   [ Ignore ]   [ # 11 ]  
Administrator
Avatar
RankRankRankRankRank
Total Posts:  2541
Joined  12-21-2001

We’ll look into it.

 Signature 
Profile
MSG
 
 
Posted: 18 August 2004 12:11 PM   [ Ignore ]   [ # 12 ]  
Grad Student
Rank
Total Posts:  40
Joined  11-11-2003

Rick,
 
The replacement cp.publish.php file that you sent to me corrected the uploading problem.  Thanks again for the excellent service from pMachine!

Profile
 
 
Posted: 31 August 2004 07:58 AM   [ Ignore ]   [ # 13 ]  
Grad Student
Rank
Total Posts:  40
Joined  11-11-2003

The previous fix with the new EE core file worked fine for awhile. 

For some reason, however, now I am getting this error message whenever I try to upload anything:  “A problem was encountered while attempting to upload your file.” 

Any suggestions as to why this is happening and how to correct it?

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64904 Total Logged-in Users: 42
Total Topics: 81846 Total Anonymous Users: 25
Total Replies: 440036 Total Guests: 243
Total Posts: 521882    
Members ( View Memberlist )