Post by sat tv guy » Fri Mar 17, 2017 1:48 am

Hi,

I upgraded my site from OC 1.5.4 to OC 2.1.0.2 and I cleaned up the errors as they appeared.

I now have a fully working site with no images, for some unknown reason I cannot add an image to a product nor can I see an image after I upload it from the product data page.

All products are listed and live but no images are available.
I checked the folders in my Cpanel and the images are there under public_html/images/cache and also under public_html/images/cache/catalog

Does anyone know how I can fix this issue ?

Steve

Active Member

Posts

Joined
Wed Oct 12, 2011 12:58 am
Location - london

Post by rjcalifornia » Fri Mar 17, 2017 1:06 pm

Could you check if your config.php file is set up correctly?

Image
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide

Post by sat tv guy » Fri Mar 17, 2017 4:49 pm

I have gone through my config.php and admin/config.php line by line and it all looks good to me ?
Can you have a look through it as sometimes it's impossible to see the woods for the trees

config.php

<?php
// HTTP
define('HTTP_SERVER', 'https://www.xxxxx.ie/');
define('HTTP_IMAGE', 'https://www.xxxxx.ie/image/');
define('HTTP_ADMIN', 'https://www.xxxxx.ie/admin/');

// HTTPS
define('HTTPS_IMAGE', 'https://www.xxxxx.ie/image/');
define('HTTPS_SERVER', 'https://www.xxxxx.ie/');
define('HTTPS_CATALOG', 'https://www.xxxxx.ie/');

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

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', '1234567_abcdefg');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'xxxxx_abcgdsteu');
define('DB_PORT', '3306');
define('DB_PREFIX', '');
?>

admin/config.php

<?php
// HTTP
define('HTTP_SERVER', 'https://www.xxxxx.ie/admin/');
define('HTTP_CATALOG', 'https://www.xxxxx.ie/');
define('HTTP_IMAGE', 'https://www.xxxxx.ie/image/');

// HTTPS
define('HTTPS_SERVER', 'https://www.xxxxx.ie/admin/');
define('HTTPS_CATALOG', 'https://www.xxxxx.ie/');
define('HTTPS_IMAGE', 'https://www.xxxxx.ie/image/');

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

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', '1234567_abcdefg');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'xxxxx_abcgdsteu');
define('DB_PORT', '3306');
define('DB_PREFIX', '');
?>

Active Member

Posts

Joined
Wed Oct 12, 2011 12:58 am
Location - london

Post by lhasadreams » Fri Mar 17, 2017 8:51 pm

Hi,
I am facing the exact same issue, I have just done an upgrade from V1.5.4.6 to V2.3.0.2
I had a couple of issues that were easily resolved through a bit of googling.
However I am now stuck on this one, I cannot see any of my images, they are all there, I can see them in the file system, I have checked both the config.php's - file paths are valid - permissions on the files and directories are valid.
I checked the database and the product table image paths look fine.

