Post by p4m » Thu May 07, 2009 5:55 am

Hello,
When I click download in customer account to download the ordered file, I get these errors lines above the page header. And the size of the file shows 0 Ko. What is wrong?? any help welcome. Thanks


Warning: filesize() [function.filesize]: stat failed for C:\wamp\www\OpenCart/download/lesson.pdf.262717604b93578b7309e4a57fe91447 in C:\wamp\www\OpenCart\catalog\controller\account\download.php on line 61

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\OpenCart\catalog\controller\account\download.php:61) in C:\wamp\www\OpenCart\system\library\response.php on line 65

p4m
New member

Posts

Joined
Mon May 04, 2009 7:53 pm

Post by Daniel » Thu May 07, 2009 8:07 am

I would say check the permissions but your using windows.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by p4m » Thu May 07, 2009 3:20 pm

Hi,
Sorry, but is there a way to get rid of these warning since it looks a bit weird for a coustomer to see them on the browser page?

Thanks

p4m
New member

Posts

Joined
Mon May 04, 2009 7:53 pm

Post by Daniel » Thu May 07, 2009 7:17 pm

check the download path in your config.php file.

if not i'm goign to supress this error in the next release.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by p4m » Fri May 08, 2009 1:12 am

The download path must be good since I can download the file. The page is displaying perfectly, just size indictes 0B and the warning above the Page header.
I'll wait until the next realese then.

Thanks a lot.

p4m
New member

Posts

Joined
Mon May 04, 2009 7:53 pm

Post by Daniel » Fri May 08, 2009 5:36 am

I think there is some bugs in the file_size function built in php.

I have fixed it in the latest release.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm
Who is online

Users browsing this forum: No registered users and 2 guests