Page 1 of 1
Tried To Upgrade From 1.5.6.4 To 1.5.6.5rc
Posted: Wed Jul 24, 2024 12:32 pm
by nootkan
Been awhile since I made any changes to my live store but decided to try and upgrade from version 1.5.6.4 to 1.5.6.5
Followed the upgrade instructions in the upgrade text file with the downloaded package.
Able to login to admin but get a blank page when viewing storefront.
Never received the upgrade prompt just a notice saying to delete install folder which I did.
Bottom of admin page says:
OpenCart © 2009-2024 All Rights Reserved.
Version 1.5.6.5_rc
Checked errors and found this:
[24-Jul-2024 03:55:37 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mcrypt_create_iv() in /home/mywebsite/public_html/shop/system/library/encryption.php:8
Stack trace:
#0 /home/mywebsite/public_html/shop/index.php(218): Encryption->__construct('f814f521d446010...')
#1 {main}
thrown in /home/mywebsite/public_html/shop/system/library/encryption.php on line 8
Can't show live link for troubleshooting as I re-installed backup.
I assume it has something to do with the encryption but not sure how to resolve it.
Re: Tried To Upgrade From 1.5.6.4 To 1.5.6.5rc
Posted: Wed Jul 24, 2024 4:27 pm
by johnp
nootkan wrote: ↑Wed Jul 24, 2024 12:32 pm
Been awhile since I made any changes to my live store but decided to try and upgrade from version 1.5.6.4 to 1.5.6.5
Followed the upgrade instructions in the upgrade text file with the downloaded package.
Able to login to admin but get a blank page when viewing storefront.
Never received the upgrade prompt just a notice saying to delete install folder which I did.
Bottom of admin page says:
OpenCart © 2009-2024 All Rights Reserved.
Version 1.5.6.5_rc
Checked errors and found this:
[24-Jul-2024 03:55:37 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mcrypt_create_iv() in /home/mywebsite/public_html/shop/system/library/encryption.php:8
Stack trace:
#0 /home/mywebsite/public_html/shop/index.php(218): Encryption->__construct('f814f521d446010...')
#1 {main}
thrown in /home/mywebsite/public_html/shop/system/library/encryption.php on line 8
Can't show live link for troubleshooting as I re-installed backup.
I assume it has something to do with the encryption but not sure how to resolve it.
I'm guessing you used this extension:
https://www.opencart.com/index.php?rout ... n_id=38012
Did you change the DB driver in your root config.php and admin/config.php files to mysqli?
What version of PHP are you using?
Have you got mcrypt activated on your hosting account?
Re: Tried To Upgrade From 1.5.6.4 To 1.5.6.5rc
Posted: Thu Jul 25, 2024 1:11 am
by nootkan
Johnp, thanks for your reply.
I decided to re-try the upgrade with a different version of 1.5.6.5 from ipCam that I found while digging deep into the forum posts.
It worked perfectly for me (php 7.4) and now I will continue to add new products and test all features etc to ensure all is well.
I will also check through all my logs to see if there are any issues to be dealt with and hopefully if there are someone here can help me if I am unable to resolve them on my own.
Thanks again for your reply as it is good to know someone still tries to help out with advice when needed.
Re: Tried To Upgrade From 1.5.6.4 To 1.5.6.5rc
Posted: Thu Jul 25, 2024 2:53 am
by johnp
nootkan wrote: ↑Thu Jul 25, 2024 1:11 am
Johnp, thanks for your reply.
I decided to re-try the upgrade with a different version of 1.5.6.5 from ipCam that I found while digging deep into the forum posts.
It worked perfectly for me (php 7.4) and now I will continue to add new products and test all features etc to ensure all is well.
I will also check through all my logs to see if there are any issues to be dealt with and hopefully if there are someone here can help me if I am unable to resolve them on my own.
Thanks again for your reply as it is good to know someone still tries to help out with advice when needed.
No probs. Best of luck. :-)
Re: Tried To Upgrade From 1.5.6.4 To 1.5.6.5rc
Posted: Mon Jul 29, 2024 3:30 am
by nootkan
Guess I spoke too soon.
For some reason my custom qPhoria Canada Post module vqmod xml files I had done back in 2015 isn't working in the merkent theme but still working in my old responsive theme "gallery" based on the default theme.
I've sent an email to the dev who created the vqmod extension for my paid Canada Post Shipping Module from qPhoria but haven't heard back from him yet.
Thought maybe it may be a difference in the index.php files so uploaded the original from my "gallery theme" but it didn't make a difference.
Also tried installing the vqmod manager extension and clearing the cache but that didn't work either.
vqmod version = 2.6.1
Any ideas?
Re: Tried To Upgrade From 1.5.6.4 To 1.5.6.5rc
Posted: Mon Jul 29, 2024 7:52 am
by johnp
nootkan wrote: ↑Mon Jul 29, 2024 3:30 am
Guess I spoke too soon.
For some reason my custom qPhoria Canada Post module vqmod xml files I had done back in 2015 isn't working in the merkent theme but still working in my old responsive theme "gallery" based on the default theme.
I've sent an email to the dev who created the vqmod extension for my paid Canada Post Shipping Module from qPhoria but haven't heard back from him yet.
Thought maybe it may be a difference in the index.php files so uploaded the original from my "gallery theme" but it didn't make a difference.
Also tried installing the vqmod manager extension and clearing the cache but that didn't work either.
vqmod version = 2.6.1
Any ideas?
Try it with this theme. See if any errors appear in the vqmod manager log file.
https://www.opencart.com/index.php?rout ... n_id=15752
Also try installing vqmod again.
Re: Tried To Upgrade From 1.5.6.4 To 1.5.6.5rc
Posted: Mon Jul 29, 2024 2:32 pm
by nootkan
Awesome! Thanks johnp I never would have guessed that was the same theme as Merkent or darn close. It might even be cleaner code for sure.
There was an error with vqmod but it has to do with the recaptcha and not the options. I see it is enabled with keys in modules and seems to be showing for contact page and reviews but not working for some reason.
REQUEST URI : /shop/wildlife-photos/antlerlake-beaver
MOD DETAILS:
modFile : /home/mywebsite/public_html/shop/vqmod/xml/recaptcha.xml
id : ReCAPTCHA Contact and Review
version : 1.0.0
vqmver : 2.1
author : Nayden Panchev -
airnayden@gmail.com
File Name : catalog/view/theme/*/template/product/product.tpl(1)
VQModObject::applyMod - SEARCH NOT FOUND (ABORTING MOD): <img src="index.php?route=product/product/captcha" alt="" id="captcha" /><br />
Re: Tried To Upgrade From 1.5.6.4 To 1.5.6.5rc
Posted: Mon Jul 29, 2024 4:17 pm
by johnp
Try adding your current theme name to the vqmod.
I.e. This:
Code: Select all
File Name : catalog/view/theme/*/template/product/product.tpl
Becomes this:
Code: Select all
File Name : catalog/view/theme/your-current-theme/template/product/product.tpl
Re: Tried To Upgrade From 1.5.6.4 To 1.5.6.5rc
Posted: Mon Jul 29, 2024 10:57 pm
by nootkan
johnp wrote: ↑Mon Jul 29, 2024 4:17 pm
Try adding your current theme name to the vqmod.
I.e. This:
Code: Select all
File Name : catalog/view/theme/*/template/product/product.tpl
Becomes this:
Code: Select all
File Name : catalog/view/theme/your-current-theme/template/product/product.tpl
Once again thanks.
I am a little surprised though as I tried to do the same thing with the add options vqmod xml file for the Merkent theme and it didn't work so I thought I was doing something wrong by changing the wildcard to the actual theme name.
Good to know it wasn't me.
In any case, thanks for all your help, I am going to finish upgrading my store with this new theme.
Probably going to remove the contact and review captcha anyways as captchas no longer work, spammers are pretty clever these days and don't get me started on bots!
Then I will move on to trying to figure out how to make other opencart versions (2.3.0.3, 3.0+ and 4.0+) work in case I am forced to upgrade to a newer php version other than 7.4.
Re: Tried To Upgrade From 1.5.6.4 To 1.5.6.5rc
Posted: Mon Jul 29, 2024 11:32 pm
by johnp
These are my two goto add-ons for spammers and hackers:
Ninja Firewall
https://nintechnet.com/ninjafirewall/pro-edition
The free version of Ninja Firewall is fine.
Cidram
https://github.com/CIDRAM/CIDRAM
Not perfect but gives valuable extra protection.
This OC version is worth a look. It works fine on PHP 8.
https://github.com/IP-CAM/Opencart-v.2. ... .1-8.2-8.3