Enabled "timezone" in PHP.ini but still receiving the follow warning on all
pages:
Warning: date(): 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/Los_Angeles' for '-8.0/no DST'
instead in C:\Inetpub\wwwroot\alloc\alloc.php on line 134
Newest FATAL errors:
1
1) created a client
2) on client "Main" page, click on Projects
3) Click on "New Project". Receiving the following error:
Parse error: syntax error, unexpected '<' in
C:\Inetpub\wwwroot\alloc\shared\lib\template.inc.php(150) : eval()'d code on
line 6
2
1) Click on Task tab
2) Receiving the following error:
Parse error: syntax error, unexpected '=' in
C:\Inetpub\wwwroot\alloc\shared\lib\template.inc.php(150) : eval()'d code on
line 4
3
1) Click on Wiki tab
2) Receiving the following error:
Parse error: syntax error, unexpected T_VAR in
C:\Inetpub\wwwroot\alloc\shared\lib\template.inc.php(150) : eval()'d code on
line 13
Any help would be great.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
?><?phpechopage::header()?><?phpechopage::toolbar()?><linkrel="StyleSheet"href="<?phpecho$url_alloc_stylesheets;?>wiki.css"type="text/css"/><scriptlanguage="javascript"type="text/javascript"src="<?phpecho$url_alloc_javascript;?>jquery.filetree.js"></script><scriptlanguage="javascript"type="text/javascript"src="<?phpecho$url_alloc_javascript;?>jquery.markitupsettings.js"></script><scriptlanguage="javascript"type="text/javascript"src="<?phpecho$url_alloc_javascript;?>jquery.markitup.js"></script><scripttype="text/javascript"language="javascript">
functionrefresh_wiki(target,revision)<?php// Draw the dynamic file tree and specify a function to get called when a node is clickedvarops={script:'<?php echo $url_alloc_fileTree; ?>',folderEvent:'click',expandSpeed:1,collapseSpeed:1,target:target};$('#jftTree').fileTree(ops,function(path,isFile){if(isFile)<?phpmakeAjaxRequest('<?php echo $url_alloc_file; ?>','jftFile',{file:path,rev:revision});}makeAjaxRequest('<?php echo $url_alloc_fileHistory; ?>','fileHistory',{file:path,rev:revision});});}$(document).ready(function()<?php// If the page has loaded, then load the treerefresh_wiki('<?php echo $target; ?>','<?php echo $rev; ?>');// If the user clicked a new page link...if('<?php echo $newFile; ?>')<?phpmakeAjaxRequest('<?php echo $url_alloc_file; ?>','jftFile',{newFile:true,file:'<?php echo $target; ?>'});}// If there was an error saving we need to manually load in the values that were submitted.if('<?php echo $loadErrorPage; ?>')<?phpmakeAjaxRequest('<?php echo $url_alloc_file; ?>','jftFile',{loadErrorPage:'<?php echo $loadErrorPage; ?>',str:'<?php echo $str; ?>',commit_msg:'<?php echo $commit_msg; ?>',file:'<?php echo $file; ?>',msg:'<?php echo $msg; ?>'});}if('<?php echo $loadErrorPageDir; ?>')<?phpmakeAjaxRequest('<?php echo $url_alloc_directory; ?>','jftDir',{loadErrorPageDir:'<?php echo $loadErrorPageDir; ?>',dirName:'<?php echo $dirName; ?>',msg:'<?php echo $msg; ?>'});}// Menu links: New File, New Directory$("#newDirectory").click(function()<?phpmakeAjaxRequest('<?php echo $url_alloc_directory; ?>','jftFile',{newDirectory:true});returnfalse;});$("#newFile").click(function()<?phpmakeAjaxRequest('<?php echo $url_alloc_file; ?>','jftFile',{newFile:true});returnfalse;});});</script><tableclass="box"><tr><thcolspan="2"class="noprint">Wiki</th><thcolspan="1"class="right noprint"><aid="newFile"href="<?php echo $url_alloc_wiki; ?>">NewFile</a><aid="newDirectory"href="<?php echo $url_alloc_wiki; ?>">NewDirectory</a></th></tr><tr><tdid="jftTreeTD"class="noprint"><h6style="margin-top:0px;">WikiTree</h6><divid="jftTree"></div></td><tdid="jftFileTD"><divid="jftFile"></div><divid="jftDir"></div></td><tdid="jftInfoTD"class="noprint"><h6style="margin-top:0px;">History</h6><divid="fileHistory"></div></td></tr></table><?phpechopage::footer()?><?phpParseerror:syntaxerror,unexpectedT_VARinC:\Inetpub\wwwroot\alloc\shared\lib\template.inc.php(150):eval()'dcodeonline13
Here is the phpinfo:
PHPLogoPHPVersion5.3.3SystemWindowsNTTIM-HOME5.1build2600(WindowsXPProfessionalServicePack3)i586BuildDateJul21201020:34:26CompilerMSVC9(VisualC++2008)Architecturex86ConfigureCommandcscript/nologoconfigure.js"--enable-snapshot-build""--enable-debug-pack""--disable-zts""--disable-isapi""--disable-nsapi""--without-mssql""--without-pdo-mssql""--without-pi3web""--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared""--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared""--with-oci8-11g=D:\php-sdk\oracle\instantclient11\sdk,shared""--with-enchant=shared""--enable-object-out-dir=../obj/""--enable-com-dotnet""--with-mcrypt=static"ServerAPICGI/FastCGIVirtualDirectorySupportdisabledConfigurationFile(php.ini)PathC:\WINDOWSLoadedConfigurationFileC:\ProgramFiles\PHP\php.iniScanthisdirforadditional.inifiles(none)Additional.inifilesparsed(none)PHPAPI20090626PHPExtension20090626ZendExtension220090626ZendExtensionBuildAPI220090626,NTS,VC9PHPExtensionBuildAPI20090626,NTS,VC9DebugBuildnoThreadSafetydisabledZendMemoryManagerenabledZendMultibyteSupportdisabledIPv6SupportenabledRegisteredPHPStreamsphp,file,glob,data,http,ftp,zip,compress.zlib,compress.bzip2,https,ftps,pharRegisteredStreamSocketTransportstcp,udp,ssl,sslv3,sslv2,tlsRegisteredStreamFiltersconvert.iconv.*,mcrypt.*,mdecrypt.*,string.rot13,string.toupper,string.tolower,string.strip_tags,convert.*,consumed,dechunk,zlib.*,bzip2.*ZendlogoThisprogrammakesuseoftheZendScriptingLanguageEngine:ZendEnginev2.3.0,Copyright(c)1998-2010ZendTechnologiesPHPCreditsConfigurationbcmathBCMathsupportenabledDirectiveLocalValueMasterValuebcmath.scale00bz2BZip2SupportEnabledStreamWrappersupportcompress.bz2://StreamFiltersupportbzip2.decompress,bzip2.compressBZip2Version1.0.5,10-Dec-2007calendarCalendarsupportenabledcgi-fcgiDirectiveLocalValueMasterValuecgi.check_shebang_line11cgi.discard_path00cgi.fix_pathinfo11cgi.force_redirect00cgi.nph00cgi.redirect_status_envnovaluenovaluecgi.rfc2616_headers00fastcgi.impersonate11fastcgi.logging00com_dotnetCOMsupportenabledDCOMsupportdisabled.NetsupportenabledDirectiveLocalValueMasterValuecom.allow_dcom00com.autoregister_casesensitive11com.autoregister_typelib00com.autoregister_verbose00com.code_pagenovaluenovaluecom.typelib_filenovaluenovalueCorePHPVersion5.3.3DirectiveLocalValueMasterValueallow_call_time_pass_referenceOffOffallow_url_fopenOnOnallow_url_includeOffOffalways_populate_raw_post_dataOffOffarg_separator.input&&arg_separator.output&&asp_tagsOffOffauto_append_filenovaluenovalueauto_globals_jitOnOnauto_prepend_filenovaluenovaluebrowscapnovaluenovaluedefault_charsetnovaluenovaluedefault_mimetypetext/htmltext/htmldefine_syslog_variablesOffOffdisable_classesnovaluenovaluedisable_functionsnovaluenovaluedisplay_errorsOnOndisplay_startup_errorsOffOffdoc_rootnovaluenovaluedocref_extnovaluenovaluedocref_rootnovaluenovalueenable_dlOffOfferror_append_stringnovaluenovalueerror_logC:\WINDOWS\temp\php-errors.logC:\WINDOWS\temp\php-errors.logerror_prepend_stringnovaluenovalueerror_reporting2252722527exit_on_timeoutOffOffexpose_phpOnOnextension_dirC:\ProgramFiles\PHP\extC:\ProgramFiles\PHP\extfile_uploadsOnOnhighlight.bg#FFFFFF #FFFFFFhighlight.comment#FF8000 #FF8000highlight.default#0000BB #0000BBhighlight.html#000000 #000000highlight.keyword#007700 #007700highlight.string#DD0000 #DD0000html_errorsOffOffignore_repeated_errorsOffOffignore_repeated_sourceOffOffignore_user_abortOffOffimplicit_flushOffOffinclude_path.;C:\php5\pear.;C:\php5\pearlog_errorsOnOnlog_errors_max_len10241024magic_quotes_gpcOffOffmagic_quotes_runtimeOffOffmagic_quotes_sybaseOffOffmail.add_x_headerOnOnmail.force_extra_parametersnovaluenovaluemail.lognovaluenovaluemax_execution_time300300max_file_uploads2020max_input_nesting_level6464max_input_time6060memory_limit128M128Mopen_basedirnovaluenovalueoutput_buffering40964096output_handlernovaluenovaluepost_max_size8M8Mprecision1414realpath_cache_size16K16Krealpath_cache_ttl120120register_argc_argvOffOffregister_globalsOffOffregister_long_arraysOffOffreport_memleaksOnOnreport_zend_debugOnOnrequest_orderGPGPsafe_modeOffOffsafe_mode_exec_dirnovaluenovaluesafe_mode_gidOffOffsafe_mode_include_dirnovaluenovaluesendmail_fromnovaluenovaluesendmail_pathnovaluenovalueserialize_precision100100short_open_tagOffOffSMTPlocalhostlocalhostsmtp_port2525sql.safe_modeOffOfftrack_errorsOffOffunserialize_callback_funcnovaluenovalueupload_max_filesize2M2Mupload_tmp_dirC:\WINDOWS\TempC:\WINDOWS\Tempuser_dirnovaluenovalueuser_ini.cache_ttl300300user_ini.filename.user.ini.user.inivariables_orderGPCSGPCSxmlrpc_error_number00xmlrpc_errorsOffOffy2k_complianceOnOnzend.enable_gcOnOnctypectypefunctionsenabledcurlcURLsupportenabledcURLInformation7.21.0Age3FeaturesAsynchDNSYesDebugNoGSS-NegotiateNoIDNNoIPv6NoLargefileYesNTLMYesSPNEGONoSSLYesSSPIYeskrb4NolibzYesCharConvNoProtocolsdict,file,ftp,ftps,http,https,imap,imaps,ldap,pop3,pop3s,rtsp,scp,sftp,smtp,smtps,telnet,tftpHosti386-pc-win32SSLVersionOpenSSL/0.9.8lZLibVersion1.2.3libSSHVersionlibssh2/1.2.4datedate/timesupportenabled"Olson"TimezoneDatabaseVersion2010.9TimezoneDatabaseinternalDefaulttimezoneAmerica/Los_AngelesDirectiveLocalValueMasterValuedate.default_latitude31.766731.7667date.default_longitude35.233335.2333date.sunrise_zenith90.58333390.583333date.sunset_zenith90.58333390.583333date.timezoneAmerica/Los_AngelesAmerica/Los_AngelesdomDOM/XMLenabledDOM/XMLAPIVersion20031129libxmlVersion2.7.7HTMLSupportenabledXPathSupportenabledXPointerSupportenabledSchemaSupportenabledRelaxNGSupportenablederegRegexLibraryBundledlibraryenabledexifEXIFSupportenabledEXIFVersion1.4$Id:exif.c2930362010-01-0309:23:27Zsebastian$SupportedEXIFVersion0220SupportedfiletypesJPEG,TIFFDirectiveLocalValueMasterValueexif.decode_jis_intelJISJISexif.decode_jis_motorolaJISJISexif.decode_unicode_intelUCS-2LEUCS-2LEexif.decode_unicode_motorolaUCS-2BEUCS-2BEexif.encode_jisnovaluenovalueexif.encode_unicodeISO-8859-15ISO-8859-15filterInputValidationandFilteringenabledRevision$Revision:298196$DirectiveLocalValueMasterValuefilter.defaultunsafe_rawunsafe_rawfilter.default_flagsnovaluenovalueftpFTPsupportenabledgdGDSupportenabledGDVersionbundled(2.0.34compatible)FreeTypeSupportenabledFreeTypeLinkagewithfreetypeFreeTypeVersion2.3.9GIFReadSupportenabledGIFCreateSupportenabledJPEGSupportenabledlibJPEGVersion6bPNGSupportenabledlibPNGVersion1.2.37WBMPSupportenabledXBMSupportenabledDirectiveLocalValueMasterValuegd.jpeg_ignore_warning00gettextGetTextSupportenabledgmpgmpsupportenabledMPIRversion1.3.1hashhashsupportenabledHashingEnginesmd2md4md5sha1sha224sha256sha384sha512ripemd128ripemd160ripemd256ripemd320whirlpooltiger128,3tiger160,3tiger192,3tiger128,4tiger160,4tiger192,4snefrusnefru256gostadler32crc32crc32bsalsa10salsa20haval128,3haval160,3haval192,3haval224,3haval256,3haval128,4haval160,4haval192,4haval224,4haval256,4haval128,5haval160,5haval192,5haval224,5haval256,5iconviconvsupportenablediconvimplementation"libiconv"iconvlibraryversion1.11DirectiveLocalValueMasterValueiconv.input_encodingISO-8859-1ISO-8859-1iconv.internal_encodingISO-8859-1ISO-8859-1iconv.output_encodingISO-8859-1ISO-8859-1imapIMAPc-ClientVersion2007eSSLSupportenabledjsonjsonsupportenabledjsonversion1.2.1libxmllibXMLsupportactivelibXMLCompiledVersion2.7.7libXMLLoadedVersion20707libXMLstreamsenabledmbstringMultibyteSupportenabledMultibytestringenginelibmbflHTTPinputencodingtranslationdisabledmbstringextensionmakesuseof"streamable kanji code filter and converter",whichisdistributedundertheGNULesserGeneralPublicLicenseversion2.1.Multibyte(japanese)regexsupportenabledMultibyteregex(oniguruma)version4.7.1DirectiveLocalValueMasterValuembstring.detect_ordernovaluenovaluembstring.encoding_translationOffOffmbstring.func_overload00mbstring.http_inputpasspassmbstring.http_outputpasspassmbstring.http_output_conv_mimetypes^(text/|application/xhtml\+xml)^(text/|application/xhtml\+xml)mbstring.internal_encodingnovaluenovaluembstring.languageneutralneutralmbstring.strict_detectionOffOffmbstring.substitute_characternovaluenovaluemcryptmcryptsupportenabledmcrypt_filtersupportenabledVersion2.5.8ApiNo20021217Supportedcipherscast-128gostrijndael-128twofishcast-256loki97rijndael-192saferpluswakeblowfish-compatdesrijndael-256serpentxteablowfishenigmarc2tripledesarcfourSupportedmodescbccfbctrecbncfbnofbofbstreamDirectiveLocalValueMasterValuemcrypt.algorithms_dirnovaluenovaluemcrypt.modes_dirnovaluenovaluemhashMHASHsupportEnabledMHASHAPIVersionEmulatedSupportmysqlMySQLSupportenabledActivePersistentLinks0ActiveLinks0ClientAPIversionmysqlnd5.0.7-dev-091210-$Revision:300533$DirectiveLocalValueMasterValuemysql.allow_local_infileOnOnmysql.allow_persistentOnOnmysql.connect_timeout6060mysql.default_hostnovaluenovaluemysql.default_passwordnovaluenovaluemysql.default_portnovaluenovaluemysql.default_socketnovaluenovaluemysql.default_usernovaluenovaluemysql.max_linksUnlimitedUnlimitedmysql.max_persistentUnlimitedUnlimitedmysql.trace_modeOffOffmysqliMysqlISupportenabledClientAPIlibraryversionmysqlnd5.0.7-dev-091210-$Revision:300533$ActivePersistentLinks0InactivePersistentLinks0ActiveLinks0DirectiveLocalValueMasterValuemysqli.allow_local_infileOnOnmysqli.allow_persistentOnOnmysqli.default_hostnovaluenovaluemysqli.default_port33063306mysqli.default_pwnovaluenovaluemysqli.default_socketnovaluenovaluemysqli.default_usernovaluenovaluemysqli.max_linksUnlimitedUnlimitedmysqli.max_persistentUnlimitedUnlimitedmysqli.reconnectOffOffmysqlndmysqlndenabledVersionmysqlnd5.0.7-dev-091210-$Revision:300533$CompressionsupportedSSLnotsupportedCommandbuffersize4096Readbuffersize32768Readtimeout31536000CollectingstatisticsYesCollectingmemorystatisticsNoClientstatisticsbytes_sent39900bytes_received310029packets_sent848packets_received3706protocol_overhead_in14824protocol_overhead_out3392bytes_received_ok_packet308bytes_received_eof_packet1683bytes_received_rset_header_packet3498bytes_received_rset_field_meta_packet128855bytes_received_rset_row_packet173896bytes_received_prepare_response_packet0bytes_received_change_user_packet0packets_sent_command410packets_received_ok28packets_received_eof187packets_received_rset_header368packets_received_rset_field_meta1875packets_received_rset_row1234packets_received_prepare_response0packets_received_change_user0result_set_queries173non_result_set_queries195no_index_used68bad_index_used0slow_queries0buffered_sets173unbuffered_sets0ps_buffered_sets0ps_unbuffered_sets0flushed_normal_sets0flushed_ps_sets0ps_prepared_never_executed0ps_prepared_once_executed0rows_fetched_from_server_normal1061rows_fetched_from_server_ps0rows_buffered_from_client_normal1061rows_buffered_from_client_ps0rows_fetched_from_client_normal_buffered1061rows_fetched_from_client_normal_unbuffered0rows_fetched_from_client_ps_buffered0rows_fetched_from_client_ps_unbuffered0rows_fetched_from_client_ps_cursor0rows_affected_normal12rows_affected_ps0rows_skipped_normal1061rows_skipped_ps0copy_on_write_saved606copy_on_write_performed4601command_buffer_too_small0connect_success14connect_failure0connection_reused0reconnect0pconnect_success0active_connections0active_persistent_connections0explicit_close14implicit_close0disconnect_close0in_middle_of_command_close0explicit_free_result173implicit_free_result0explicit_stmt_close0implicit_stmt_close0mem_emalloc_count0mem_emalloc_amount0mem_ecalloc_count0mem_ecalloc_amount0mem_erealloc_count0mem_erealloc_amount0mem_efree_count0mem_efree_amount0mem_malloc_count0mem_malloc_amount0mem_calloc_count0mem_calloc_amount0mem_realloc_count0mem_realloc_amount0mem_free_count0mem_free_amount0mem_estrndup_count0mem_strndup_count0mem_estndup_count0mem_strdup_count0proto_text_fetched_null0proto_text_fetched_bit0proto_text_fetched_tinyint67proto_text_fetched_short0proto_text_fetched_int240proto_text_fetched_int1197proto_text_fetched_bigint10proto_text_fetched_decimal0proto_text_fetched_float0proto_text_fetched_double0proto_text_fetched_date8proto_text_fetched_year0proto_text_fetched_time0proto_text_fetched_datetime119proto_text_fetched_timestamp0proto_text_fetched_string2291proto_text_fetched_blob891proto_text_fetched_enum0proto_text_fetched_set0proto_text_fetched_geometry0proto_text_fetched_other0proto_binary_fetched_null0proto_binary_fetched_bit0proto_binary_fetched_tinyint0proto_binary_fetched_short0proto_binary_fetched_int240proto_binary_fetched_int0proto_binary_fetched_bigint0proto_binary_fetched_decimal0proto_binary_fetched_float0proto_binary_fetched_double0proto_binary_fetched_date0proto_binary_fetched_year0proto_binary_fetched_time0proto_binary_fetched_datetime0proto_binary_fetched_timestamp0proto_binary_fetched_string0proto_binary_fetched_blob0proto_binary_fetched_enum0proto_binary_fetched_set0proto_binary_fetched_geometry0proto_binary_fetched_other0init_command_executed_count0init_command_failed_count0com_quit14com_init_db14com_query368com_field_list0com_create_db0com_drop_db0com_refresh0com_shutdown0com_statistics0com_process_info0com_connect0com_process_kill0com_debug0com_ping0com_time0com_delayed_insert0com_change_user0com_binlog_dump0com_table_dump0com_connect_out0com_register_slave0com_stmt_prepare0com_stmt_execute0com_stmt_send_long_data0com_stmt_close0com_stmt_reset0com_stmt_set_option14com_stmt_fetch0com_deamon0odbcODBCSupportenabledActivePersistentLinks0ActiveLinks0ODBClibraryWin32DirectiveLocalValueMasterValueodbc.allow_persistentOnOnodbc.check_persistentOnOnodbc.default_cursortypeStaticcursorStaticcursorodbc.default_dbnovaluenovalueodbc.default_pwnovaluenovalueodbc.default_usernovaluenovalueodbc.defaultbinmodereturnasisreturnasisodbc.defaultlrlreturnupto4096bytesreturnupto4096bytesodbc.max_linksUnlimitedUnlimitedodbc.max_persistentUnlimitedUnlimitedopensslOpenSSLsupportenabledOpenSSLLibraryVersionOpenSSL0.9.8l5Nov2009OpenSSLHeaderVersionOpenSSL0.9.8l5Nov2009pcrePCRE(PerlCompatibleRegularExpressions)SupportenabledPCRELibraryVersion8.022010-03-19DirectiveLocalValueMasterValuepcre.backtrack_limit100000100000pcre.recursion_limit100000100000PDOPDOsupportenabledPDOdriversmysql,odbc,sqlitepdo_mysqlPDODriverforMySQLenabledClientAPIversionmysqlnd5.0.7-dev-091210-$Revision:300533$PDO_ODBCPDODriverforODBC(Win32)enabledODBCConnectionPoolingEnabled,strictmatchingpdo_sqlitePDODriverforSQLite3.xenabledSQLiteLibrary3.6.23.1pgsqlPostgreSQLSupportenabledPostgreSQL(libpq)Version8.3.6MultibytecharactersupportenabledSSLsupportdisabledActivePersistentLinks0ActiveLinks0DirectiveLocalValueMasterValuepgsql.allow_persistentOnOnpgsql.auto_reset_persistentOffOffpgsql.ignore_noticeOffOffpgsql.log_noticeOffOffpgsql.max_linksUnlimitedUnlimitedpgsql.max_persistentUnlimitedUnlimitedPharPhar:PHPArchivesupportenabledPharEXTversion2.0.1PharAPIversion1.1.1SVNrevision$Revision:298908$Phar-basedphararchivesenabledTar-basedphararchivesenabledZIP-basedphararchivesenabledgzipcompressionenabledbzip2compressionenabledOpenSSLsupportenabledPharbasedonpear/PHP_Archive,originalconceptbyDaveyShafik.PharfullyrealizedbyGregoryBeaverandMarcusBoerger.PortionsoftarimplementationCopyright(c)2003-2009TimKientzle.DirectiveLocalValueMasterValuephar.cache_listnovaluenovaluephar.readonlyOnOnphar.require_hashOnOnReflectionReflectionenabledVersion$Revision:300393$sessionSessionSupportenabledRegisteredsavehandlersfilesuserRegisteredserializerhandlersphpphp_binarywddxDirectiveLocalValueMasterValuesession.auto_startOffOffsession.bug_compat_42OffOffsession.bug_compat_warnOffOffsession.cache_expire180180session.cache_limiternocachenocachesession.cookie_domainnovaluenovaluesession.cookie_httponlyOffOffsession.cookie_lifetime00session.cookie_path//session.cookie_secureOffOffsession.entropy_filenovaluenovaluesession.entropy_length00session.gc_divisor10001000session.gc_maxlifetime14401440session.gc_probability11session.hash_bits_per_character55session.hash_function00session.namePHPSESSIDPHPSESSIDsession.referer_checknovaluenovaluesession.save_handlerfilesfilessession.save_pathC:\WINDOWS\TempC:\WINDOWS\Tempsession.serialize_handlerphpphpsession.use_cookiesOnOnsession.use_only_cookiesOnOnsession.use_trans_sid00SimpleXMLSimplexmlsupportenabledRevision$Revision:299424$SchemasupportenabledsoapSoapClientenabledSoapServerenabledDirectiveLocalValueMasterValuesoap.wsdl_cache11soap.wsdl_cache_dir/tmp/tmpsoap.wsdl_cache_enabled11soap.wsdl_cache_limit55soap.wsdl_cache_ttl8640086400socketsSocketsSupportenabledSPLSPLsupportenabledInterfacesCountable,OuterIterator,RecursiveIterator,SeekableIterator,SplObserver,SplSubjectClassesAppendIterator,ArrayIterator,ArrayObject,BadFunctionCallException,BadMethodCallException,CachingIterator,DirectoryIterator,DomainException,EmptyIterator,FilesystemIterator,FilterIterator,GlobIterator,InfiniteIterator,InvalidArgumentException,IteratorIterator,LengthException,LimitIterator,LogicException,MultipleIterator,NoRewindIterator,OutOfBoundsException,OutOfRangeException,OverflowException,ParentIterator,RangeException,RecursiveArrayIterator,RecursiveCachingIterator,RecursiveDirectoryIterator,RecursiveFilterIterator,RecursiveIteratorIterator,RecursiveRegexIterator,RecursiveTreeIterator,RegexIterator,RuntimeException,SplDoublyLinkedList,SplFileInfo,SplFileObject,SplFixedArray,SplHeap,SplMinHeap,SplMaxHeap,SplObjectStorage,SplPriorityQueue,SplQueue,SplStack,SplTempFileObject,UnderflowException,UnexpectedValueExceptionsqlite3SQLite3supportenabledSQLite3moduleversion0.7-devSQLiteLibrary3.6.23.1DirectiveLocalValueMasterValuesqlite3.extension_dirnovaluenovaluestandardDynamicLibrarySupportenabledInternalSendmailSupportforWindowsenabledDirectiveLocalValueMasterValueassert.active11assert.bail00assert.callbacknovaluenovalueassert.quiet_eval00assert.warning11auto_detect_line_endings00default_socket_timeout6060safe_mode_allowed_env_varsPHP_PHP_safe_mode_protected_env_varsLD_LIBRARY_PATHLD_LIBRARY_PATHurl_rewriter.tagsa=href,area=href,frame=src,input=src,form=fakeentrya=href,area=href,frame=src,input=src,form=fakeentryuser_agentnovaluenovaluetidyTidysupportenabledlibTidyRelease25March2009ExtensionVersion2.0($Id:tidy.c2961072010-03-1210:28:59Zjani$)DirectiveLocalValueMasterValuetidy.clean_outputnovaluenovaluetidy.default_confignovaluenovaluetokenizerTokenizerSupportenabledwddxWDDXSupportenabledWDDXSessionSerializerenabledxmlXMLSupportactiveXMLNamespaceSupportactivelibxml2Version2.7.7xmlreaderXMLReaderenabledxmlrpccorelibraryversionxmlrpc-epiv.0.51phpextensionversion0.51authorDanLibbyhomepage[url]http://xmlrpc-epi.sourceforge.net[/url]opensourcedbyEpinions.comxmlwriterXMLWriterenabledzipZipenabledExtensionVersion$Id:php_zip.c3004702010-06-1518:48:33Zpajoye$Zipversion1.9.1Libzipversion0.9.0zlibZLibSupportenabledStreamWrappersupportcompress.zlib://StreamFiltersupportzlib.inflate,zlib.deflateCompiledVersion1.2.3LinkedVersion1.2.3DirectiveLocalValueMasterValuezlib.output_compressionOffOffzlib.output_compression_level-1-1zlib.output_handlernovaluenovalueAdditionalModulesModuleNameEnvironmentVariableValue_FCGI_X_PIPE_\\.\pipe\IISFCGI-5af75266-35ad-494e-859d-16785a0ddccePHP_FCGI_MAX_REQUESTS10000PHPRCC:\ProgramFiles\PHP\
ALLUSERSPROFILEC:\DocumentsandSettings\AllUsersasl.logDestination=file;OnFirstLog=command,environmentCLASSPATH.;C:\ProgramFiles\Java\jre6\lib\ext\QTJava.zipCommonProgramFilesC:\ProgramFiles\CommonFilesCOMPUTERNAMETIM-HOMEComSpecC:\WINDOWS\system32\cmd.exeFP_NO_HOST_CHECKNONUMBER_OF_PROCESSORS2OSWindows_NTPathC:\ProgramFiles\PHP\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\ProgramFiles\ATITechnologies\ATI.ACE\Core-Static;;C:\ProgramFiles\MySQL\MySQLServer5.1\bin;C:\ProgramFiles\QuickTime\QTSystem\
PATHEXT.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSHPROCESSOR_ARCHITECTUREx86PROCESSOR_IDENTIFIERx86Family15Model107Stepping2,AuthenticAMDPROCESSOR_LEVEL15PROCESSOR_REVISION6b02ProgramFilesC:\ProgramFilesQTJAVAC:\ProgramFiles\Java\jre6\lib\ext\QTJava.zipSystemDriveC:SystemRootC:\WINDOWSTEMPC:\WINDOWS\TEMPTMPC:\WINDOWS\TEMPUSERPROFILEC:\DocumentsandSettings\DefaultUserwindirC:\WINDOWSPHPVariablesVariableValue_COOKIE["alloc_test_cookie"]alloc_COOKIE["alloc_cookie"]77041fa5bec9416b18209128f2b13fb4_SERVER["_FCGI_X_PIPE_"]\\.\pipe\IISFCGI-5af75266-35ad-494e-859d-16785a0ddcce_SERVER["PHP_FCGI_MAX_REQUESTS"]10000_SERVER["PHPRC"]C:\ProgramFiles\PHP\
_SERVER["ALLUSERSPROFILE"]C:\DocumentsandSettings\AllUsers_SERVER["asl_log"]Destination=file;OnFirstLog=command,environment_SERVER["CLASSPATH"].;C:\ProgramFiles\Java\jre6\lib\ext\QTJava.zip_SERVER["CommonProgramFiles"]C:\ProgramFiles\CommonFiles_SERVER["COMPUTERNAME"]TIM-HOME_SERVER["ComSpec"]C:\WINDOWS\system32\cmd.exe_SERVER["FP_NO_HOST_CHECK"]NO_SERVER["NUMBER_OF_PROCESSORS"]2_SERVER["OS"]Windows_NT_SERVER["Path"]C:\ProgramFiles\PHP\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\ProgramFiles\ATITechnologies\ATI.ACE\Core-Static;;C:\ProgramFiles\MySQL\MySQLServer5.1\bin;C:\ProgramFiles\QuickTime\QTSystem\
_SERVER["PATHEXT"].COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH_SERVER["PROCESSOR_ARCHITECTURE"]x86_SERVER["PROCESSOR_IDENTIFIER"]x86Family15Model107Stepping2,AuthenticAMD_SERVER["PROCESSOR_LEVEL"]15_SERVER["PROCESSOR_REVISION"]6b02_SERVER["ProgramFiles"]C:\ProgramFiles_SERVER["QTJAVA"]C:\ProgramFiles\Java\jre6\lib\ext\QTJava.zip_SERVER["SystemDrive"]C:_SERVER["SystemRoot"]C:\WINDOWS_SERVER["TEMP"]C:\WINDOWS\TEMP_SERVER["TMP"]C:\WINDOWS\TEMP_SERVER["USERPROFILE"]C:\DocumentsandSettings\DefaultUser_SERVER["windir"]C:\WINDOWS_SERVER["FCGI_ROLE"]RESPONDER_SERVER["APPL_MD_PATH"]/LM/W3SVC/1/ROOT_SERVER["APPL_PHYSICAL_PATH"]c:\inetpub\wwwroot\
_SERVER["AUTH_TYPE"]novalue_SERVER["AUTH_PASSWORD"]novalue_SERVER["AUTH_USER"]novalue_SERVER["CERT_COOKIE"]novalue_SERVER["CERT_FLAGS"]novalue_SERVER["CERT_ISSUER"]novalue_SERVER["CERT_SERIALNUMBER"]novalue_SERVER["CERT_SUBJECT"]novalue_SERVER["CONTENT_LENGTH"]0_SERVER["CONTENT_TYPE"]novalue_SERVER["GATEWAY_INTERFACE"]CGI/1.1_SERVER["HTTPS"]off_SERVER["HTTPS_KEYSIZE"]novalue_SERVER["HTTPS_SECRETKEYSIZE"]novalue_SERVER["HTTPS_SERVER_ISSUER"]novalue_SERVER["HTTPS_SERVER_SUBJECT"]novalue_SERVER["INSTANCE_ID"]1_SERVER["INSTANCE_META_PATH"]/LM/W3SVC/1_SERVER["LOCAL_ADDR"]127.0.0.1_SERVER["LOGON_USER"]novalue_SERVER["PATH_TRANSLATED"]c:\inetpub\wwwroot\alloc\test.php_SERVER["QUERY_STRING"]novalue_SERVER["REMOTE_ADDR"]127.0.0.1_SERVER["REMOTE_HOST"]127.0.0.1_SERVER["REQUEST_METHOD"]GET_SERVER["SCRIPT_NAME"]/alloc/test.php_SERVER["SERVER_NAME"]localhost_SERVER["SERVER_PORT"]80_SERVER["SERVER_PORT_SECURE"]0_SERVER["SERVER_PROTOCOL"]HTTP/1.1_SERVER["SERVER_SOFTWARE"]Microsoft-IIS/5.1_SERVER["REMOTE_USER"]novalue_SERVER["REMOTE_PORT"]3332_SERVER["URL"]/alloc/test.php_SERVER["REQUEST_URI"]/alloc/test.php_SERVER["DOCUMENT_ROOT"]c:\inetpub\wwwroot_SERVER["SCRIPT_FILENAME"]c:\inetpub\wwwroot\alloc\test.php_SERVER["HTTP_ACCEPT"]text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8_SERVER["HTTP_ACCEPT_LANGUAGE"]en-us,en;q=0.5_SERVER["HTTP_CONNECTION"]keep-alive_SERVER["HTTP_HOST"]localhost_SERVER["HTTP_USER_AGENT"]Mozilla/5.0(Windows;U;WindowsNT5.1;en-US;rv:1.9.2.12)Gecko/20101026Firefox/3.6.12(.NETCLR3.5.30729)_SERVER["HTTP_COOKIE"]alloc_test_cookie=alloc;alloc_cookie=77041fa5bec9416b18209128f2b13fb4_SERVER["HTTP_ACCEPT_ENCODING"]gzip,deflate_SERVER["HTTP_ACCEPT_CHARSET"]ISO-8859-1,utf-8;q=0.7,*;q=0.7_SERVER["HTTP_KEEP_ALIVE"]115_SERVER["ORIG_PATH_INFO"]/alloc/test.php_SERVER["PHP_SELF"]/alloc/test.php_SERVER["REQUEST_TIME"]1290991394PHPLicenseThisprogramisfreesoftware;youcanredistributeitand/ormodifyitunderthetermsofthePHPLicenseaspublishedbythePHPGroupandincludedinthedistributioninthefile:LICENSEThisprogramisdistributedinthehopethatitwillbeuseful,butWITHOUTANYWARRANTY;withouteventheimpliedwarrantyofMERCHANTABILITYorFITNESSFORAPARTICULARPURPOSE.IfyoudidnotreceiveacopyofthePHPlicense,orhaveanyquestionsaboutPHPlicensing,pleasecontactlicense@php.net.1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you so much for posting the code and errors. I think I've found the
problem. It appears to be a bug in the PCRE library in PHP 5.3.3. In that rhe
end-of-line anchor is not being respected in PCRE_MULTILINE mode for a regex.
Basically there is a regular expression in the templating layer that tries to
find curly braces that are immediately followed by a new line. On your setup
this is not working.
So in shared/lib/template.inc.php you need to add these lines at line 36 (just
before the return $str statement).
Thank you for this fix. It appears to have removed the errors when accessing
the pages.
Something I'm not sure about is the font color and input field color. When
creating a new customer the labels are dark and the input fields have a nice
boarder for definition. However most all of the other screens you input data
have an appearance to be dim, as if there was a transparent div or something
or the fonts colors are very light gray. Is this expected behavior? Also is
there any additional "setup" documentation?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
New setup:
Windows XP SP3
IIS w/FastCGI installed
PHP 5.3.3
MySQL 5.1.46
During PHP setup I needed to include the extension Multi-Byte.
Ensured that alloc.php line 28 colon was replace with semi colon:
ini_set('include_path',ini_get('include_path').";".dirname(FILE).DIRECTORY
_SEPARATOR."zend");
Enabled "timezone" in PHP.ini but still receiving the follow warning on all
pages:
Warning: date(): 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/Los_Angeles' for '-8.0/no DST'
instead in C:\Inetpub\wwwroot\alloc\alloc.php on line 134
Newest FATAL errors:
1
1) created a client
2) on client "Main" page, click on Projects
3) Click on "New Project". Receiving the following error:
Parse error: syntax error, unexpected '<' in
C:\Inetpub\wwwroot\alloc\shared\lib\template.inc.php(150) : eval()'d code on
line 6
2
1) Click on Task tab
2) Receiving the following error:
Parse error: syntax error, unexpected '=' in
C:\Inetpub\wwwroot\alloc\shared\lib\template.inc.php(150) : eval()'d code on
line 4
3
1) Click on Wiki tab
2) Receiving the following error:
Parse error: syntax error, unexpected T_VAR in
C:\Inetpub\wwwroot\alloc\shared\lib\template.inc.php(150) : eval()'d code on
line 13
Any help would be great.
Hello thaines00,
these are most likely system-specific errors related to your rig. We'll take a
look and see if there's something we can help tweak things.
-- Con
Hi Con,
Any luck on this?
Hello thaines00
the dev team have come back with the following:
Real bug.
We will need to fix this and upload a patch to allocpsa.net, which will also
be available in the next version.
This is a problem due to you running php 5.3, which allocPSA hasn't yet been
updated for.
A temporary fix would be to insert
date_default_timezone_set('Australia/Melbourne');
(substitute correct time zone) around line 34 in alloc.php.
We will issue a patch for this one, too.
Were not sure what's up with these, they'll require further investigation.
Could we ask you to uncomment line 141 in alloc/shared/lib/template.inc.php
(i.e, echo "
Also could you please post your phpinfo();
Sorry for delay, was observing the holidays. Here we go:
Error # 1:
Error # 2:
Error # 3:
Here is the phpinfo:
thaines00,
thanks for the information. We'll see what we can find.
-- Con
Hi thaines00,
Thank you so much for posting the code and errors. I think I've found the
problem. It appears to be a bug in the PCRE library in PHP 5.3.3. In that rhe
end-of-line anchor is not being respected in PCRE_MULTILINE mode for a regex.
Basically there is a regular expression in the templating layer that tries to
find curly braces that are immediately followed by a new line. On your setup
this is not working.
So in shared/lib/template.inc.php you need to add these lines at line 36 (just
before the return $str statement).
// added because windows doesn't always respect $
$str = preg_replace('/{'.PHP_EOL.'/m',"TPL_START_BRACE",$str);
Let us know how you go. And a massive thankyou for posting all that helpful
info!
Kind regards,
Alex Lance
http://allocPSA.com
Alex Lance,
Thank you for this fix. It appears to have removed the errors when accessing
the pages.
Something I'm not sure about is the font color and input field color. When
creating a new customer the labels are dark and the input fields have a nice
boarder for definition. However most all of the other screens you input data
have an appearance to be dim, as if there was a transparent div or something
or the fonts colors are very light gray. Is this expected behavior? Also is
there any additional "setup" documentation?