Ohhh... Darnit, I deleted the link that I had found for Orders Exporter. Sorry... I went too far into the "dilemma". :)
Ohhh... Darnit, I deleted the link that I had found for Orders Exporter. Sorry... I went too far into the "dilemma". :)
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
While I have it (version 4.0.36.13/ZC) working with ZC 1.5.7x I am not seeing the above issue(s) occurring... I could see a possible problem if files in a site's directory were in some way "locked" down, for example, clicking the delete button for a file that is prevented from being deleted, possibly. I don't see anything special about the filename that would prevent deletion (as stated typical/historical issues with filenames as far as preventing something from happening) has been spaces in the filename or some other character that is not accepted by the filesystem where the file has been stored.
The only other time that I have seen ZC 1.5.7 respond the way that is described is when a form (user input area) is set to provide information in the browser address bar instead of passing the information along in the background. In EP4 the links that are like this "problem" area are the clickable links below the filters (they export data) and the download link adjacent to each stored filename. Even those in that situation feed back to the same file. Feeding back to the same file actually is a good thing as it actually eliminates a problem.
Perhaps attempt to upload the files again? I know Chadderuski used to suggest verifying file load to include possibly building a temporary site, loading the files to it and then attempt to upload and import the file(s).
Basically either I need to be able to see the issue in action or I need to be able to reproduce it in order to find a solution.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Here's what the form looks like:
HTML Code:<form name="import_form" action="https://www.mysite.com/my-shop/my-admin/index.php?cmd=easypopulate_4.php" method="post"><input type="hidden" name="securityToken" value="securitytokenhere"><input type="hidden" name="import" value="She-Loves-Color-Secret-Shop-2021.csv"><input type="submit" name="import_button" value="Import"></form>
When I change (in the browser console):
index.php?cmd=easypopulate_4.php
to just:
easypopulate_4.php
it works.
What's the best way to change this? Is it a global setting I need to change in Zen Cart? Htaccess? Something else? All the links in the admin "Tools" dropdown menu use the "index.php?cmd=xxxx" format.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Okay here's how I got it to work:
In easypopulate_4.php, change:
to:Code:zen_draw_form('import_form', basename($_SERVER['SCRIPT_NAME']), /*$parameters = */'', 'post', /*$params =*/ '', $request_type == 'SSL')
and also do the same with the forms "delete_form" and "split_form"Code:zen_draw_form('import_form', FILENAME_EASYPOPULATE_4, /*$parameters = */'', 'post', /*$params =*/ '', $request_type == 'SSL')
ChangingtoCode:basename($_SERVER['SCRIPT_NAME'])also works.Code:basename($_SERVER['SCRIPT_NAME'], '.php')
Last edited by Reviresco; 10 Aug 2021 at 07:32 PM.
Also, is the file: admin/includes/extra_datafiles/easypopulate_4_filenames.php
having the content:
Loaded to the server?Code:<?php // $Id: easypopulate_filenames.php, v4.0.35.ZC.2 10-03-2016 mc12345678 $ define('FILENAME_EASYPOPULATE_4', 'easypopulate_4');
(I'm not where I can test system response without that file, so this is a little bit of a possible reason or as otherwise known: a guess. :))
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Bookmarks