Page 1 of 1

Connecting OpenCart with Electrohost

Posted: Tue Apr 15, 2025 7:36 am
by Bianca_Petbee
Hi all, I am trying to connect OpenCart with Electrohost. I've installed the application, but getting this error:


Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /home/www/petbee.co.uk/install/index.php on line 23

Warning: require_once(/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/petbee.co.uk/install/index.php on line 39

Fatal error: require_once() [function.require]: Failed opening required '/system/startup.php' (include_path='.:/usr/local/php5/lib/php') in /home/www/petbee.co.uk/install/index.php on line 39


Thanks for your help
Bianca

Re: Connecting OpenCart with Electrohost

Posted: Tue Apr 15, 2025 10:19 pm
by Elevate
Sounds like the indicated DIR PATH is incorrect in config.php and/or admin/config.php

Re: Connecting OpenCart with Electrohost

Posted: Tue Apr 15, 2025 11:47 pm
by khnaz35
Can you confirm your Php version and opencart version being used here?