Post by pbro8498 » Mon Mar 18, 2013 7:30 pm

Hi Everyone,

I've just registered here and i'm fairly new to open cart. I joined open cart as it looks like the exact tool/ecommerce solution i've been looking for but have ran into a bit of a problem and i'm hoping someone can help.

Somehow, I have managed to mix up my config.php file. My admin/config.php is operating correctly. Is it possible someone could check my code below and spot any errors as i'm not sure if I have the correct lines of code?

I have an arvixe account with open cart pre-installed (1.5.4.1) and have also installed a template.

<?php
// HTTP
define('HTTP_SERVER', 'http://XXXX.co.uk/public_html/');
define('HTTP_IMAGE', 'http://XXXX.co.uk//public_html/image/');
define('HTTP_ADMIN', 'http://XXXX.co.uk//public_html/admin/');

// HTTPS
define('HTTPS_SERVER', 'http://XXXX.co.uk//public_html/');
define('HTTPS_IMAGE', 'http://XXXX.co.uk//public_html/image/');

// DIR
define('DIR_APPLICATION', '/home/XXXX/public_html/catalog/');
define('DIR_SYSTEM', '/home/XXXX/public_html/system/');
define('DIR_DATABASE', '/home/XXXX/public_html/system/database/');
define('DIR_LANGUAGE', '/home/XXXX/public_html/language/');
define('DIR_TEMPLATE', '/home/XXXX/public_html/view/template/');
define('DIR_CONFIG', '/home/XXXX/public_html/system/config/');
define('DIR_IMAGE', '/home/XXXX/public_html/image/');
define('DIR_CACHE', '/home/XXXX/public_html/system/cache/');
define('DIR_DOWNLOAD', '/home/XXXX/public_html/download/');
define('DIR_LOGS', '/home/XXXX/public_html/system/logs/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'XXXX_com1');
define('DB_PASSWORD', 'XXXXXXXXX');
define('DB_DATABASE', 'XXXX_com1');
define('DB_PREFIX', 'oc_');?>


My site is: http://www.mynewpc.co.uk

Many thanks for you help,

Phil

Newbie

Posts

Joined
Mon Mar 18, 2013 7:22 pm

Post by daik01 » Mon Mar 18, 2013 9:18 pm

Seems to me as correct, except your password , I hope :-)

TOP 5 Opencart Extensions:
1:Opencart Reservations
2:Stock Report, import/export stock levels with Excel
3:3D Carousel
4:Product Price Changer by Category
5:Set price Inclusive Taxes
DEMO SHOP


Active Member

Posts

Joined
Sun Oct 21, 2012 3:18 am


Post by cwswebdesign » Wed Mar 20, 2013 10:33 pm

Like dalk01 said, make sure all of your database info is correct (I know you blocked it out for this forum post) and do you have localhost on your admin config file as well or is it something different?

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by cpsystems_dave » Sun Mar 31, 2013 7:38 pm

You have double slashes domain//

Dave


Posts

Joined
Tue Apr 03, 2012 5:47 pm

Post by cwswebdesign » Sun Mar 31, 2013 9:45 pm

cpsystems_dave wrote:You have double slashes domain//

Dave
Great catch!

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by pbro8498 » Sun Mar 31, 2013 10:39 pm

Hi guys,

Many thanks for your help, it's really appreciated!

Problem solved!

Thanks,

Phil

Newbie

Posts

Joined
Mon Mar 18, 2013 7:22 pm
Who is online

Users browsing this forum: Majestic-12 [Bot] and 27 guests