Results 1 to 10 of 20

Hybrid View

  1. #1
    Join Date
    Mar 2005
    Posts
    142
    Plugin Contributions
    0

    Default Re: Purchase Ordering...

    I just installed this mod and everything seems to run correctly except one thing. This mod sends an email to your distributor with details of the order. In that email their is a link that the distributor can click to enter tracking information. However if you click on the link I get a "Illegal Access" on the page.

    The file is located in the admin directory so I think it might be a permission issue but I have no idea where to begin.

    Using the latest version of Zen Cart with the Ty Tracking Mod installed.

    Any ideas?

  2. #2
    Join Date
    Mar 2005
    Posts
    142
    Plugin Contributions
    0

    Default Re: Purchase Ordering...

    Quote Originally Posted by n8pbm
    I just installed this mod and everything seems to run correctly except one thing. This mod sends an email to your distributor with details of the order. In that email their is a link that the distributor can click to enter tracking information. However if you click on the link I get a "Illegal Access" on the page.

    The file is located in the admin directory so I think it might be a permission issue but I have no idea where to begin.

    Using the latest version of Zen Cart with the Ty Tracking Mod installed.

    Any ideas?
    Any help with the above issue?

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Purchase Ordering...

    Perhaps you can share what the link was, to provide a clue as to where to start looking.

    "Illegal Access" errors indicate v1.2.x files attempting to use v1.3.x code.
    .

    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.

  4. #4
    Join Date
    Aug 2006
    Posts
    111
    Plugin Contributions
    0

    Default Re: Purchase Ordering...

    This is the only tid-bit that talks anything of po-sent:

    ALTER TABLE `orders_products`
    ADD `po_sent` char(1) NOT NULL default '0',
    ADD `po_number` int(20),
    ADD `po_sent_to_subcontractor` int(10),
    ADD `po_date` DATE,
    ADD `item_shipped` CHAR(1) NOT NULL default '0';

  5. #5
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Purchase Ordering...

    okay, then the error indicates that *that* statement has already been run to update the database.
    Specifically this line, which is contained in a gang of new columns being added in one statement:
    Code:
    ADD `po_sent` char(1) NOT NULL default '0',
    Given that *that* particular statement (all of what you quoted) has already been run, you won't be able to run it again without getting the error you reported. You might want to remove those lines from the group of statements you are trying to run, and submit the rest (essentially starting with the next statement *after* the part you just quoted).
    .

    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.

  6. #6
    Join Date
    Mar 2005
    Posts
    142
    Plugin Contributions
    0

    Default Re: Purchase Ordering...

    here is what is in the email sent to the supplier:

    If you'd like to enter tracking information for this order, please visit:
    http://www.popupparts.com/store/admi...ub.php?x=1&y=1


    However clicking on that link gives you the Illegal Access' message.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Purchase Ordering...

    Illegal Access in this case is a clear indicator of the fact that the link is something the customer should not be accessing.

    It would seem that either the email is mistakenly sending a link to an admin page, or the code for that page is written wrong.
    .

    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.

 

 

Similar Threads

  1. v154 URGENT, No purchase record after customer purchase
    By lcc93611 in forum General Questions
    Replies: 3
    Last Post: 9 Jan 2016, 11:33 PM
  2. Replies: 1
    Last Post: 2 Aug 2011, 07:15 PM
  3. have to purchase A to be allowed to purchase B
    By Scarlet in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 26 Mar 2010, 01:29 PM
  4. How can I give a $30 off NEXT purchase, when making a purchase today?
    By Nancy Fallat in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 10 Dec 2009, 05:38 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