Discussion:
[Citrusdb-users] Search not working.
Ing. Oscar Hernández C.
2011-05-07 08:31:47 UTC
Permalink
Hello,

Just installed CitrusDB to try it's functionality; made initial
configuration without problems.

Using version 2.4, XAMPP Lite 1.7.3 on windows. Tested with Maxthon
3.02, IE 9 and FF4.

Variables:

// define variables
$sys_dbhost = 'localhost';
$sys_dbuser = 'citrus';
$sys_dbpasswd = 'citruspass';
$sys_dbname = 'citrus';
$sys_dbtype = 'mysql';
$path_to_citrus = 'G:\xampplite\htdocs\citrus\\';
$hidden_hash_var='youmustchangethis';
//$lang = './include/local/es-spanish.inc.php';
$lang = './include/local/us-english.inc.php';
$url_prefix = "http://localhost/citrus/";
$ssl_url_prefix = "https://localhost/citrus/";


One thing I noticed at first run was this error:

Warning: session_module_name() [function.session-module-name]: A session
is active. You cannot change the session module's ini settings at this
time in
G:\xampplite\htdocs\citrus\include\adodb\session\adodb-session2.php on
line 465

Warning: Unknown: Failed to write session data (files). Please verify
that the current setting of session.save_path is correct
(G:\xampplite\tmp) in Unknown on line 0

I changed session.auto_start = 0 to avoid that error, but don´t know
if that is causing the following problem, as I can see session files
created in that folder.

Every time I search for customers (added 2) search result always show
the Example Customer from DB, no matter if entered partial or exact name.

If I enter a non valid name no records are found, that's OK. If I
click the try again link the search page is shown again and in the left
side the recently "viewed" customers. Strange thing is that the ID and
Name of the 2 customers I entered are shown multiple times; if I click
over the Id and name, again the Example Customer is shown.

If I search with an empty box on Name/Company I get the 3 customers,
but again if I click on any customer the Example customer is shown.

Tried also searching by account number with same results.

BTW what the "source" field for customer is intended for, referral or
something like that ?

Example Customer account number is 1, the other two are 10001 and
10001; is there a way to set an extra or custom account number ?

Any Ideas? Hope my description help to trace the problem.

TIA, Oscar.
Paul Yasi
2011-05-07 13:58:50 UTC
Permalink
The customer you are viewing is stored as a session variable, so if
that isn't working then you cannot view anything but the first
customer number.

It sounds like you do not have a session storage location properly
setup in your php configuration.

Paul
Post by Ing. Oscar Hernández C.
Hello,
  Just installed CitrusDB to try it's functionality; made initial
configuration without problems.
  Using version 2.4, XAMPP Lite 1.7.3 on windows. Tested with Maxthon
3.02, IE 9 and FF4.
// define variables
$sys_dbhost = 'localhost';
$sys_dbuser = 'citrus';
$sys_dbpasswd = 'citruspass';
$sys_dbname = 'citrus';
$sys_dbtype = 'mysql';
$path_to_citrus = 'G:\xampplite\htdocs\citrus\\';
$hidden_hash_var='youmustchangethis';
//$lang = './include/local/es-spanish.inc.php';
$lang = './include/local/us-english.inc.php';
$url_prefix = "http://localhost/citrus/";
$ssl_url_prefix = "https://localhost/citrus/";
Warning: session_module_name() [function.session-module-name]: A session
is active. You cannot change the session module's ini settings at this
time in
G:\xampplite\htdocs\citrus\include\adodb\session\adodb-session2.php on
line 465
Warning: Unknown: Failed to write session data (files). Please verify
that the current setting of session.save_path is correct
(G:\xampplite\tmp) in Unknown on line 0
  I changed session.auto_start = 0 to avoid that error, but don´t know
if that is causing the following problem, as I can see session files
created in that folder.
  Every time I search for customers (added 2) search result always show
the Example Customer from DB, no matter if entered partial or exact name.
  If I enter a non valid name no records are found, that's OK. If I
click the try again link the search page is shown again and in the left
side the recently "viewed" customers. Strange thing is that the ID and
Name of the 2 customers I entered are shown multiple times; if I click
over the Id and name, again the Example Customer is shown.
  If I search with an empty box on Name/Company I get the 3 customers,
but again if I click on any customer the Example customer is shown.
  Tried also searching by account number with same results.
  BTW what the "source" field for customer is intended for, referral or
something like that ?
  Example Customer account number is 1, the other two are 10001 and
10001; is there a way to set an extra or custom account number ?
  Any Ideas? Hope my description help to trace the problem.
  TIA, Oscar.
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Citrusdb-users mailing list
https://lists.sourceforge.net/lists/listinfo/citrusdb-users
--
The CitrusDB Project | www.citrusdb.org
Open Source Customer Service & Billing
Loading...