Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25
  1. #11
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: urgent hel needed in checkout

    Quote Originally Posted by directpc View Post
    for the first error, here is the contents around line 123

    line 121 </td>
    line 122 </tr>
    123 <?php
    124 } // end foreach ($productArray as $product)
    125 ?>
    126 <!-- Finished loop through all products /-->
    Okay ... did you get that directly from the file on the server, or a copy of the file that's already on your PC?
    .

    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.

  2. #12
    Join Date
    Feb 2007
    Posts
    130
    Plugin Contributions
    0

    Default Re: urgent hel needed in checkout

    latest version, my hosting company went down the other day, saying something on security on their servers, i have addons, do you mean like google checkout etc, i stopped the google checkout ages ago though as this was causing problems. I have a few payment addons, paypal, nocheq, then just some feeders for google, yahoo etc


    Quote Originally Posted by DrByte View Post
    Also,
    - what version of Zen Cart?
    - when did these problems "start"? Have you or your hosting company been changing anything lately?
    - what addons are installed on your site?

  3. #13
    Join Date
    Feb 2007
    Posts
    130
    Plugin Contributions
    0

    Default Re: urgent hel needed in checkout

    got from server, then saved on pc and added line numbers

    Quote Originally Posted by DrByte View Post
    Okay ... did you get that directly from the file on the server, or a copy of the file that's already on your PC?

  4. #14
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: urgent hel needed in checkout

    Quote Originally Posted by directpc View Post
    sorry line 115 to 130


    <?php
    }
    if ($product['checkBoxDelete'] ) {
    echo zen_draw_checkbox_field('cart_delete[]', $product['id']);
    }
    ?>
    </td>
    </tr>
    <?php
    } // end foreach ($productArray as $product)
    ?>
    <!-- Finished loop through all products /-->
    </table>

    <div id="cartSubTotal"><?php echo SUB_TITLE_SUB_TOTAL; ?> <?php echo $cartShowTotal; ?></div>
    <br class="clearBoth" />
    That looks like it comes from the shopping-cart page, not the checkout-payment page (which the error message mentioned).
    .

    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.

  5. #15
    Join Date
    Feb 2007
    Posts
    130
    Plugin Contributions
    0

    Default Re: urgent hel needed in checkout

    sorry your right, im making this even harder! lol

    here is the proper one
    Code:
    <?php
      foreach($payment_modules->modules as $pm_code => $pm) {
        if(substr($pm, 0, strrpos($pm, '.')) == 'googlecheckout') {
          unset($payment_modules->modules[$pm_code]);
        }
      }
    
     line 123      <?php
      foreach($payment_modules->modules as $pm_code => $pm) {
        if(substr($pm, 0, strrpos($pm, '.')) == 'googlecheckout') {
          unset($payment_modules->modules[$pm_code]);
        }
      }
      $selection = $payment_modules->selection();
    
      if (sizeof($selection) > 1) {

  6. #16
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: urgent hel needed in checkout

    Quote Originally Posted by directpc View Post
    my hosting company went down the other day
    So, what has happened to your site?
    Is it still on the same server? Did it get moved to another server?
    Did they do a restore from backup of some sort?
    Do *you* have backups on your PC, taken regularly from what's been on your server?
    .

    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.

  7. #17
    Join Date
    Feb 2007
    Posts
    130
    Plugin Contributions
    0

    Default Re: urgent hel needed in checkout

    uhm google checkout????

    Quote Originally Posted by directpc View Post
    sorry your right, im making this even harder! lol

    here is the proper one

    <?php
    foreach($payment_modules->modules as $pm_code => $pm) {
    if(substr($pm, 0, strrpos($pm, '.')) == 'googlecheckout') {
    unset($payment_modules->modules[$pm_code]);
    }
    }

    line 123 <?php
    foreach($payment_modules->modules as $pm_code => $pm) {
    if(substr($pm, 0, strrpos($pm, '.')) == 'googlecheckout') {
    unset($payment_modules->modules[$pm_code]);
    }
    }
    $selection = $payment_modules->selection();

    if (sizeof($selection) > 1) {

  8. #18
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: urgent hel needed in checkout

    Quote Originally Posted by directpc View Post
    Code:
    <?php
      foreach($payment_modules->modules as $pm_code => $pm) {
        if(substr($pm, 0, strrpos($pm, '.')) == 'googlecheckout') {
          unset($payment_modules->modules[$pm_code]);
        }
      }
    
     line 123      <?php
      foreach($payment_modules->modules as $pm_code => $pm) {
        if(substr($pm, 0, strrpos($pm, '.')) == 'googlecheckout') {
          unset($payment_modules->modules[$pm_code]);
        }
      }
      $selection = $payment_modules->selection();
    
      if (sizeof($selection) > 1) {
    Notice how you've got code repeated before line 123?
    You should remove that repeated 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.

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

    Default Re: urgent hel needed in checkout

    Quote Originally Posted by directpc View Post
    uhm google checkout????
    Yes, the problem is definitely in part of google checkout code in your template file.
    .

    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
    Feb 2007
    Posts
    130
    Plugin Contributions
    0

    Default Re: urgent hel needed in checkout

    Im on the same server, they say there new securirty shut the system down when somebody tried to hack, but it looks like everything is the same according to them. I have tried uploading the backups that i have and they have the same effect, so many this has been going on longer than i though, and i have this feeling its google checkout

    Quote Originally Posted by DrByte View Post
    So, what has happened to your site?
    Is it still on the same server? Did it get moved to another server?
    Did they do a restore from backup of some sort?
    Do *you* have backups on your PC, taken regularly from what's been on your server?

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 28 Jun 2012, 10:13 AM
  2. URGENT HELP NEEDED!!!!! Checkout Problem.
    By Nick1973 in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 27 Jul 2009, 03:07 PM
  3. urgent one step checkout help needed
    By zitsushi in forum General Questions
    Replies: 1
    Last Post: 12 Oct 2008, 03:31 PM
  4. urgent one step checkout help needed
    By zitsushi in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 11 Oct 2008, 06:44 AM
  5. Urgent Urgent help needed please
    By con-fused in forum General Questions
    Replies: 1
    Last Post: 12 Feb 2007, 09:41 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