File: includes/functions/functions_lookups.php. This function is backwards!
line 873 should be
notCode:if ($download_display->RecordCount() == 0) {
Code:if ($download_display->RecordCount() != 0) {
File: includes/functions/functions_lookups.php. This function is backwards!
line 873 should be
notCode:if ($download_display->RecordCount() == 0) {
Code:if ($download_display->RecordCount() != 0) {
Last edited by swguy; 27 Nov 2015 at 02:18 PM.
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Please elaborate. Posting tips answers is a good place to start, but really understanding whatcha' mean would help as well... Any error logs? http://www.zen-cart.com/content.php?124-blank-page
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Error Message reads
I accept the code is right and may have a modification which depends on the old (broken) behavior of this function, but so far have not been able to trace it.Code:PHP Fatal error: Can't use method return value in write context in ...\includes\functions\functions_lookups.php on line 875
Thanks
Ma foi! I had single = instead of double ==.
It was fixed in v1.5.5 (and v1.6.0, albeit via multiple commits) this way: https://github.com/zencart/zencart/c...25402f18b050b6
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Bookmarks