Page 2 of 12 FirstFirst 1234 ... LastLast
Results 11 to 20 of 111
  1. #11
    Join Date
    Aug 2007
    Posts
    31
    Plugin Contributions
    0

    Default Re: Settings go blank...

    Quote Originally Posted by DrByte View Post
    If Zen Cart is to blame, then I'd be expecting that $_POST would have data immediately after form submission but then lost it during some sort of sanitization. I can't say that I've ever seen that happen though.

    But if $_POST is never getting set as you say, then you have a problem with your server configuration. Perhaps mod_security set too tight? or something else blocking $_POST data from getting through to PHP scripts.
    I know for a fact it's not all $_POST data. I tested it with a little home-made script, and $_POST data came through perfectly fine, just like I expected.

  2. #12
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Settings go blank...

    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.

  3. #13
    Join Date
    Aug 2007
    Posts
    31
    Plugin Contributions
    0

    Default Re: Settings go blank...

    Quote Originally Posted by DrByte View Post
    Are there any errors in the server errorlog related to your admin pages ?
    Nope, error logs are clean for apache, php, and mysql.

  4. #14
    Join Date
    Aug 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Settings go blank...

    Quote Originally Posted by DrByte View Post
    If Zen Cart is to blame, then I'd be expecting that $_POST would have data immediately after form submission but then lost it during some sort of sanitization. I can't say that I've ever seen that happen though.

    But if $_POST is never getting set as you say, then you have a problem with your server configuration. Perhaps mod_security set too tight? or something else blocking $_POST data from getting through to PHP scripts.
    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.

  5. #15
    Join Date
    Aug 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Settings go blank...

    Quote Originally Posted by Athenon View Post
    Nope, error logs are clean for apache, php, and mysql.
    same here

  6. #16
    Join Date
    Aug 2007
    Posts
    31
    Plugin Contributions
    0

    Default Re: Settings go blank...

    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

  7. #17
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Settings go blank...

    Quote Originally Posted by Athenon View Post
    At what stage is the $_POST found to be empty? anytime after the form is submitted...in other words, it never gets filled at all

    On a side note, OSCommerce has the same problem.
    Quote Originally Posted by DrByte View Post
    If Zen Cart is to blame, then I'd be expecting that $_POST would have data immediately after form submission but then lost it during some sort of sanitization. I can't say that I've ever seen that happen though.
    Quote Originally Posted by Athenon View Post
    I know for a fact it's not all $_POST data. I tested it with a little home-made script, and $_POST data came through perfectly fine, just like I expected.
    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:
    Code:
      require('includes/application_top.php');
    put this on the line ABOVE that:
    Code:
    echo '<pre>' . print_r($_POST, true) . '</pre>';
    Then attempt another edit and submit.
    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.

  8. #18
    Join Date
    Aug 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Settings go blank...

    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

  9. #19
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Settings go blank...

    Quote Originally Posted by methodcomptech View Post
    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
    I wish I knew !
    Maybe it's the pending full moon ... ?
    .

    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.

  10. #20
    Join Date
    Aug 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Settings go blank...

    Array
    (
    )

 

 
Page 2 of 12 FirstFirst 1234 ... LastLast

Similar Threads

  1. admin settings revert to blank
    By GrandpasToys in forum Basic Configuration
    Replies: 2
    Last Post: 7 Jan 2013, 06:11 AM
  2. v150 admin settings revert to blank
    By GrandpasToys in forum Basic Configuration
    Replies: 2
    Last Post: 10 Jul 2012, 04:22 AM
  3. Blank Page on Save System Settings
    By knutz1953 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 9 Sep 2011, 05:30 PM
  4. Ignores Meta Settings in Admin Product Settings
    By NewbietoEC in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Jul 2010, 04:04 PM
  5. Admin/Tools/Admin settings gives a Blank Page
    By RobertG in forum Basic Configuration
    Replies: 3
    Last Post: 26 Feb 2010, 03:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR