Are there any errors in the server errorlog related to your admin pages ?
.
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.
i use $_POST, $_GET, and $_REQUEST on plenty of other things i have coded and i dont have any problems, so, i know it is not a server issue. and as i said befoer, i have had zencart before, but, it was an older version, and an older server. but, i did however have it on this server too before, on an older site, and it seemed fine, so, i am not sure why this is happening now.
Oh, just to make sure that $_POST is never set, here's the test code I used admin/configuration.php:
require('includes/application_top.php');
$action = (isset($_GET['action']) ? $_GET['action'] : '');
if (zen_not_null($action)) {
switch ($action) {
case 'save':
// demo active test
echo "VALUE: '".$_POST['configuration_value']."'"; //TEST CODE
Let's do some debugging then.
You said this was related to the Admin "configuration" screen, so edit the /admin/configuration.php file
Around line 24 you'll see this:put this on the line ABOVE that:Code:require('includes/application_top.php');Then attempt another edit and submit.Code:echo '<pre>' . print_r($_POST, true) . '</pre>';
What do you see ? (besides a bunch of "Cannot send session headers -- headers already sent" messages and maybe a javascript error or two)
.
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.
i have the same exact version of zencart on another site just so you can see that it is working
http://www.methodcomptech.com/zencart/
same version, and did the same install, and same server. please explain to me why that one works, but, the other one doesnt. :S
.
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.
Array
(
)
Bookmarks