| Previous topic :: Next topic |
| Author |
Message |
jshayler
Joined: 03 Jul 2007
Posts: 77
|
| Posted: Fri Dec 28, 2007 11:18 am Post subject: Parse error: in Config.php |
|
|
Hi All,
Im trying to set up the web forms, and so far its gone ok, until i tried to submit the form.
Im now getting the following error message:-
Quote: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/power4/public_html/enterprise/webforms/Lead/config.php on line 19
When i open the config.php file i have the below:-
Code:
<?php
/*********************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
*
********************************************************************************/
//$Server_Path = 'http://servername:port_number'; //This is the path where have you run ther vtiger server.
//JS // $Server_Path = 'http:www.crm.power4pubs.co.uk:80'
$Server_Path = 'http://localhost:/crm
$proxyhost = ''; //This is the proxy host
$proxyport = ''; //This is proxy port
$proxyusername = ''; //This is the proxy setting user name
$proxypassword = ''; //This is the proxy setting password
//Default (1) is admin user id. if you want to assign the contacts to a vtiger user then you can give the user id
$assigned_user_id = 1;
?>
The Error message relates to line 19 which is the proxy port?
Code: $proxyport = ''; //This is proxy port
I have tried a number of values in here but non seem to work, Is there a default value or do i need to find the actual vlaue, If so where would i find it?
Any help or ideas would be great!
J
P.S - It is really hard to find any documentation on web forms!!! :( |
|
| Back to top |
|
aissa
Joined: 24 Feb 2005
Posts: 396
Location: France
|
| Posted: Fri Dec 28, 2007 11:32 am Post subject: Parse error: in Config.php<br /><a href="viewt |
|
|
Hi jshayler,
just replace
$Server_Path = 'http://localhost:/crm
By
$Server_Path = 'http://localhost:/crm '; |
|
| Back to top |
|
jshayler
Joined: 03 Jul 2007
Posts: 77
|
| Posted: Fri Dec 28, 2007 11:38 am Post subject: Re: Parse error: in Config.php |
|
|
Hi Aissa
I amended the above like you said, and now i get this error message:-
Quote: Parse error: syntax error, unexpected T_VARIABLE in /home/power4/public_html/enterprise/webforms/Lead/config.php on line 18
Now its pointing to line 18 which is:-
Code: $proxyhost = ''; //This is the proxy host
Any more ideas???
J |
|
| Back to top |
|
jshayler
Joined: 03 Jul 2007
Posts: 77
|
| Posted: Fri Dec 28, 2007 1:18 pm Post subject: Re: Parse error: in Config.php |
|
|
Figured it out i missed the ' off the end!
Thanks
J |
|
| Back to top |
|
| |