
Originally Posted by
Gerome
Well, I investigated and found out that it did this error when one of your site has a category with no product and no category for this shop (but categories for other shops...)
I didn't really get why it does that to your zen-cart but not to others but the problem was at line 51 in category_free.php
" while (!$categories->EOF) {"
When the query is empty, was defined as an object and then didn't see that the property return true. It returns false in my test shops thought ...
I replaced this line by " while ($categories->EOF===false) {" and it now works correctly.
The fix will be in the next multisite version that I should do soon...
I will see what has changed in orders.php and then, I'll report the changes to the multisite version. I should do that tomorrow as I'm busy today.
Thanks Reza for pointing this error out !
Bookmarks