Post by tmblue » Fri Mar 20, 2009 10:00 pm

Code: Select all

Notice: Undefined index: mask in C:\xampp\htdocs\opencart\catalog\controller\account\download.php on line 61

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\opencart\catalog\controller\account\download.php:61) in C:\xampp\htdocs\opencart\system\library\response.php on line 65
This gave me a warning when i went to the download session in account infomation.
I viewed the download.php file at line 61th, i see this code :

Code: Select all

$size = filesize(DIR_DOWNLOAD . $result['mask']);
so mask seem not to be declared before, i dont know what it mean ???

Newbie

Posts

Joined
Fri Mar 20, 2009 6:46 pm

Post by fido-x » Sat Mar 21, 2009 12:19 am

Changing the line from:

Code: Select all

$size = filesize(DIR_DOWNLOAD . $result['mask']);
to

Code: Select all

$size = filesize(DIR_DOWNLOAD . $result['filename']);
should fix it.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by Daniel » Sat Mar 21, 2009 2:23 am

I'm going to add this fix and possible release tonight.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Daniel » Sat Mar 21, 2009 6:20 am

Just done anopther release with this fix in and the download fix.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by tmblue » Sat Mar 21, 2009 1:03 pm

many thx to admin :D

Newbie

Posts

Joined
Fri Mar 20, 2009 6:46 pm
Who is online

Users browsing this forum: No registered users and 22 guests