Hi all! "INTERNAL SERVER ERROR"
Need some urgent help regarding an update done with Klarna in Sweden.
Some history behind this: Since startup some customers experienced that adresses was not found with Klarna. Not a big issue at the time as i did these orders manually. More and more orders/customers came up with same issue and therefore more work for me which led me to an uppdate done after Klarnas recommendations. After update NO orders get through.
After test purchase the errorlog came up with this:
PHP Unknown: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /www/webvol16/qf/nhgwbr7hi2xdv1s/happybeds.se/public_html/system/library/klarna/api/pclasses/mysqlstorage.class.php on line 145
Klarna version is 2.02
OC version is 1.5.1.3
BTW:
If i sound and write like a noob.. Regard and treat me like i am one! If i could solve this myself i would.
Best regards!
Mattias Johansson
You NOOB!
You need a mysqli DB-Driver, but your OC Version does probably not yet have it included as Optional DB-Driver.
The old OC mysql Driver is not longer supported by newer Server Systemes, and much slower in perfomance,
compared with the later Driver, anyway:
mysqli for opencart V1.5.x
http://www.opencart.com/index.php?route ... n_id=24413
then, place the:
mysqli.php file
into your:
Subdirectory.
Then, in your BOTH config.php files change this:
to this:
and then, just try again.
Good Luck
Ernie
openshop.li/cart/
PS: MySQLi with SSL support. Only for OC v.1.5.6, 1.5.6.1, 1.5.6.2, 1.5.6.3, 1.5.6.4, 1.5.6.5_rc:
http://www.opencart.com/index.php?route ... n_id=18572

You need a mysqli DB-Driver, but your OC Version does probably not yet have it included as Optional DB-Driver.
The old OC mysql Driver is not longer supported by newer Server Systemes, and much slower in perfomance,
compared with the later Driver, anyway:
mysqli for opencart V1.5.x
http://www.opencart.com/index.php?route ... n_id=24413
then, place the:
mysqli.php file
into your:
Code: Select all
shop/system/database/...
Then, in your BOTH config.php files change this:
Code: Select all
// DB
define('DB_DRIVER', 'mysql');
Code: Select all
// DB
define('DB_DRIVER', 'mysqli');

Good Luck
Ernie
openshop.li/cart/
PS: MySQLi with SSL support. Only for OC v.1.5.6, 1.5.6.1, 1.5.6.2, 1.5.6.3, 1.5.6.4, 1.5.6.5_rc:
http://www.opencart.com/index.php?route ... n_id=18572
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: Amazon [Bot], Google [Bot] and 18 guests