Post by Bianca_Petbee » Tue Apr 15, 2025 7:36 am

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

Newbie

Posts

Joined
Tue Apr 15, 2025 7:35 am

Post by Elevate » Tue Apr 15, 2025 10:19 pm

Sounds like the indicated DIR PATH is incorrect in config.php and/or admin/config.php

ELEV8TE Website Development
Available for hire - please contact me at https://www.elev8tewebsitedevelopment.com/contact
https://www.elev8tewebsitedevelopment.com


User avatar
Active Member

Posts

Joined
Fri Jul 06, 2018 12:40 am
Location - Denver, Colorado, USA

Post by khnaz35 » Tue Apr 15, 2025 11:47 pm

Can you confirm your Php version and opencart version being used here?

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia
Who is online

Users browsing this forum: No registered users and 18 guests