Jonojamesmac Posted February 9, 2008 Posted February 9, 2008 Call to undefined function mysql_connect() in /var/www/vhosts/macwebuk.co.uk/httpdocs/store/includes/functions/database.php on line 18 Settings look ok in my configure.php I don't know what else could cause this! define('HTTP_SERVER', 'http://www.macwebuk.co.uk'); define('HTTP_CATALOG_SERVER', 'http://www.macwebuk.co.uk'); define('HTTPS_CATALOG_SERVER', 'http://www.macwebuk.co.uk'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/var/www/vhosts/macwebuk.co.uk/httpdocs/store/'); define('DIR_WS_ADMIN', '/store/admin/'); define('DIR_FS_ADMIN', '/var/www/vhosts/macwebuk.co.uk/httpdocs/store/admin/'); define('DIR_WS_CATALOG', '/store/'); define('DIR_FS_CATALOG', '/var/www/vhosts/macwebuk.co.uk/httpdocs/store/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '*****'); define('DB_SERVER_PASSWORD', '******'); define('DB_DATABASE', 'tussypats'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql');
usernamenone Posted February 10, 2008 Posted February 10, 2008 The file you should be looking at is where your error is telling you your error is located which is includes/functions/database.php on line 18 You may want to post what is stated on that line in your database.php but I suspect you have an out dated osc and an updated php
Recommended Posts
Archived
This topic is now archived and is closed to further replies.