Post by varnco » Mon Nov 09, 2020 9:59 am

Good evening. A few days ago, I started to receive the following error on my site
Warning: "continue 2" targeting switch is equivalent to "break 2". Did you mean to use "continue 3"? in /home2/hidden/public_html/vqmod/vqmod.php on line 684

I had an older version of VQMOD (2.4.1), so I updated to 2.6.1 for opencart, thinking I just had an old version of VQMOD, but it didn't correct the problem (the same error, just on a different line). I have now updated to 2.6.4 (not for opencart), and get the following error:

Fatal error: Uncaught Error: Call to undefined function mcrypt_create_iv() in /home2/hidden/public_html/system/library/encryption.php:8 Stack trace: #0 /home2/hidden/public_html/index.php(228): Encryption->__construct('4d5c0506faf9b7f...') #1 {main} thrown in /home2/hidden/public_html/system/library/encryption.php on line 8

I did an info.php file and I am running on PHP 7.3.2

Thoughts?

New member

Posts

Joined
Sun Aug 18, 2013 3:16 pm

Post by varnco » Tue Nov 10, 2020 2:59 am

I am running 2.6.4 for opencart, but still getting the error.

Fatal error: Uncaught Error: Call to undefined function mcrypt_create_iv() in /home2/hidden/public_html/system/library/encryption.php:8 Stack trace: #0 /home2/hidden/public_html/index.php(228): Encryption->__construct('4d5c0506faf9b7f...') #1 {main} thrown in /home2/hidden/public_html/system/library/encryption.php on line 8

The integrated version is for 2.0 and above, and I'm running 1.5.6

New member

Posts

Joined
Sun Aug 18, 2013 3:16 pm

Post by IP_CAM » Tue Nov 10, 2020 3:15 am

You also have to replace the system/library/encryption.php File Content with one of those,
to make 1.5.6.x work with up to (tested) PHP v.7.4.11 Versions:
viewtopic.php?f=181&t=199924&start=40#p804581

And you could also download the VqMod Pro for 1.5.6.x Versions, to have a well-done
Solution for VqMod Handling, working flawless with PHP v.7.x as well:
viewtopic.php?f=183&t=160997#p613796

Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by varnco » Tue Nov 10, 2020 2:31 pm

Well, thank you for that encryption trick.. that solved the VQMOD issue with PHP 7.3!

Now, my theme is throwing up (I assume because of the same PHP 7.3):

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home2/hidden/public_html/catalog/controller/journal2/menu.php on line 278

^ I just repeats this same error, but references a different line for about 10 times

I've reached out to the theme producer, but it appears they've moved on to 3.0 and it's only compatible with 2.0 and 3.0 opencart.

I have limited options, I'm guessing?

Thanks.

New member

Posts

Joined
Sun Aug 18, 2013 3:16 pm

Post by JNeuhoff » Tue Nov 10, 2020 5:57 pm

Well, the Journal themes aren't supported here, you will have to get in touch with the Journal support on this. Or install another proper web theme, the Journal framework is not a standard-compliant theme.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 2 guests