Post by SciFiKriss » Sun Oct 14, 2018 8:09 pm

Hi guys

I have just installed from CPanel and I am getting this error on the dashboard

Notice: Use of undefined constant DIR_STORAGE - assumed 'DIR_STORAGE' in /home/sites/krissmania.me.uk/public_html/opencarttest/admin/controller/common/dashboard.php on line 79

Had a look and it says...

if (DIR_STORAGE == DIR_SYSTEM . 'storage/') {
$data['security'] = $this->load->controller('common/security');
} else {
$data['security'] = '';
}

$data['header'] = $this->load->controller('common/header');
$data['column_left'] = $this->load->controller('common/column_left');
$data['footer'] = $this->load->controller('common/footer');



Version 3.0.2.0

Thanks in advance

Kriss :)

Newbie

Posts

Joined
Mon Mar 13, 2017 4:53 am

Post by straightlight » Sun Oct 14, 2018 8:14 pm


Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Elevate » Sat Oct 27, 2018 2:47 am

Did you install this by manually creating a database and user or by Softaculous? Yes, you can edit the existing config file like Straightlight mentioned. Just curious how this happened in the first place.

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


User avatar
Active Member

Posts

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

Users browsing this forum: No registered users and 216 guests