.
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.
This is in the installed file.Everything works just fine as long as the filter is left on AllPHP Code:
//Zone Only SQL appendage
$zone_only_sql = '';
$zone_selected = false;
if ($_POST['zone_only'] != '' && !in_array('all', $_POST['zone_only'])) {
$get_zone_only = $_POST['zone_only'];
$zone_selected = true;
$zoned_sql = '';
foreach ($get_zone_only as $selectedZone) {
$zoned_sql .= "o.delivery_state LIKE '" . $selectedZone . "' OR ";
}
$zoned_sql = rtrim($zoned_sql, "OR ");
$zone_only_sql = " AND (" . $zoned_sql . ") ";
}
![]()
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
FWIW, that state filter is part of the v1.5.3 update for the plugin (which pretty much wiped out the changes that I made for v1.5.0 of the plugin). Hopefully, the plugin updater will chime in and correct the issue that's been created.
I am translating the module. The months remains in English. Where does the module pull the months from?
The plugin works well but it's generating the following error every time I access the admin:
That's what I read on line 27:Code:PHP Warning: unlink(/admin/includes/functions/extra_functions/stats_monthly_sales.php): Permission denied in /admin/includes/functions/extra_functions/stats_monthly_sales.php on line 27
Any idea?Code:unlink(__FILE__);
Yes. Delete that line.
That Software Guy. My Store: Zen Cart Support
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.
Getting an "illegal Access" after clicking on Monthly Sales link under admin-reports. This seemed pretty straight forward. Any Ideas?
I am using 1.54, and thought the installation was quite straight forward and simple, upload into admin folder... But when I go to reports>monthly Sales the list is "blank". Meaning it shows the headings, the filters and the print/invert/help, but there is no data displayed. If I select a status that none of my orders have ("pending" for example, then I get a report of "No income for this date/status selection" But if I select ones I do have status of (or all) then I just get blank below the column headings (even the zencart footer that is normally on all the admin pages is gone. The footer only displays when it also reports "No income for this date/status selection" as mentioned above).
Any thoughts to get it to display something, even an error message would be helpful I guess? the print button "works" in that it opens a new tab with the blank columns, the help button brings up the help popup... But it just doesn't display anything.
Any help is very much appreciated!!!
Blank Page or Partial Blank Page
The debug logs (if present) should help identify the cause.
The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker
Bookmarks