why ?

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Edwin

why ?

Post by Edwin »

Script URL:
Version of script:
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try:

Write your message below:

why explorer send me the next error?

i'm working in the directory C:\Inetpub\wwwroot\

i want execute the install.php script and i see the next error:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\Inetpub\wwwroot\hesk_settings.inc.php on line 49

in my file hesk_settings.inc.php i write:



$hesk_settings['site_url']="http://localhost/";

/* Help desk settings */
$hesk_settings['hesk_url']="http://localhost/";
$hesk_settings['hesk_title']="Reportes Soporte Técnico";
$hesk_settings['max_listings']="15";
$hesk_settings['language']="spanish";
$hesk_settings['print_font_size']="12";

/* Contacts */
$hesk_settings['support_mail']="support@";
$hesk_settings['webmaster_mail']="webmaster@";
$hesk_settings['noreply_mail']="NOREPLY@";

/* Server info */
/*$hesk_settings['server_path'] = 'C:\Inetpub\wwwroot\';*/

$hesk_serrings['server_path']=
/* Database settings */
$hesk_settings['database_host'] = "192.168.15.28";
$hesk_settings['database_name'] = "hdesk";
$hesk_settings['database_user'] = "root";
$hesk_settings['database_pass'] = "hpdsk";

what's up?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Change

/* Server info */
/*$hesk_settings['server_path'] = 'C:\Inetpub\wwwroot\';*/

$hesk_serrings['server_path']=


to this:

/* Server info */
$hesk_settings['server_path'] = 'C:\Inetpub\wwwroot\';


Regards
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
Edwin

Other error

Post by Edwin »

I change the instruccion and the Explorer show me the next error:



Parse error: syntax error, unexpected T_STRING in C:\Inetpub\wwwroot\hesk_settings.inc.php on line 51



I modificate the script that indicates above:


$hesk_settings['site_url']="http://localhost/";

/* Help desk settings */
$hesk_settings['hesk_url']="http://localhost/";
$hesk_settings['hesk_title']="Reportes Soporte Técnico";
$hesk_settings['max_listings']="15";
$hesk_settings['language']="spanish";
$hesk_settings['print_font_size']="12";

/* Contacts */
$hesk_settings['support_mail']="support@";
$hesk_settings['webmaster_mail']="webmaster@";
$hesk_settings['noreply_mail']="NOREPLY@";

/* Server info */
$hesk_settings['server_path'] = 'C:\Inetpub\wwwroot\';


/* Database settings */
$hesk_settings['database_host'] = "192.168.15.28";
$hesk_settings['database_name'] = "hdesk";
$hesk_settings['database_user'] = "root";
$hesk_settings['database_pass'] = "hpdsk";
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Found problem, try this:

$hesk_settings['server_path'] = 'C:\\Inetpub\\wwwroot';

or this:

$hesk_settings['server_path'] = 'C:/Inetpub/wwwroot';

Regards
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
Edwin

I fix the problem

Post by Edwin »

Thank for al your attentions

I fix the problem...

I write again the script with the Pspad editor...


Best regards
Post Reply