Menu

#8 Table calendar_system.session doesn't exist

v1.0 (example)
open
nobody
5
2008-02-05
2008-02-05
pablo1999
No

IS THIS PROJECT STILL SUPPORTED? If not, what do you suggest?

I followed the instructions and created a database for the CRM with username and password. But there is no sql file for the calendar system database.

When I go to the web site I get this error:

Error in request : 'SELECT * FROM session WHERE idSession = 'ba55fa1ec6bd14061afd17b887abb503' '.
MySQL message : Table 'calendar_system.session' doesn't exist

And the logs are outputting these errors:

PHP Notice: Undefined variable: login in /var/www/html/crm/index.php on line 6
PHP Notice: Undefined variable: pwd in /var/www/html/crm/index.php on line 6
PHP Notice: Undefined variable: db in /var/www/html/crm/session.inc on line 92

THIS IS HOW I HAVE THE DB.INC CONFIGURED:

<?php
include_once("db.php");

$database_name = "crm";

# use of crm_db_connect(host,user,passwd)
$db = crm_db_connect("localhost", "crm", "password");

crm_db_select_db($database_name,$db);
$site = "B";
?>

THIS IS HOW I HAVE MY DB.PHP configured:

define("PBCS_DB_HOSTNAME","localhost");
define("PBCS_DB_PORT","3306");
define("PBCS_DB_DB_NAME","calendar_system");
define("PBCS_DB_USERNAME","crm");
define("PBCS_DB_PASSWORD","password");

Discussion


Log in to post a comment.

MongoDB Logo MongoDB