Page 1 of 1

why ?

Posted: Sat Jul 30, 2005 5:47 pm
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?

Posted: Sat Jul 30, 2005 8:40 pm
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

Other error

Posted: Mon Aug 01, 2005 1:41 pm
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";

Posted: Mon Aug 01, 2005 9:19 pm
by Klemen
Found problem, try this:

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

or this:

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

Regards

I fix the problem

Posted: Tue Aug 02, 2005 6:48 pm
by Edwin
Thank for al your attentions

I fix the problem...

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


Best regards