Discussion:
[Citrusdb-users] help
The Apuesto
2010-11-05 12:26:12 UTC
Permalink
Hi people,



I pray that you are well.



I was configuring Citrus DB 2.1.1 on my PC but when I try to run
<http://localhost/citrus/> http://localhost/citrus/ I get the following
error:



Parse error: syntax error, unexpected T_STRING in
C:\xampp\htdocs\citrus\include\config.inc.php on line 14





// define variables

$sys_dbhost = 'localhost';

$sys_dbuser = 'root';

$sys_dbpasswd = 'root';

$sys_dbname = 'citrus';

$sys_dbtype = 'mysql';

$path_to_citrus = 'C:\xampp\htdocs\citrus\';

$hidden_hash_var='hlpmerememberthis'; (this happens to be my line 14)

$lang = 'C:\xampp\htdocs\citrus\include\localus-english.inc.php';



How can you help me. I will truly appreciate.



Thanks,

Apuesto
Paul Yasi
2010-11-08 14:20:06 UTC
Permalink
The \' at the end of your $path_to_citrus path is causing it to escape
the single quote and not close the string. You need to put two
slashes at the end of that line, or you can use forward slashes
unix-like and not need to specify C: on windows, apache/php treats C:
as the root directory, eg:

$path_to_citrus = 'C:\xampp\htdocs\citrus\\';

OR

$path_to_citrus = '/xampp/htdocs/citrus/';

Paul
--
The CitrusDB Project | http://www.citrusdb.org
Open Source Customer Care & Billing System

--------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Citrusdb-users mailing list
https://lists.sourceforge.net/lists/listinfo/citrusdb-users
--
The CitrusDB Project | www.citrusdb.org
Open Source Customer Service & Billing
Loading...