Database host syntax problem...

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Overseer
Posts: 1
Joined: Tue Feb 28, 2006 2:44 pm

Database host syntax problem...

Post 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...
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply