Post by daveporter » Sun Dec 10, 2017 5:16 pm

Hi there,
I have a client who has an old version of OpenCart (Version 1.4.9.5).
I recently added SSL to the domain and all was working fine.
One visitor purchasing an item discovered that using Safari produced this URL when clicking the Checkout button.
https://localhost/domain.com/etc.......
On Chrome it does not add the localhost (Mac or Windows)
Any thoughts? A most odd issue :)
TIA, Dave

New member

Posts

Joined
Fri Mar 19, 2010 9:52 am

Post by straightlight » Sun Dec 10, 2017 11:23 pm

Any access logs report you could post regarding this event from your host console's logs icon or from your root FTP/access_logs 's most recent file with the most recent date and time activity?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by daveporter » Tue Dec 12, 2017 3:39 pm

I thought I replied yesterday, but when I come back today it's gone!
So here goes again.
I don't think I have much to add. The only error I can find is this one repeated many times:
PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/panachec/public_html/store/system/database/mysql.php on line 6
And in the console, the only thing I can find is the HTML of the error message, which is not of much help - any other ideas ?
Thanks, Dave
>>>>>

Code: Select all

<!-- LOCALIZERS: Each localizable piece of the page is marked with a comment -->
<html>
<head>
    <link rel=stylesheet type="text/css" href="page-load-errors.css">
    <!-- LOCALIZERS: You might want to change the font family. You can also add styles to override sizes, etc. -->
    <style>
        body {font-family:'-apple-system-font';}
    </style>
    <!-- LOCALIZERS: The next line contains the page title that appears in the window's title bar -->
    <title>Failed to open page</title>
</head>
<body>
    <div class="content-container">
        <div class="error-container">
            <div class="text-container">
                <!-- Main title here. -->
                <p class="error-title">Safari Can’t Open the Page</p>
            </div>
            <div class="text-container">
                <!-- Error message here. -->
                <p class="error-message">Safari can’t open the page “https://localhost/panachecollectibles.com.au/store/index.php?route=account/login” because Safari can’t establish a secure connection to the server “localhost”.</p>
            </div>
        </div>
    </div>
</body>
</html>

New member

Posts

Joined
Fri Mar 19, 2010 9:52 am

Post by straightlight » Tue Dec 12, 2017 9:38 pm

You'd need to have the mysqli.php library file from a higher version of Opencart then to edit your DB_DRIVER in your config.php and admin/config.php files. Take note that other PHP functions have also be deprecated as it would be quicker to upgrade to a higher version of Opencart.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 205 guests