Opencart

Discount Coupon Entry not Displaying Opencart 1.5.3.1

Opencart Cart Version 1.5.3.1 We have been using opencart Version 1.5.3.1 with a custom template or skin. We found that the skin had some coding that stepped users through the “cart” step of the checkout, directly to the checkout process. The stops the “voucher or coupon” step being available to the end user during checkout. (Unless they had more than one item in their cart). The problem appears to be that the template is using the code: <a href="<?php echo $checkout; ?>"   rather than: <a href="<?php echo $cart; ?>"   You see the difference is the word “checkout” vs “cart” in this string. This means that when you click on the: icon for checkout,… Read More »Discount Coupon Entry not Displaying Opencart 1.5.3.1

Opencart on IIS 7.5 Windows 2008 Server FTP Permissions Changing

Opencart and PHP running on IIS, we found Permissions incorrect on uploaded files After working with IIS server running PHP, we found the files uploaded through the web interface of the opencart CMS failed to inherit the correct permissions. After spending weeks time to resolve this problem, believing that it was a glitch that required file permissions to be reset we found an easy solution. The Problem The problem lies with the PHP system running on IIS. When you use a web interface to upload files to your PHP CMS website, they are initially loaded to the PHP defined temporary folder. The temporary folder is set in the PHP.ini file. To find this file and… Read More »Opencart on IIS 7.5 Windows 2008 Server FTP Permissions Changing

Opencart .php on IIS 7.5 Permission Denied

The Problem We ran into an interesting issue while playing with Opencart on IIS 7.5. The issue was around a common third party module being used called Magic Zoom Plus. The error showed it’s self with the loading of some junk text at the beginning of many pages when loading. The text looked like this: Warning: file_put_contents(C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox/magiczoomplus.css): failed to open stream: Permission denied in C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox\module.php on line 171Warning: unlink(C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox/magiczoomplus.css): Permission denied in C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox\module.php on line 172Warning: rename(C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox/magiczoomplus .css~backup,C:\inetpub\wwwroot\www.domain.com\admin\controller\module\ magictoolbox/magiczoomplus.css): Access is denied. (code: 5) in C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox\module.php on line 173Warning: file_put_contents(C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox/magiczoomplus.css): failed to open stream: Permission denied in C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox\module.php on line 171Warning: unlink(C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox/magiczoomplus.css): Permission denied in C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox\module.php on line 172Warning: rename(C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox/ magiczoomplus.css~backup,C:\inetpub\wwwroot\www.domain.com\admin\controller\module \magictoolbox/magiczoomplus.css): Access is denied.… Read More »Opencart .php on IIS 7.5 Permission Denied