Skip navigation
Currently Being Moderated

Error "Generate Sample PHP Service"

Apr 5, 2010 4:17 PM

Anyone getting this error?

 

Flash Builder 4 - Windows 7 - Zend Server Community Edition

 

Warning: parse_ini_file() [function.parse-ini-file]: It is not safe to  rely on the system's timezone settings. You are *required* to use the  date.timezone setting or the date_default_timezone_set() function. In case you  used any of those methods and you are still getting this warning, you most  likely misspelled the timezone identifier. We selected 'America/Chicago' for  '-5.0/DST' instead in C:\Program Files  (x86)\Zend\Apache2\htdocs\phpprog-debug\gateway.php on line  12

 

Warning: syntax error, unexpected '(' in C:\Program  Files (x86)\Zend\Apache2\htdocs\phpprog-debug/amf_config.ini on line 5 in  C:\Program Files (x86)\Zend\Apache2\htdocs\phpprog-debug\gateway.php on  line 12

 

Warning: Unknown: It is not safe to rely on the  system's timezone settings. You are *required* to use the date.timezone setting  or the date_default_timezone_set() function. In case you used any of those  methods and you are still getting this warning, you most likely misspelled the  timezone identifier. We selected 'America/Chicago' for '-5.0/DST' instead in  Unknown on line 0

 

Fatal error: Uncaught exception  'Zend_Config_Exception' with message 'syntax error, unexpected '(' in C:\Program  Files (x86)\Zend\Apache2\htdocs\phpprog-debug/amf_config.ini on line 5' in  C:\Program Files  (x86)\Zend\ZendServer\share\ZendFramework\library\Zend\Config\Ini.php :181Stack  trace:#0 C:\Program Files  (x86)\Zend\ZendServer\share\ZendFramework\library\Zend\Config\Ini.php (201):  Zend_Config_Ini->_parseIniFile('C:\Program File...')#1 C:\Program Files  (x86)\Zend\ZendServer\share\ZendFramework\library\Zend\Config\Ini.php (125):  Zend_Config_Ini->_loadIniFile('C:\Program File...')#2 C:\Program Files  (x86)\Zend\Apache2\htdocs\phpprog-debug\gateway.php(31):  Zend_Config_Ini->__construct('C:\Program File...', 'zendamf')#3 {main} thrown  in C:\Program Files  (x86)\Zend\ZendServer\share\ZendFramework\library\Zend\Config\Ini.php on  line 181

 
Replies
  • Currently Being Moderated
    Apr 5, 2010 11:15 PM   in reply to jeffcg2

    Thanks. There seems to be an issue with parsing. I have logged a bug http://bugs.adobe.com/jira/browse/FB-26513 for the same.

     

    -Radhakrishna

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 29, 2011 9:31 PM   in reply to jeffcg2

    Sorry for the threadomancy but I can confirm that the cause of this error is the parens in the "C:\Program Files (x86)" part of the path. Well, some part of that path, anyway. I uninstalled Zend CE Server from the location it wanted to install in, which is the non-64 bit program files directory (in Windows 7) and instead reinstalled to "C:\Zend." It's worked like a charm since then.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points