Hi,
Thank you for a great script
the files upload fine and I can see them on the server, but the page does not redirect. When I unhide the hidden frame it shows:
Error2 at /var/www/test.oberrecht.com/cgi-bin/upload.cgi line 325.
I have tried the suggestions in the sticky post but that did not fix the problem.
The tmp and final upload folders are chmod 777
uploaded files lifetime is set to 0
I am using the pro 2.4 version of the script on ubuntu LTS server.
XUpload - Error2 at /cgi-bin/upload.cgi line 325
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Pretty rare problem, probably some permissions issue or .
Here goes quick fix: in upload.cgi find
and replace with
Here goes quick fix: in upload.cgi find
Code: Select all
opendir(DIR, $dir) || die"Error2";
Code: Select all
opendir(DIR, $dir) || return;