| Author |
Message |
Re4per

Joined: May 24, 2009
Posts: 5
|
Posted:
Sat May 30, 2009 10:21 am |
|
Hello iam running Nuke Evolition Basic v2.0.7 and have come across this issue with the Image Upload v1.3 module when i test the uploading with all default settings:
Warning: getimagesize(C:wamptmpphp14.tmp) [function.getimagesize]: failed to open stream: No such file or directory in C:\wamp\www\modules\Upload\upload_rename_ac.php on line 20.
We are sorry but we can't upload your image.
A wrong file type or exceeding the upload size might have triggered this error. please try again.
Your help would be most greatfully recieved, thank you.  |
| |
|
|
 |
Guardian

Joined: Dec 09, 2006
Posts: 333
|
Posted:
Sat May 30, 2009 8:49 pm |
|
The file ends in .tmp ? That might not be a valid extension for the uploader as the error indicates. |
_________________ Code Authors Nuke Reviews |
|
|
 |
Re4per

Joined: May 24, 2009
Posts: 5
|
Posted:
Sat May 30, 2009 9:08 pm |
|
Problem is that (C:wamptmpphp14.tmp) does not exist, and i see no call for it in any of the files in the module
(edit)
If i comment out the $imageinfo = getimagesize($filetmp); line then the...
Warning: getimagesize(C:wamptmpphp2E.tmp) [function.getimagesize]: failed to open stream: No such file or directory in C:\wamp\www\modules\Upload\upload_rename_ac.php on line 20
error msg dissapears but the...
We are sorry but we can't upload your image.
A wrong file type or exceeding the upload size might have triggered this error. please try again
remains
(/edit) |
| |
|
|
 |
Guardian

Joined: Dec 09, 2006
Posts: 333
|
Posted:
Sun May 31, 2009 4:16 am |
|
I don't actually use this script but the only other thing I can think of is that the script itself is creating temp file as part of it's renaming routine and doesn't have permission to write to that part of the disc.
Possibly, this is due to the fact you are using WAMP and LAMP (Windows server instead of Linux server).
Is it possible to specify where the file is saved in some configuration area?
I notice in your last post the file path is C:something.tmp and it is missing a slash - C:\something.temp |
_________________ Code Authors Nuke Reviews |
|
|
 |
Re4per

Joined: May 24, 2009
Posts: 5
|
Posted:
Sun May 31, 2009 6:01 am |
|
There is no call to the (C:wamptmpphp30.tmp) 'file' if indeeed it is meant to be a file as im not so sure, if you see here the number has increased to 30 now in the name which led me to believe that i would be able to find, somewhere, some kind of record for this file but looking in depth i found no such thing, im about ready to give up on this module and begin my search for something similar.
Thx for your responses  |
| |
|
|
 |
Guardian

Joined: Dec 09, 2006
Posts: 333
|
Posted:
Sun May 31, 2009 6:25 am |
|
There might not be a direct call to it, the script might be creating it temporarily as part of a renaming routine etc. Most good uploading scripts will never retain the original file name to help prevent malicious code being executed.
I'm a little busy at the moment but I'll try and download it and take a look once installed on my local system. |
_________________ Code Authors Nuke Reviews |
|
|
 |
Re4per

Joined: May 24, 2009
Posts: 5
|
Posted:
Sun May 31, 2009 6:48 am |
|
Ok thank you for your help  |
| |
|
|
 |
|
|