The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
unexpected T_STRING - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: Installation (https://forums.formtools.org/forumdisplay.php?fid=4) +--- Thread: unexpected T_STRING (/showthread.php?tid=1547) |
unexpected T_STRING - hammour - Aug 18th, 2011 i installed the application and gives me this error: Parse error: syntax error, unexpected T_STRING in D:\Hosting\3126654\html\formtools\global\config.php on line 8 the URL: http://www.slicksolutionslubrication.com/formtools/install/ plz advice? this is the config info <?php // main program paths - no trailing slashes! $g_root_url = "http://artdell.com/formtools/"; $g_root_dir = "D:\Hosting\3126654\html\formtools\"; // database settings $g_db_hostname = "slicksolutions.db.3126654.hostedresource.com"; $g_db_name = "slicksolutions"; $g_db_username = "slicksolutions"; $g_db_password = "****"; $g_table_prefix = "ft_"; ?> RE: unexpected T_STRING - Ben - Aug 19th, 2011 Hi Hammour, Sorry you're having trouble! Did the installation script create the config.php itself, or did you manually create it? I just noticed that the $g_root_url and $g_root_dir vars both have trailing slashes (they shouldn't!) Also, on Windows systems, the backslashes are escaped - the installation script should have generated file contents with those already escaped. So try changing the first lines to this: PHP Code: // main program paths - no trailing slashes! Let me know if you still have problems! - Ben |