Page 1 of 1

Database host syntax problem...

Posted: Tue Feb 28, 2006 2:57 pm
by Overseer
Script URL: http://crm-server/install.php
Version of script: 0.93
Version of PHP: 5.1.2
Hosting company: internal on Apache
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try: I changed the string to an IP, to the server name, and didn't change the original..same result

Write your message below:

I have made sure that the php5 is enabled for Apache as I can run other scripts. The installation will start first screen, but when I try to test my connection or create tables I get the following error..

Parse error: syntax error, unexpected T_STRING in C:\Program Files\Apache Group\Apache2\htdocs\helpdesk2\hesk_settings.inc.php on line 53
I know that this means I have a error in my entry, but I can't seem to find it.

here are the lines preceeding and following the line in question...

/* Database settings */
$hesk_settings['database_host'] = "crm-server";
$hesk_settings['database_name'] = "helpdesk1";
$hesk_settings['database_user'] = "****";
$hesk_settings['database_pass'] = "********";

Any help is appriciated...

Posted: Tue Mar 07, 2006 11:40 am
by Klemen
Hi,

This must indeed be a problem with the settings file. Those lines look ok, I suggest you take the original settings file and edit it from start. Make sure you don't delete any quotes or semi-colons, just the text in between.