Post by oc-hastings » Fri Feb 05, 2021 5:57 am

Hi Community

I'm trying to upgrade my OC website from Version 3.0.2.0 to Version 3.0.3.6.

My modifications on the upgraded website are listed under Admin > Extensions > Modifications but without Edit/ Download buttons and
are not being applied.

I wondered if the problem might be to do with the files in the /Storage directory but copying those across didn't seem to help.
My admin folder has not been renamed.

Would be grateful for any suggestions.

Thanks

New member

Posts

Joined
Fri Jan 16, 2015 10:58 pm

Post by mikeinterserv » Fri Feb 05, 2021 6:04 am

oc-hastings wrote:
Fri Feb 05, 2021 5:57 am
Admin > Extensions > Modifications but without Edit/ Download buttons and
Edit / Download buttons ?
Do you mean install / edit buttons ?
Which are in extensions >modules not modifications
or do I misunderstand

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by by mona » Fri Feb 05, 2021 6:47 am

As above I am confused as to what Edit/ Download buttons you are referring to - a screen shot might help better explain.

However the most common problem with OC 3.0.3.6 not applying in the front end is a known issue
You can check if this is the issue by going into the LOG TAB in the modifications and using the RED CLEAR button and then the top right refresh

There are many fixes around, some work better than others, the above method works 100% - however you can install something like this:
https://www.opencart.com/index.php?rout ... n_id=40603

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


Spinning Social : Links : Menus : Payments : Socials : Ads : Screen Backgrounds : Galleries : Headers : Banners : Promos


Active Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by karen11 » Fri Feb 05, 2021 1:04 pm

I'm trying to install a fresh upgrade in a separate directory.

I have used the same config files and .htaccess files.

ON running the upgrade script I'm getting this error.
Code: Select all

Error Code(0): Error: Duplicate entry '0' for key 'PRIMARY'
Error No: 1062
ALTER TABLE `oc_customer_login` ADD PRIMARY KEY(`customer_login_id`) in /home/mysite/public_html/freshopencart/system/library/db/mysqli.php on line 4 quickpayportal quickpayportal

Newbie

Posts

Joined
Fri Feb 05, 2021 1:02 am

Post by oc-hastings » Fri Feb 05, 2021 5:06 pm

Thanks for help. Really appreciate your help.

I didn't install these extensions / mods which explains why I'm really unsure how to troubleshoot.

The Modification dashboard looks like this on the live site.
Image

And like this on the upgraded staging site
Image

I cleared the Logs and refreshed as suggested but did not appear to have an effect.
On refresh the log panel loaded some data but I'm not clear if these is error or simply notifications.

2021-02-05 8:34:40 - MOD: Modification Default

FILE: system/engine/action.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 69

FILE: system/engine/loader.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 77
LINE: 151
LINE: 168

[more etc]
...

New member

Posts

Joined
Fri Jan 16, 2015 10:58 pm

Post by xxvirusxx » Fri Feb 05, 2021 5:15 pm

Download 3.0.3.7 because ocmod modification bug is fixed.

My converted modules | Buy me a beer | Opencart upgrade service


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by oc-hastings » Fri Feb 05, 2021 7:07 pm

Thanks

Running the upgrade to the latest version I get
Error Code(0): Error: Invalid default value for 'date_start'
Error No: 1067
ALTER TABLE `oc_coupon` ENGINE = `MyISAM` in /var/www/vhosts/[mywebsite].co.uk/httpdocs/system/library/db/mysqli.php on line 41

New member

Posts

Joined
Fri Jan 16, 2015 10:58 pm

Post by oc-hastings » Fri Feb 05, 2021 9:17 pm

An update...

I have reversed out of an upgrade as problematic (noted above).

I've installing the same version as the live site (v.3.0.3.2) and then copied across the live database, ../storage directory, /vqmods directory .
The staging website's extensions > modifications > dashboard now looks much better with all the Link, Edit, Download, Delete icons but when I click the Edit Icon I get a 'The page you are looking for could not be found! Please contact your administrator if the problem persists.'

Sounds like a path misconfiguration perhaps...

New member

Posts

Joined
Fri Jan 16, 2015 10:58 pm

Post by straightlight » Sat Feb 06, 2021 1:21 am

oc-hastings wrote:
Fri Feb 05, 2021 9:17 pm
An update...

I have reversed out of an upgrade as problematic (noted above).

I've installing the same version as the live site (v.3.0.3.2) and then copied across the live database, ../storage directory, /vqmods directory .
The staging website's extensions > modifications > dashboard now looks much better with all the Link, Edit, Download, Delete icons but when I click the Edit Icon I get a 'The page you are looking for could not be found! Please contact your administrator if the problem persists.'

Sounds like a path misconfiguration perhaps...
The storage must be located outside of your public_html folder. The edit icon button from which location are you referring to? More information is needed.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by oc-hastings » Sat Feb 06, 2021 1:33 am

Thanks

I managed to resolve all my problems by making a copy of the live website.

I wasn't able to update to a later version (than 3.0.3.2) or import the live database in to a clean 3.0.3.2 install.
But both fails probably reflect my inexperience with OC.

I'm happy with what I have achieved.

New member

Posts

Joined
Fri Jan 16, 2015 10:58 pm
Who is online

Users browsing this forum: rmichel and 29 guests