Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Page 1 of 2 12 LastLast
Results 1 to 15 of 16

This is a discussion on Server move and problems with my site in the Shared & Semi-Dedicated forum
Hello all, I have been having problems with my shop website, when people get to a certain stage to order the screen just keep on ...

  1. #1
    Loyal Client
    Join Date
    Jan 2002
    Posts
    224

    Unhappy Server move and problems with my site

    Hello all,

    I have been having problems with my shop website, when people get to a certain stage to order the screen just keep on refreshing for about 20 seconds and then finally stops. This has only been noticed since i was changed from the old Montana server to Hammerhead. The place where it does this is the Payment information screen where you can pick your payment method (checkout_payment.php)

    I have reuploaded the checkout files and this has not helped. Furthermore, i have another shop running on the same server with the same files, and get exactly the same problem.

    I also checked my stats, for February the checkout_payment.php file is the most viewed, and is not most viewed or close in any other months....There is a problem some where.

    I also tried using my site from another PC, and got the same error.

    I have not had any customer orders for a while which is how i found this error.

    I really believe this has something to do with the server move.

    Jag support say that they cannot duplicate the error, so if anyone wants to help me please let me know, the site URL is www.lushtshirts.com You have to go more or less all the way through the checkout to the final pages, you dont need to put any sensitive information in.

    test account
    login/email: testing@test.com
    password: password
    Last edited by FreeFall; 02-19-2007 at 09:31 AM.

  2. #2
    Loyal Client the_ancient's Avatar
    Join Date
    Feb 2004
    Posts
    3,386
    I was able to get all the way to the Paypal Screen for final processing
    -------------------------
    the_ancient
    MP Technology Group

  3. #3
    Loyal Client
    Join Date
    Jan 2002
    Posts
    224
    yes but did the page not keep refreshing lots or take a very long time?

    I had a customer call me about 40 minutes ago who had the same problem to not mention the other facts i posted above.

  4. #4
    Loyal Client the_ancient's Avatar
    Join Date
    Feb 2004
    Posts
    3,386
    Quote Originally Posted by FreeFall View Post
    yes but did the page not keep refreshing lots or take a very long time?

    I had a customer call me about 40 minutes ago who had the same problem to not mention the other facts i posted above.
    There was no refeshing or Long Delay


    What Browser are you using.
    -------------------------
    the_ancient
    MP Technology Group

  5. #5
    Loyal Client the_ancient's Avatar
    Join Date
    Feb 2004
    Posts
    3,386
    IE7 and FF2 all worked fine
    -------------------------
    the_ancient
    MP Technology Group

  6. #6
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Yep, I had the same problem -- same as you described -- flashing screen, blah, blah!

    Used MSIE 6.x to duplicate the problem...

    Of interest, I changed the shipping address. However, when the flashing screen came up, it had reverted back to the old addy...
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  7. #7
    Loyal Client
    Join Date
    Jan 2002
    Posts
    224
    yeah i just tried firefox which works, IE6 does not which is what the 2 computers that i tried used and what most of my customers will use.

    Anyone have any ideas why this is happening all of a sudden with no changes in files? This is on 2 different sites (different files on the same server) remember...

  8. #8
    Loyal Client the_ancient's Avatar
    Join Date
    Feb 2004
    Posts
    3,386
    Quote Originally Posted by FreeFall View Post
    yeah i just tried firefox which works, IE6 does not which is what the 2 computers that i tried used and what most of my customers will use.
    Alot of people have IE7, if they dont they should



    Anyone have any ideas why this is happening all of a sudden with no changes in files? This is on 2 different sites (different files on the same server) remember...
    Nope, Search OSc's Site and see if anyone else has reported this problem. I will look in to it more once I get back to my home office where I have IE6 on one of my Development Box's. I dont any here with IE6
    -------------------------
    the_ancient
    MP Technology Group

  9. #9
    Loyal Client
    Join Date
    Jan 2002
    Posts
    224
    I just dont get it, howcome this happens from a server move. I have used 3 different checkout_payment.php files (the original from ages ago, the one from when i backed up before the server move and the current one; which are all probably the same anyway) and get this problem, plus the fact that i have a seperate site which has the same issue so the chance it could be that some file got corrupt or something is low.

  10. #10
    Loyal Client Pawel Kowalski's Avatar
    Join Date
    Sep 2001
    Location
    Albuquerque NM
    Posts
    1,405
    Can you post the contents of that file here?

    I get the same problem you described, flashing screen that wont stop refreshing. Never seen that before, using IE 6.0.

  11. #11
    Loyal Client
    Join Date
    Jan 2002
    Posts
    224
    the file is:

    PHP Code:
    <?php

      
    require('includes/application_top.php');

    // if the customer is not logged on, redirect them to the login page
      
    if (!tep_session_is_registered('customer_id')) {
        
    $navigation->set_snapshot();
        
    tep_redirect(tep_href_link(FILENAME_LOGIN'''SSL'));
      }

    // if there is nothing in the customers cart, redirect them to the shopping cart page
      
    if ($cart->count_contents() < 1) {
        
    tep_redirect(tep_href_link(FILENAME_SHOPPING_CART));
      }

    // if no shipping method has been selected, redirect the customer to the shipping method selection page
      
    if (!tep_session_is_registered('shipping')) {
        
    tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING'''SSL'));
      }

    // avoid hack attempts during the checkout procedure by checking the internal cartID
      
    if (isset($cart->cartID) && tep_session_is_registered('cartID')) {
        if (
    $cart->cartID != $cartID) {
          
    tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING'''SSL'));
        }
      }

    // if we have been here before and are coming back get rid of the credit covers variable
        
    if(tep_session_is_registered('credit_covers')) tep_session_unregister('credit_covers');  //ICW ADDED FOR CREDIT CLASS SYSTEM

    // Stock Check
      
    if ( (STOCK_CHECK == 'true') && (STOCK_ALLOW_CHECKOUT != 'true') ) {
        
    $products $cart->get_products();
        for (
    $i=0$n=sizeof($products); $i<$n$i++) {
          if (
    tep_check_stock($products[$i]['id'], $products[$i]['quantity'])) {
            
    tep_redirect(tep_href_link(FILENAME_SHOPPING_CART));
            break;
          }
        }
      }

    // if no billing destination address was selected, use the customers own address as default
      
    if (!tep_session_is_registered('billto')) {
        
    tep_session_register('billto');
        
    $billto $customer_default_address_id;
      } else {
    // verify the selected billing address
        
    $check_address_query tep_db_query("select count(*) as total from " TABLE_ADDRESS_BOOK " where customers_id = '" . (int)$customer_id "' and address_book_id = '" . (int)$billto "'");
        
    $check_address tep_db_fetch_array($check_address_query);

        if (
    $check_address['total'] != '1') {
          
    $billto $customer_default_address_id;
          if (
    tep_session_is_registered('payment')) tep_session_unregister('payment');
        }
      }

      require(
    DIR_WS_CLASSES 'order.php');
      
    $order = new order;
      require(
    DIR_WS_CLASSES 'order_total.php');//ICW ADDED FOR CREDIT CLASS SYSTEM
      
    $order_total_modules = new order_total;//ICW ADDED FOR CREDIT CLASS SYSTEM

      
    if (!tep_session_is_registered('comments')) tep_session_register('comments');

      
    $total_weight $cart->show_weight();
      
    $total_count $cart->count_contents();
      
    $total_count $cart->count_contents_virtual(); //ICW ADDED FOR CREDIT CLASS SYSTEM

    // load all enabled payment modules
      
    require(DIR_WS_CLASSES 'payment.php');
      
    $payment_modules = new payment;

      require(
    DIR_WS_LANGUAGES $language '/' FILENAME_CHECKOUT_PAYMENT);

      
    $breadcrumb->add(NAVBAR_TITLE_1tep_href_link(FILENAME_CHECKOUT_SHIPPING'''SSL'));
      
    $breadcrumb->add(NAVBAR_TITLE_2tep_href_link(FILENAME_CHECKOUT_PAYMENT'''SSL'));

      
    $content CONTENT_CHECKOUT_PAYMENT;
      
    $javascript $content '.js.php';

      require(
    DIR_WS_TEMPLATES TEMPLATE_NAME '/' TEMPLATENAME_MAIN_PAGE);


      require(
    DIR_WS_INCLUDES 'application_bottom.php');
    ?>
    <script language="javascript" type="text/javascript"><!--
    function CVVPopUpWindow(url) {
        window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=600,height=233,screenX=150,screenY=150,top=150,left=150')
    }
    //--></script>

  12. #12
    Loyal Client
    Join Date
    Jan 2002
    Posts
    224

    i am sooo clever :p

    I took out the Javascript lines at the end, this seems to have worked for me, has it worked for you?

    I dont think i need this, (not that i can code or anything) it looks like its for credit card payments which i dont need as i use paypal for credit cards.

  13. #13
    Loyal Client Pawel Kowalski's Avatar
    Join Date
    Sep 2001
    Location
    Albuquerque NM
    Posts
    1,405
    Yeah, works perfectly now. Not sure why that javascript is in there.

  14. #14
    Loyal Client
    Join Date
    Jan 2002
    Posts
    224
    i think it is there so when you put in your credit card number if you dont know what a CVV is it pops up and shows you...that is my guess anyway, i dont use the credit card module.

    I still dont understand why i get the error after all this time, but at least it works now and i'm happy

  15. #15
    the Windlord Gwaihir's Avatar
    Join Date
    Jun 2002
    Posts
    2,562
    JavaScript is client side. It explains well why it happens to one browser and not several others, but doesn't likely tie it to your server move. Perhaps that script caused some weird interaction with IE6's popup blocker, since the latest update of that blocker?
    Regards,

    Wim Heemskerk
    ---
    Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
    And Gwaihir.net - The Middle-earth CCG store

Page 1 of 2 12 LastLast

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
  •