Post by EternityGr » Mon Jun 20, 2016 8:49 pm

Hello guys,

I am facing a problem after i installed an SSL certicicate in my webpage.
Below you will see all the modifications i done.

(/public_html/config.php file)

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://www.btesystems.gr/');

// HTTPS
define('HTTPS_SERVER', 'https://www.btesystems.gr/');

// DIR
define('DIR_APPLICATION', '/home/btesyste/public_html/catalog/');
define('DIR_SYSTEM', '/home/btesyste/public_html/system/');
define('DIR_LANGUAGE', '/home/btesyste/public_html/catalog/language/');
define('DIR_TEMPLATE', '/home/btesyste/public_html/catalog/view/theme/');
define('DIR_CONFIG', '/home/btesyste/public_html/system/config/');
define('DIR_IMAGE', '/home/btesyste/public_html/image/');
define('DIR_CACHE', '/home/btesyste/public_html/system/storage/cache/');
define('DIR_DOWNLOAD', '/home/btesyste/public_html/system/storage/download/');
define('DIR_LOGS', '/home/btesyste/public_html/system/storage/logs/');
define('DIR_MODIFICATION', '/home/btesyste/public_html/system/storage/modification/');
define('DIR_UPLOAD', '/home/btesyste/public_html/system/storage/upload/');

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'xxx');
define('DB_PASSWORD', 'xxx');
define('DB_DATABASE', 'xxx');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');
(/public_html/admin/config.php file)

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://www.btesystems.gr/admin/');
define('HTTP_CATALOG', 'http://www.btesystems.gr/');

// HTTPS
define('HTTPS_SERVER', 'https://www.btesystems.gr/admin/');
define('HTTPS_CATALOG', 'https://www.btesystems.gr/');

// DIR
define('DIR_APPLICATION', '/home/btesyste/public_html/admin/');
define('DIR_SYSTEM', '/home/btesyste/public_html/system/');
define('DIR_LANGUAGE', '/home/btesyste/public_html/admin/language/');
define('DIR_TEMPLATE', '/home/btesyste/public_html/admin/view/template/');
define('DIR_CONFIG', '/home/btesyste/public_html/system/config/');
define('DIR_IMAGE', '/home/btesyste/public_html/image/');
define('DIR_CACHE', '/home/btesyste/public_html/system/storage/cache/');
define('DIR_DOWNLOAD', '/home/btesyste/public_html/system/storage/download/');
define('DIR_LOGS', '/home/btesyste/public_html/system/storage/logs/');
define('DIR_MODIFICATION', '/home/btesyste/public_html/system/storage/modification/');
define('DIR_UPLOAD', '/home/btesyste/public_html/system/storage/upload/');
define('DIR_CATALOG', '/home/btesyste/public_html/catalog/');

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'xxx');
define('DB_PASSWORD', 'xxx');
define('DB_DATABASE', 'xxx');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');
Admin Panel Configuration

Image

And the errors i get are when i go to see an order:

Image

And the error i get when i am trying to update the order status and inform the customer via email:

Image

Anyone can help me with a solution on that?

Thanks in advance.
Last edited by uksitebuilder on Mon Jun 20, 2016 10:23 pm, edited 1 time in total.
Reason: Never put full database details in a public forum - Asking for trouble.

Newbie

Posts

Joined
Mon Jun 20, 2016 7:36 pm

Post by straightlight » Tue Jun 21, 2016 2:23 am

Last edited by uksitebuilder on Mon Jun 20, 2016 9:23 am, edited 1 time in total.
Reason: Never put full database details in a public forum - Asking for trouble.
Same analogy for full server path. They should never be posted either for security reasons.

@EternityGr:

Can you provide your OC version? Since this topic has been posted in the bug reports section, can you indicate the subjects you posted above on how these would be related to Opencart bugs?

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 EternityGr » Tue Jun 21, 2016 5:38 am

straightlight wrote:
Last edited by uksitebuilder on Mon Jun 20, 2016 9:23 am, edited 1 time in total.
Reason: Never put full database details in a public forum - Asking for trouble.
Same analogy for full server path. They should never be posted either for security reasons.

@EternityGr:

Can you provide your OC version? Since this topic has been posted in the bug reports section, can you indicate the subjects you posted above on how these would be related to Opencart bugs?
Thank you for your tips about security. I didn't think it at all. I am using the 2.1.0.1 version and i am having this type of problem. If there is in a wrong section , if a moderator can transfer it to the right one , please. I am new to the forum board an i thought that the buig section is the right one to post it.

Thanks in advance.

Newbie

Posts

Joined
Mon Jun 20, 2016 7:36 pm

Post by EternityGr » Sat Jun 25, 2016 7:05 pm

Someone with a solution for that?

Newbie

Posts

Joined
Mon Jun 20, 2016 7:36 pm
Who is online

Users browsing this forum: No registered users and 9 guests