Post by WaltonCreative » Wed Apr 29, 2015 6:36 pm

Hiya,

On your latest advice I have deleted the entire site and only used the latest OC files. Then amended config.php and admin/config.php to the update.maisonhomeinteriors.com db - and IT WORKS !! hoorah!

BUT of course I now get loads of errors...

this displays on the home page:

Warning: Division by zero in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/catalog/controller/product/category.php on line 350

And all of these display in the admin dashboard:

Warning: implode(): Invalid arguments passed in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/header.php on line 58Warning: implode(): Invalid arguments passed in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/header.php on line 59Warning: implode(): Invalid arguments passed in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/header.php on line 62Warning: implode(): Invalid arguments passed in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/header.php on line 63Warning: implode(): Invalid arguments passed in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 14Warning: implode(): Invalid arguments passed in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 22Warning: array_merge(): Argument #1 is not an array in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: array_merge(): Argument #1 is not an array in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: array_merge(): Argument #1 is not an array in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: array_merge(): Argument #1 is not an array in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: array_merge(): Argument #1 is not an array in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: array_merge(): Argument #1 is not an array in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: array_merge(): Argument #1 is not an array in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: array_merge(): Argument #1 is not an array in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: array_merge(): Argument #1 is not an array in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: array_merge(): Argument #1 is not an array in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: array_merge(): Argument #1 is not an array in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: array_merge(): Argument #1 is not an array in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: array_merge(): Argument #1 is not an array in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: array_merge(): Argument #1 is not an array in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/maisonhomeinteriors.com/subdomains/update/admin/controller/common/stats.php on line 37

ANY IDEAS WHAT I NEED TO DO NOW?
VQMOD STILL TO INSTALL...

New member

Posts

Joined
Thu Nov 01, 2012 5:48 am

Post by artcore » Wed Apr 29, 2015 7:17 pm


Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: I moved on to Laravel ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands

Post by WaltonCreative » Wed Apr 29, 2015 9:13 pm

Brilliant thanks. It was a tortuous journey but have got there in the end.

Wouldn't it be lovely if there was a core set of files that were sacrosanct and could not be touched. These could then be updated without messing with anything else.

All I have to do now is go all my extensions and modifications (100+) and do them again.

But still - thanks for all your help!

New member

Posts

Joined
Thu Nov 01, 2012 5:48 am

Post by artcore » Wed Apr 29, 2015 10:00 pm

I actually never update, only fixes for example security. Version 1.x or 7.x.x I don't care as long as it works and looks the way I want it to :)
I've not even touched OC2 other than a quick look on my localhost.

Anyway, good luck!

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: I moved on to Laravel ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands

Post by WaltonCreative » Wed Apr 29, 2015 10:40 pm

With Google now ranking on mobile-friendliness I think I have to push my client to update - hopefully once we have done it and got to a responsive site that might be it for a while!

Thanks again.

New member

Posts

Joined
Thu Nov 01, 2012 5:48 am

Post by herbalstore » Thu Jun 14, 2018 2:48 pm

Hi,

Can someone tell me the whole code of this:

<?php
final class DBMySQLi {
private $link;

Thanks!

User avatar
New member

Posts

Joined
Thu Apr 24, 2014 8:19 pm

Who is online

Users browsing this forum: No registered users and 11 guests