From: sudha_seeni at yahoo dot co dot in Operating system: windows xp PHP version: 5.1.2 PHP Bug Type: Unknown/Other Function Bug description: Fatal error: Function name must be a string in line no 1600 in smarty.class.ph
Description: ------------ php 5.1.1,mysql 5.0.18,windows xp,xampp 1.5.1 see i have installed xampp 1.5.1 which itself has mysql,phpmyadmin.. i have installed smarty also. i store my php file in c:\program files\xampp\htdocs.my friend has forwarded a php project which is in a folder leadtrac_project. so this one i have copied and pasted in c:\program files\xampp\htdocs i.e it will be as c:\program files\xampp\htdocs\leadtrac_project. i have to open in browser as http://localhost/leadtrac_project/index.php.for this i am getting a error:- Fatal error: Function name must be a string in line no 1600 in smarty.class.php in leadtrac_project folder there is a include folder which has config.inc file where the part of coding is: elseif($HTTP_HOST == 'localhost') { $configVars['siteBaseUrl'] = 'http://localhost/leadtrac/'; $configVars['siteBasePath']='C:\\Program Files\\Apache Group\\Apache\\htdocs\\leadtrac\\'; $dbConfig['dbhost'] = 'localhost'; $dbConfig['dbname'] = 'leadtrac_db2'; $dbConfig['dbuser'] = 'root'; $dbConfig['dbpass'] = ''; $dbConfig['dbType'] = 'mysql'; $configVars['dncCode'] ='8a8s5t6u9d6n4c8'; //absolute path to smarty require('C:\\Satish\\PHP_DOCS\\smarty\\Smarty-2.6.10\\libs\\Smarty.class.php'); } what i have changed is :- is sitebaseurl,sitebasepath,absolute path to smarty elseif($HTTP_HOST == 'localhost') { $configVars['siteBaseUrl'] = 'http://localhost/leadtrac_project/'; $configVars['siteBasePath']='C:\\Program Files\\xampp\\htdocs\\leadtrac_project\\'; $dbConfig['dbhost'] = 'localhost'; $dbConfig['dbname'] = 'leadtrac_db2'; $dbConfig['dbuser'] = 'root'; $dbConfig['dbpass'] = ''; $dbConfig['dbType'] = 'mysql'; $configVars['dncCode'] ='8a8s5t6u9d6n4c8'; //absolute path to smarty require('C:\Program Files\xampp\php\pear\PhpDocumentor\phpDocumentor\Smarty-2.5.0\libs\Smarty.class.php'); } after changing and running this error comes what to do -- Edit bug report at http://bugs.php.net/?id=36933&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36933&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36933&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36933&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36933&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36933&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36933&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36933&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36933&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36933&r=support Expected behavior: http://bugs.php.net/fix.php?id=36933&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36933&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36933&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36933&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36933&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36933&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36933&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36933&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36933&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36933&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36933&r=mysqlcfg
