PHP Classes

error : No source file. Can't carry on a process

Recommend this page to a friend!

      class.upload.php  >  All threads  >  error : No source file. Can't carry...  >  (Un) Subscribe thread alerts  
Subject:error : No source file. Can't carry...
Summary:Working great on my local sever, cant fix it on my remote server
Messages:4
Author:Paul Smith
Date:2006-08-21 09:25:31
Update:2006-09-16 17:29:03
 

  1. error : No source file. Can't carry...   Reply   Report abuse  
Picture of Paul Smith Paul Smith - 2006-08-21 09:25:31
This class is brilliant. No question. It's working perfectly on my local sever, but when I use it on my remote server I get this error message -

error : No source file. Can't carry on a process

I have changed the path in upload.php thinking this would be all I needed to do but to no avail.
I have used the debug feature and this is the result if it helps.

Please help....Colin???Anyone???
------------------------------------------

error : No source file. Can't carry on a process
source is an uploaded file
- upload OK
- file name OK
- source variables
file_src_name : dad+jasmine.jpg
file_src_name_body : dad+jasmine
file_src_name_ext : jpg
file_src_pathname : C:\WINDOWS\TEMP\php30B.tmp
file_src_mime : image/pjpeg
file_src_size : 142276 (max= 4194304)
file_src_error : 0
process file to ***removed***\html\testArea\images\thumbs/
- file size OK
- file mime OK : image/pjpeg
- new file name body : image_resized
- file name safe format
- destination variables
file_dst_path : ***removed***\html\testArea\images\thumbs/
file_dst_name_body : image_resized
file_dst_name_ext : jpg
- image operation, keep extension
- checking for auto_rename
- destination file details
file_dst_name : image_resized.jpg
file_dst_pathname : ***removed***\html\testArea\images\thumbs/image_resized.jpg
- image_resized.jpg doesn't exist already
process file to ***removed***\html\testArea\images\big/
- file size OK
- file mime OK : image/pjpeg
- file name safe format
- destination variables
file_dst_path : ***removed***\html\testArea\images\big/
file_dst_name_body : dadjasmine
file_dst_name_ext : jpg
- no image operation, keep extension
- checking for auto_rename
- destination file details
file_dst_name : dadjasmine.jpg
file_dst_pathname : ***removed***\html\testArea\images\big/dadjasmine.jpg
- dadjasmine.jpg doesn't exist already

  2. Re: error : No source file. Can't carry...   Reply   Report abuse  
Picture of Colin Verot Colin Verot - 2006-08-22 13:51:05 - In reply to message 1 from Paul Smith
Does it work with an image which filename doesn't include a + sign?

Can you send the logs for such an image? Maybe the + creates a problem.

C.

  3. Re: error : No source file. Can't carry...   Reply   Report abuse  
Picture of Paul Smith Paul Smith - 2006-08-22 15:26:04 - In reply to message 2 from Colin Verot
Thanks for the reply Colin,

Not the plus sign I'm afraid. The same happens with all images.

The only thing I can figure is that the path to the upload directories is wrong.

I am using (dont shunn me, its not a choice of mine) IIS, and so the paths used in the sample files aren't the same. I really want to get this to work as it is a perfect class for my needs.

Have you ever used this with IIS?
Could you suggest a path that would work on an IIS filesystem?

How do you mean 'Can you send the logs for such an image?'

Cheers

  4. Re: error : No source file. Can't carry...   Reply   Report abuse  
Picture of Colin Verot Colin Verot - 2006-09-16 17:29:03 - In reply to message 3 from Paul Smith
Yes, the problem seems to be because the paths. I dont use IIS, and couldn't test it on this server. I will fix it for the next release.

 
For more information send a message to info at phpclasses dot org.