Post by BriteLightLEDs2014 » Thu Jan 22, 2015 12:58 pm

can some one please check these are ok?


route file
<?php
// HTTP
define('HTTP_SERVER', 'http://britelightleds.co.uk/20152/admin/');
define('HTTP_CATALOG', 'http://britelightleds.co.uk/20152/');
define('HTTP_IMAGE', 'http://britelightleds.co.uk/20152/image/');


// DIR
define('DIR_APPLICATION', '/var/www/vhosts/britelightleds.co.uk/20152/admin/');
define('DIR_SYSTEM', '/var/www/vhosts/britelightleds.co.uk/20152/system/');
define('DIR_DATABASE', '/var/www/vhosts/britelightleds.co.uk/20152/system/database/');
define('DIR_LANGUAGE', '/var/www/vhosts/britelightleds.co.uk/20152/admin/language/');
define('DIR_TEMPLATE', '/var/www/vhosts/britelightleds.co.uk/20152/admin/view/template/');
define('DIR_CONFIG', '/var/www/vhosts/britelightleds.co.uk/20152/system/config/');
define('DIR_IMAGE', '/var/www/vhosts/britelightleds.co.uk/20152/image/');
define('DIR_CACHE', '/var/www/vhosts/britelightleds.co.uk/20152/system/cache/');
define('DIR_DOWNLOAD', '/var/www/vhosts/britelightleds.co.uk/20152/download/');
define('DIR_LOGS', '/var/www/vhosts/britelightleds.co.uk/20152/system/logs/');
define('DIR_CATALOG', '/var/www/vhosts/britelightleds.co.uk/20152/catalog/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', '');
define('DB_PASSWORD', '');
define('DB_DATABASE', '');
define('DB_PREFIX', '');
?>
admin file
<?php
// HTTP
define('HTTP_SERVER', 'http://britelightleds.co.uk/20152/admin/');
define('HTTP_CATALOG', 'http://britelightleds.co.uk/20152');
define('HTTP_IMAGE', 'http://britelightleds.co.uk/20152/image/');


// DIR
define('DIR_APPLICATION', '/var/www/vhosts/britelightleds.co.uk/httpdocs/20152/admin/');
define('DIR_SYSTEM', '/var/www/vhosts/britelightleds.co.uk/httpdocs/20152/system/');
define('DIR_DATABASE', '/var/www/vhosts/britelightleds.co.uk/httpdocs/20152/system/database/');
define('DIR_LANGUAGE', '/var/www/vhosts/britelightleds.co.uk/httpdocs/20152/admin/language/');
define('DIR_TEMPLATE', '/var/www/vhosts/britelightleds.co.uk/httpdocs/20152/admin/view/template/');
define('DIR_CONFIG', '/var/www/vhosts/britelightleds.co.uk/httpdocs/20152/system/config/');
define('DIR_IMAGE', '/var/www/vhosts/britelightleds.co.uk/httpdocs/20152/image/');
define('DIR_CACHE', '/var/www/vhosts/britelightleds.co.uk/httpdocs/20152/system/cache/');
define('DIR_DOWNLOAD', '/var/www/vhosts/britelightleds.co.uk/httpdocs/20151/download/');
define('DIR_LOGS', '/var/www/vhosts/britelightleds.co.uk/httpdocs/20152/system/logs/');
define('DIR_CATALOG', '/var/www/vhosts/britelightleds.co.uk/httpdocs/20152/catalog/');

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

other than the details removed for security

Active Member

Posts

Joined
Wed Aug 20, 2014 3:59 am

Post by soundzgood-nz » Thu Jan 22, 2015 7:20 pm

Looks to be fairly wrong given both sections have /admin in the http_server defines.

What version of the cart is this?

Also are your store files in /var/www/vhosts/britelightleds.co.uk/httpdocs/20152/
and your admin in /var/www/vhosts/britelightleds.co.uk/httpdocs/20152/admin/ ?

Simon

User avatar
Active Member

Posts

Joined
Sat Oct 25, 2014 5:15 pm
Location - New Zealand

Post by justcurious » Thu Jan 22, 2015 10:45 pm

You have no database credentials set up

Google Product Feed - Get your products into Google Shopping. Includes a bulk update facility.
Backup Pro - Backup (on demand or scheduled), Restore and Clone your store.
Freestyle Box - Add multiple information boxes on multiple pages of your store. Includes optional "Code Mode".
View my other extensions


User avatar
Active Member

Posts

Joined
Sat Dec 24, 2011 4:36 pm
Location - UK

Post by soundzgood-nz » Fri Jan 23, 2015 2:08 am

justcurious wrote:You have no database credentials set up
Probably removed those for security reasons ... :)

Simon

User avatar
Active Member

Posts

Joined
Sat Oct 25, 2014 5:15 pm
Location - New Zealand
Who is online

Users browsing this forum: Amazon [Bot] and 28 guests