Jump to content

Warning: filesize(): Stat failed


Guest

Recommended Posts

This happened after a payment was made and the customer sent back to my site. The confirmed page worked well but no email was sent out to customer and when the customer clicked on the product id link.

:)

Warning: filesize(): Stat failed for /hsphere/local/home/harleygi/ebookrage.com/digidownloads/downloadtest.zip (errno=2 - No such file or directory) in /hsphere/local/home/harleygi/ebookrage.com/download.php on line 63

Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/harleygi/ebookrage.com/download.php:63) in /hsphere/local/home/harleygi/ebookrage.com/download.php on line 63

Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/harleygi/ebookrage.com/download.php:63) in /hsphere/local/home/harleygi/ebookrage.com/download.php on line 66

Warning: fopen(/hsphere/local/home/harleygi/ebookrage.com/digidownloads/downloadtest.zip): failed to open stream: No such file or directory in /hsphere/local/home/harleygi/ebookrage.com/download.php on line 71

Anyhelp please

Link to comment
Share on other sites

Warning: filesize(): Stat failed for /hsphere/local/home/harleygi/ebookrage.com/digidownloads/downloadtest.zip (errno=2 - No such file or directory) in /hsphere/local/home/harleygi/ebookrage.com/download.php on line 63

You do not have a directory named "digidownloads" on the root of the site.

Simple fix would be to create the directory, and copy your file into it, so you can access it from your browser;

http://www.ebookrage.com/digidownloads/downloadtest.zip

I would advise putting this directory "higher", somewhere like;

/home/harleygi/digidownloads/

You should be able to FTP the files into that directory, and point the product's digital file URL there as well. This will be much more secure as the store can limit downloads and protect against unauthorised access.

Users will not be able to enter the URL, as its outside the published area, the "download.php" script will be the only route to get it.

Jason

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...