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
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
Edit / Download buttons ?oc-hastings wrote: ↑Fri Feb 05, 2021 5:57 amAdmin > Extensions > Modifications but without Edit/ Download buttons and
Do you mean install / edit buttons ?
Which are in extensions >modules not modifications
or do I misunderstand
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
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
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
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
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.

And like this on the upgraded staging site
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]
...
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.

And like this on the upgraded staging site

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]
...
Download 3.0.3.7 because ocmod modification bug is fixed.
My converted modules | Buy me a beer | Opencart upgrade service
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
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
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...
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.oc-hastings wrote: ↑Fri Feb 05, 2021 9:17 pmAn 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 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
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.
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.
Who is online
Users browsing this forum: Google [Bot], rmichel and 25 guests