EditWrx Knowledge Base Home
 Search       Login   Register   Members   Help   Home 
Search by username


Upload Pictures
 Moderated by: Keith  
 New Topic   Reply   Print 
AuthorPost
Roland
Member
 

Joined: Thu Nov 10th, 2005
Location:  
Posts: 3
 Posted: Thu Nov 10th, 2005 10:45 am
 Quote  Reply 
I can`t upload any file.

I have enabled the upload folder 777 - it does not work.

My System is uploading, uploading ....

If i use ftp for the transfer it's ok.

Is there any function in the demo not possible?

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 603
 Posted: Fri Nov 11th, 2005 04:55 pm
 Quote  Reply 
Roland

All features in the demo are functional on the shareware and licensed versions.

First of all, never give a folder 777 permissions, it is so insecure that Apache, Perl and EditWrx will automatically limit what can happen in that folder without warning. 0755 permissions are proper for creating new files in a Unix folder.

First, make certain that the extension of the file you are up-loading is allowed. Open /library/data/config.txt to verify that the extension is listed in either @allowable_binary_extensions or @allowable_ascii_extensions. If not, login to Admin Control Panel Site Parameters and add the extension.

The upload function may require two Perl modules depending on how you set up EditWrx. Failure of either module will hang-up the upload process without warning.
  1. On the Admin Control Panel Site Parameters leave the Max Image Upload Size: Width & Height fields empty to disable the need for the ImageMagick module. Try an upload, if it works your ImageMagick program on the server is defective.
  2. Verify that /library/mods/Image/Size.pm exists. If your system had a Size.pm module there would not be one at /library/mods/Image. If the existing Size.pm is corrupted, uploading will fail. So, upload Size.pm to the /library/mods/Image folder and EditWrx will use that one instead. You can download Size.pm here

Roland
Member
 

Joined: Thu Nov 10th, 2005
Location:  
Posts: 3
 Posted: Mon Nov 14th, 2005 07:32 am
 Quote  Reply 
Hi,

sorry, but it does not work...

I don't find to configure the Max Image Upload Size in the Admin Panel.

 

 

 

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 603
 Posted: Mon Nov 14th, 2005 04:15 pm
 Quote  Reply 
 don't find to configure the Max Image Upload Size in the Admin Panel
You must have the "check for ImageMagick" button still showing. That's fine because you probably do not have it running.

Did you check for the existence of /library/mods/Image/Size.pm ?

Brillo
Member
 

Joined: Wed Oct 1st, 2008
Location:  
Posts: 1
 Posted: Mon Oct 6th, 2008 05:27 pm
 Quote  Reply 
I am running into the same problem. Every upload I try, freezes at the "wait - Uploading file..." I have checked that "the extension of the file you are up-loading is allowed", and that Size.pm exists (not corrupted either). The system does not have imagemagick, so I still have the box for ImageMagick. Any other ideas?

Last edited on Mon Oct 6th, 2008 05:27 pm by Brillo

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 603
 Posted: Wed Oct 8th, 2008 06:02 pm
 Quote  Reply 
It sounds like your server is set up to not allow scripts to use any Perl Modules that are not in the Perl path (not allow local modules).

Download
http://www.editwrx.com/imagesize.zip
and replace /library/ini/properties.txt & /library/ini/uploading_file.txt with the two files in the attached zip.


 Current time is 10:05 pm




Powered by WowBB 1.62 - Copyright © 2003-2004 Aycan Gulez