The problem shows up everywhere, it will not let me save my settings page, it will not let me create new folders or upload new images :-(

Can someone please help me to debug this, is there an easy way to get some debug output when OC is trying to upload and image for example?

Cheers
Ade

Newbie

Posts

Joined
Fri Mar 17, 2017 6:06 pm

Post by lhasadreams » Fri Mar 17, 2017 9:13 pm

Hi,
I have also noticed another strange thing which is probably related:
(1) Add an item to my cart.
(2)Click View Cart
Image
(3) I then get a page of:

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Notice: Use of undefined constant DB_PORT - assumed 'DB_PORT' in /home2/vwgolfm/public_html/shop/system/config/catalog.php on line 16

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Warning: mysqli::mysqli() expects parameter 5 to be long, string given in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 7

Warning: mysqli::set_charset(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 13

Warning: mysqli::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 14

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home2/vwgolfm/public_html/shop/system/startup.php:74) in /home2/vwgolfm/public_html/shop/system/library/session.php on line 30

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Warning: mysqli::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 18

Warning: DB\MySQLi::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 20

Notice: Trying to get property of non-object in /home2/vwgolfm/public_html/shop/system/library/openbay.php on line 119

Warning: Invalid argument supplied for foreach() in /home2/vwgolfm/public_html/shop/system/library/openbay.php on line 119

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Warning: Cannot modify header information - headers already sent by (output started at /home2/vwgolfm/public_html/shop/system/startup.php:74) in /home2/vwgolfm/public_html/shop/system/library/session.php on line 50

Warning: mysqli::real_escape_string(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 45

Warning: mysqli::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 18

Warning: DB\MySQLi::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 20

Notice: Trying to get property of non-object in /home2/vwgolfm/public_html/shop/catalog/controller/startup/startup.php on line 13

Notice: Trying to get property of non-object in /home2/vwgolfm/public_html/shop/catalog/controller/startup/startup.php on line 19

Warning: mysqli::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 18

Warning: DB\MySQLi::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 20

Notice: Trying to get property of non-object in /home2/vwgolfm/public_html/shop/catalog/controller/startup/startup.php on line 27

Warning: Invalid argument supplied for foreach() in /home2/vwgolfm/public_html/shop/catalog/controller/startup/startup.php on line 27

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Warning: mysqli::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 18

Warning: DB\MySQLi::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 20

Notice: Trying to get property of non-object in /home2/vwgolfm/public_html/shop/catalog/model/localisation/language.php on line 17

Warning: Invalid argument supplied for foreach() in /home2/vwgolfm/public_html/shop/catalog/model/localisation/language.php on line 17

Warning: Cannot modify header information - headers already sent by (output started at /home2/vwgolfm/public_html/shop/system/startup.php:74) in /home2/vwgolfm/public_html/shop/catalog/controller/startup/startup.php on line 96

Notice: Undefined index: in /home2/vwgolfm/public_html/shop/catalog/controller/startup/startup.php on line 106

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Warning: mysqli::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 18

Warning: DB\MySQLi::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 20

Notice: Trying to get property of non-object in /home2/vwgolfm/public_html/shop/catalog/model/localisation/currency.php on line 17

Warning: Invalid argument supplied for foreach() in /home2/vwgolfm/public_html/shop/catalog/model/localisation/currency.php on line 17

Warning: Cannot modify header information - headers already sent by (output started at /home2/vwgolfm/public_html/shop/system/startup.php:74) in /home2/vwgolfm/public_html/shop/catalog/controller/startup/startup.php on line 156

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Warning: mysqli::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 18

Warning: DB\MySQLi::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 20

Notice: Trying to get property of non-object in /home2/vwgolfm/public_html/shop/system/library/cart/currency.php on line 12

Warning: Invalid argument supplied for foreach() in /home2/vwgolfm/public_html/shop/system/library/cart/currency.php on line 12

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Warning: mysqli::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 18

Warning: DB\MySQLi::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 20

Notice: Trying to get property of non-object in /home2/vwgolfm/public_html/shop/system/library/cart/tax.php on line 47

Warning: Invalid argument supplied for foreach() in /home2/vwgolfm/public_html/shop/system/library/cart/tax.php on line 47

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Warning: mysqli::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 18

Warning: DB\MySQLi::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 20

Notice: Trying to get property of non-object in /home2/vwgolfm/public_html/shop/system/library/cart/weight.php on line 12

Warning: Invalid argument supplied for foreach() in /home2/vwgolfm/public_html/shop/system/library/cart/weight.php on line 12

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Warning: mysqli::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 18

Warning: DB\MySQLi::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 20

Notice: Trying to get property of non-object in /home2/vwgolfm/public_html/shop/system/library/cart/length.php on line 12

Warning: Invalid argument supplied for foreach() in /home2/vwgolfm/public_html/shop/system/library/cart/length.php on line 12

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Warning: mysqli::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 18

Warning: DB\MySQLi::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 20

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 74

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home2/vwgolfm/public_html/shop/system/startup.php on line 78

Warning: mysqli::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 18

Warning: DB\MySQLi::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 20

Notice: Trying to get property of non-object in /home2/vwgolfm/public_html/shop/system/library/openbay.php on line 119

Warning: Invalid argument supplied for foreach() in /home2/vwgolfm/public_html/shop/system/library/openbay.php on line 119
Warning: mysqli::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 18Warning: DB\MySQLi::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 20Notice: Trying to get property of non-object in /home2/vwgolfm/public_html/shop/catalog/model/extension/event.php on line 6Warning: Invalid argument supplied for foreach() in /home2/vwgolfm/public_html/shop/catalog/controller/startup/event.php on line 9Warning: mysqli::real_escape_string(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 45Warning: mysqli::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 18Warning: DB\MySQLi::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 20Notice: Trying to get property of non-object in /home2/vwgolfm/public_html/shop/system/library/cart/cart.php on line 38Warning: Invalid argument supplied for foreach() in /home2/vwgolfm/public_html/shop/system/library/cart/cart.php on line 38Warning: mysqli::real_escape_string(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 45Warning: mysqli::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 18Warning: DB\MySQLi::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 20Notice: Trying to get property of non-object in /home2/vwgolfm/public_html/shop/catalog/model/design/layout.php on line 6Warning: mysqli::real_escape_string(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 45Warning: mysqli::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 18Warning: DB\MySQLi::query(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 20Notice: Trying to get property of non-object in /home2/vwgolfm/public_html/shop/catalog/model/design/layout.php on line 16Warning: Invalid argument supplied for foreach() in /home2/vwgolfm/public_html/shop/catalog/controller/common/column_left.php on line 48Error: A theme has not been assigned to this store!Warning: mysqli::close(): Couldn't fetch mysqli in /home2/vwgolfm/public_html/shop/system/library/db/mysqli.php on line 61

(4) If I refresh the browser page - the shopping cart loads correctly.

Does the OP see anything like this?

Cheers
Ade

Newbie

Posts

Joined
Fri Mar 17, 2017 6:06 pm

Post by sat tv guy » Sat Mar 18, 2017 12:13 am

Ade,

Add this line to both configs

define('DIR_MODIFICATION', '/home/xxxxx/public_html/system/storage/modification/');

To cure that second problem

Active Member

Posts

Joined
Wed Oct 12, 2011 12:58 am
Location - london

Post by lhasadreams » Sat Mar 18, 2017 5:04 am

Thanks for the reply.
I already had that line in place.
I gave up trying to fix it and went back to a backup.
Then bit the bullet and spent $15 on this:
https://www.opencart.com/index.php?rout ... n_id=24347
About 30 seconds later it was all upgraded without errors :-)
Cheers
Ade

Newbie

Posts

Joined
Fri Mar 17, 2017 6:06 pm
Who is online

Users browsing this forum: No registered users and 47 guests