Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2010
    Location
    Albuquerque, NM
    Posts
    198
    Plugin Contributions
    0

    Default Suddenly Secure https pages going to error page!

    Hello, my cart was working fine, and I was changing the css a bit and working on the language files for the checkout and login pages, and suddenly when I test the checkout, the secure pages are going to a 500 internal server error.

    Is this something on my server's end? I scoured the few files that I changed and there are no missing or extra characters. I didn't look over all the css changes yet, but that wouldn't cause this kind of error I believe.

    The pages going to error are login and checkout_shipping. If I've added something to my cart and press continue shopping, it redirects to the secure login page, so goes to an error page.

    Any advice????

    Here's my site: blackorchidcouture.com

    Thank you!!!!!!

  2. #2
    Join Date
    Apr 2010
    Location
    Albuquerque, NM
    Posts
    198
    Plugin Contributions
    0

    Default Re: Suddenly Secure https pages going to error page!

    Ok, it must not be all of the https pages because the contact page is loading. I DID work with both the login.php and the checkout_confirmation.php pages, but like i said, I looked at the sentences I added to and I'm not missing anything as far as I can see.

    If you guys don't mind looking at the part I messed with, that would be great! These are the pages under languages under my template, I'm just putting the sections I added to.

    checkout_confirmation.php:
    PHP Code:
    define('NO_COMMENTS_TEXT''None');
    define('TITLE_CONTINUE_CHECKOUT_PROCEDURE''<strong>Final Step</strong>');
    define('TEXT_CONTINUE_CHECKOUT_PROCEDURE''When you confirm your order you will be redirected to a secure Paypal page to complete your order. You do not need to have a Paypal account in order to pay for your order today. Paypal is a secure way to pay online which is why we use it. Thank you!');

    define('OUT_OF_STOCK_CAN_CHECKOUT''Products marked with ' STOCK_MARK_PRODUCT_OUT_OF_STOCK ' are out of stock.<br />Items not in stock will be placed on backorder.');

    ?> 
    login.php:

    PHP Code:
    define('TEXT_RATHER_COWOA''For a faster checkout experience, we offer the option to checkout without creating an account. If you'd like to create an account to enjoy benefits such as saving your cart contents for the futureplease start by filling in the information in the box below.<br />'); 

  3. #3
    Join Date
    Apr 2010
    Location
    Albuquerque, NM
    Posts
    198
    Plugin Contributions
    0

    Default Re: Suddenly Secure https pages going to error page!

    I had also changed things in admin such as check out without account: true, under FEC. But it had worked after that, I at least had gotten to the checkout page to see that the cowoa option was there, and it was, no error. But, I've changed the settings I made back to what they were.

  4. #4
    Join Date
    Apr 2010
    Location
    Albuquerque, NM
    Posts
    198
    Plugin Contributions
    0

    Default Re: Suddenly Secure https pages going to error page!

    Ok, I took out these words I'd added to login.php language file: " If you'd like to create an account to enjoy benefits such as saving your cart contents for the future, please start by filling in the information in the box below.", and the cart is restored, no more error pages.

    Fixed for now, but why can't I add more words? It doesn't make sense. Anywone have any insight on this? I'd really like to have a cowoa option, and have the above words in the option box in checkout because I think it clarifies the steps to take. I'm having about a 50% cart abandonment (my account holders are double my sales), so I wanted to allow cowoa.

    Thanks!

  5. #5
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Suddenly Secure https pages going to error page!

    If you look closely you'll see that you inserted extra apostrophes in the text, which breaks the syntax.

    Correct syntax:
    define('NAME_OF_CONSTANT_HERE', 'The defined value here must contain no apostrophes.');
    .

    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
    Apr 2010
    Location
    Albuquerque, NM
    Posts
    198
    Plugin Contributions
    0

    Default Re: Suddenly Secure https pages going to error page!

    Quote Originally Posted by DrByte View Post
    If you look closely you'll see that you inserted extra apostrophes in the text, which breaks the syntax.

    Correct syntax:
    define('NAME_OF_CONSTANT_HERE', 'The defined value here must contain no apostrophes.');
    I do now see in the second example that I used the word "you'd", which nas an apostrophe. Is this what you are talking about? I should have escaped it or not used it. Well I will try putting it back and see if it works. Thank for noticing that!

 

 

Similar Threads

  1. v151 Products on secure https pages
    By giftmeister in forum General Questions
    Replies: 3
    Last Post: 27 Oct 2013, 01:58 AM
  2. v151 Getting 404 error when going to define-pages editor
    By gene02 in forum General Questions
    Replies: 2
    Last Post: 7 Nov 2012, 06:36 PM
  3. Redirecting to HTTPS SSL secure page?
    By CMYK in forum Basic Configuration
    Replies: 4
    Last Post: 18 Apr 2008, 07:16 AM
  4. https pages - page formatting disappears
    By smakwam in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 24 Jul 2007, 06:01 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