Post by David Henry » Wed Jul 22, 2020 12:44 am

I've set up OpenCart Version 3.0.3.3 running php7.4 and journal3.

I see a lot of errors until I switch down to php7.3, the only warning I see now is:

Code: Select all

Warning: Use of undefined constant OPENCART_SERVER - assumed 'OPENCART_SERVER' (this will throw an Error in a future version of PHP) in /usr/www/users/website/live/admin/controller/marketplace/marketplace.php on line 151
Is this normal?

Should 3.0.3.3 run on php7.4?

D

Newbie

Posts

Joined
Fri Sep 26, 2014 2:31 am

Post by IP_CAM » Wed Jul 22, 2020 7:39 am

'OPENCART_SERVER' is not a OC default type Code, but probably
related to your Journal Theme. So, better get in Contact with Journal on
this.
Ernie

Please don't send me OC Forum Personal Messages, just contact: jti@jacob.ch
---
OC 1.5.6.5 LIGHT Test Site: http://www.bigmax.ch/shop/
OC 1.5.6.5 V-PRO Test Site: http://www.openshop.li/shop/
My Github OC Site: https://github.com/IP-CAM
2'600+ FREE OC Extensions on the World's largest Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

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

Post by JNeuhoff » Wed Jul 22, 2020 7:19 pm

So, better get in Contact with Journal on this.
Or use a proper standard-compliant web theme ;D

Override Engine * Integrated VQMod * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Rich Snippets * Google Tag Manager * Export/Import Tool * SpamBot Buster * Survey Plus


User avatar
Expert Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by xxvirusxx » Wed Jul 22, 2020 8:06 pm

IP_CAM wrote:
Wed Jul 22, 2020 7:39 am
'OPENCART_SERVER' is not a OC default type Code, but probably
It is :)

Code: Select all

$curl = curl_init(OPENCART_SERVER . 'index.php?route=marketplace/api' . $url);

OC 2.3.0.2 | OC 3.0.3.6 | Extensions converted by me | Buy me a beer


User avatar
Expert Member

Posts

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

Post by IP_CAM » Wed Jul 22, 2020 9:06 pm

OOPS, sorry, I was not aware about this, since I use no such Version ... :o ::)

Please don't send me OC Forum Personal Messages, just contact: jti@jacob.ch
---
OC 1.5.6.5 LIGHT Test Site: http://www.bigmax.ch/shop/
OC 1.5.6.5 V-PRO Test Site: http://www.openshop.li/shop/
My Github OC Site: https://github.com/IP-CAM
2'600+ FREE OC Extensions on the World's largest Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

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

Post by moneycarlo » Fri Jul 31, 2020 7:47 am

I think this is defined in the config.php files. Check both of those to make sure it's defined in there.

Active Member

Posts

Joined
Wed Sep 28, 2011 3:40 am

Post by EvolveWebHosting » Mon Aug 03, 2020 5:35 am

It needs to be in admin/config.php after the database credentials.

Code: Select all

// OpenCart API
define('OPENCART_SERVER', 'https://www.opencart.com/');

Image
Take a close look at our domain pricing. It's cheaper than most of the 'big name' registrars.
Detailed guide on how to install Opencart


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA
Who is online

Users browsing this forum: No registered users and 7 guests