Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2006
    Location
    Kentucky
    Posts
    40
    Plugin Contributions
    0

    Default Inserting Attributes - Redirects to Admin Main Page

    I've searched and can't find this particular problem. I'm not getting any error messages when I try to insert attributes, but it's redirecting back to the main admin page (and upon checking, it hasn't added the attributes to my product).

    Just had an upgrade done from 1.3.9 to 1.5.1

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Inserting Attributes - Redirects to Admin Main Page

    Symptoms are typical of using non-1.5.x versions of admin files on a v1.5.x site. ie: your attributes_controller.php (or any other files which are redirecting to admin home page) haven't been upgraded to properly change all FORMs to be POSTs instead of GETs, and to use zen_draw_form() instead of just raw <form> tags. These changes are necessary in order to properly secure the data being submitted and processed, and to prevent security and XSS and CSRF attacks.
    All the original ZC files for v1.5.1 already have all these changes made in them. But if you're using older files from older versions (or from plugins designed for older versions) then you'll run into those kinds of symptoms.
    .

    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. #3
    Join Date
    Jul 2006
    Location
    Kentucky
    Posts
    40
    Plugin Contributions
    0

    Default Re: Inserting Attributes - Redirects to Admin Main Page

    Thank you, DrByte

    So attributes_controller.php ... would it be safe to upload that from the new version? And is there anything else I need to upload (concerning this issue)?

  4. #4
    Join Date
    Jul 2006
    Location
    Kentucky
    Posts
    40
    Plugin Contributions
    0

    Default Re: Inserting Attributes - Redirects to Admin Main Page

    The guy who did the upgrade fixed it. I don't know how...probably just uploaded the new attributes_controller.php file.

 

 

Similar Threads

  1. v151 Successful login redirects to main page in https?
    By lat9 in forum General Questions
    Replies: 5
    Last Post: 7 Aug 2015, 01:48 AM
  2. Inserting GIF Animation to main page
    By eberrios in forum General Questions
    Replies: 5
    Last Post: 24 Sep 2010, 11:31 PM
  3. Inserting image into main page
    By Birdy Box in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 Nov 2009, 12:53 PM
  4. Inserting Flash File On Main Page
    By JGraphics in forum Templates, Stylesheets, Page Layout
    Replies: 29
    Last Post: 3 Jul 2008, 09:16 PM
  5. SSL redirects back to main site page
    By DeepSouthFishing in forum General Questions
    Replies: 1
    Last Post: 13 Dec 2007, 03:10 AM

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