summary.php bugs

summary.php bugs

Postby elric on Tue Jul 29, 2008 7:55 am

Hi all,

I've just installed 1.2.8 lifetype pack on my w2003 server with iis6, php 5.2.6 and mysql 5.
Installation process ran fine but when I try to get summary.php i get

-"PHP has encountered a Stack overflow" when i run php as isapi
- "CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers" when I run php as fast cgi

Admin panel and other pages seem to work fine except "Notice: Undefined index: REQUEST_URI in E:\Inetpub\wwwroot\life\plugins\badbehavior\bad-behavior\core.inc.php on line 116" shown at the root page

I've tuned php.ini in order to have 128 M of memory, writable folder fo php sessions and file upload. I use e-accelerator, GD library and graphicsmagic in order to use typo3, which works fine.

But I cant get summary.php

Any help would be appreciated.
elric
 
Posts: 3
Joined: Tue Jul 29, 2008 3:59 am
LifeType Version: 1.2.8

Re: summary.php bugs

Postby jondaley on Tue Jul 29, 2008 9:51 am

I don't know what bad behavior will do if the URL can't be found. You should try to fix that line, perhaps IIS uses something else? I haven't heard of someone else complaining about that before.
Code: Select all
$request_uri = $_SERVER['REQUEST_URI'];


For the other errors - can you turn on more verbose debugging and see if you can figure it out? Or maybe add print statements to see how far the code gets?
jondaley
Lifetype Expert
 
Posts: 5971
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Re: summary.php bugs

Postby elric on Tue Jul 29, 2008 11:44 am

Thank you for your response
$_SERVER['REQUEST_URI'] is not available in iis6

I think i've fixed it using this function

Code: Select all
// Added by Ivan Tcholakov, 28-JUN-2006.
// Problem to fix: The $_SERVER["REQUEST_URI"] is empty in IIS6.
// Every reference to $_SERVER['REQUEST_URI'] elsewhere in Dokeos should be replaced with calling api_request_uri().
function api_request_uri()
{
   if (!empty($_SERVER['REQUEST_URI']))
   {
      return $_SERVER['REQUEST_URI'];
   }
   else
   {
      $uri = $_SERVER['SCRIPT_NAME'];
      if (!empty($_SERVER['QUERY_STRING']))
      {
         $uri .= '?'.$_SERVER['QUERY_STRING'];
      }
      $_SERVER['REQUEST_URI'] = $uri;
      return $uri;
   }
}


Concerning summary.php here is some debugging informations (I ran it in fast cgi mode)


Code: Select all
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\summary.php line 28 - Non-static method Config::getConfig() should not be called statically
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\config\configdbstorage.class.php line 52 - Non-static method CacheManager::getCache() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\config\configfilestorage.class.php line 57 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\summary.php line 36 - Non-static method SessionManager::init() should not be called statically
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\http\session\sessionmanager.class.php line 36 - Non-static method SessionManager::setSessionSavePath() should not be called statically
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\http\session\sessionmanager.class.php line 124 - Non-static method Config::getConfig() should not be called statically
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\http\session\sessionmanager.class.php line 39 - Non-static method SessionManager::setSessionCookiePath() should not be called statically
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\http\session\sessionmanager.class.php line 77 - Non-static method Config::getConfig() should not be called statically
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\http\session\sessionmanager.class.php line 41 - Non-static method SessionManager::setSessionCookieDomain() should not be called statically
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\http\session\sessionmanager.class.php line 99 - Non-static method HttpVars::getBaseUrl() should not be called statically
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\http\httpvars.class.php line 269 - Non-static method HttpVars::getServer() should not be called statically
Notice: E:\Inetpub\wwwroot\life\class\net\http\httpvars.class.php line 275 - Undefined index:  HTTP_HOST
Debug Warning: E:\Inetpub\wwwroot\life\class\net\url.class.php line 57 - parse_url(http://E:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\dummy.phpE:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\dummy.php) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\http\session\sessionmanager.class.php line 45 - Non-static method Config::getConfig() should not be called statically
Debug Warning: E:\Inetpub\wwwroot\life\class\net\http\session\sessionmanager.class.php line 51 - session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at E:\Inetpub\wwwroot\life\class\net\url.class.php:57)
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\http\session\sessionmanager.class.php line 56 - Non-static method HttpVars::getSession() should not be called statically
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\http\session\sessionmanager.class.php line 59 - Non-static method HttpVars::setSession() should not be called statically
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\controller\controller.class.php line 179 - Non-static method ResourceClassLoader::getLoader() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\summary.php line 40 - Non-static method HttpVars::getRequest() should not be called statically
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\request.class.php line 26 - Non-static method TextFilter::recursiveStripSlashes() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\controller\resourceclassloader.class.php line 118 - Non-static method File::exists() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\controller\resourceclassloader.class.php line 118 - Non-static method File::exists() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\controller\resourceclassloader.class.php line 118 - Non-static method File::exists() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\controller\resourceclassloader.class.php line 118 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\plugin\pluginmanager.class.php line 247 - Assigning the return value of new by reference is deprecated
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\request.class.php line 26 - Non-static method TextFilter::recursiveStripSlashes() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\summary\action\summaryaction.class.php line 22 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\summary\action\summaryaction.class.php line 43 - Non-static method HttpVars::getServer() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\summary\action\summaryaction.class.php line 55 - Non-static method SessionManager::getSessionValue() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\http\session\sessionmanager.class.php line 176 - Non-static method HttpVars::getSession() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\summary\action\summaryaction.class.php line 67 - Non-static method Locales::isValidLocale() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\locale\locales.class.php line 242 - Non-static method Locales::getAvailableLocales() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\locale\locales.class.php line 209 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\summary\action\summaryaction.class.php line 72 - Non-static method SessionManager::setSessionValue() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\http\session\sessionmanager.class.php line 202 - Non-static method HttpVars::getSession() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\http\session\sessionmanager.class.php line 207 - Non-static method HttpVars::setSession() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\summary\action\summaryaction.class.php line 75 - Non-static method Locales::getLocale() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\locale\locales.class.php line 152 - Non-static method CacheManager::getCache() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\locale\locales.class.php line 159 - Non-static method Locales::_loadPluginLocales() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\locale\locales.class.php line 92 - Non-static method PluginManager::getPluginManager() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\plugin\pluginmanager.class.php line 65 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\summary\action\summaryaction.class.php line 26 - Non-static method SessionManager::getUserInfoFromSession() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\http\session\sessionmanager.class.php line 219 - Non-static method HttpVars::getSession() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\view\view.class.php line 90 - Non-static method HttpVars::getRequest() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\request.class.php line 26 - Non-static method TextFilter::recursiveStripSlashes() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\templateservice.class.php line 108 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\templateservice.class.php line 202 - Non-static method TemplateSetStorage::getBaseTemplateFolder() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\templatesets\templatesetstorage.class.php line 66 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 80 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\cachedtemplate.class.php line 31 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\templateservice.class.php line 302 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\templateservice.class.php line 121 - Non-static method File::exists() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\summary\view\summarycachedview.class.php line 37 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 175 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 185 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 185 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 107 - Non-static method CacheManager::getCache() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 439 - Non-static method Db::getPrefix() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\config\configfilestorage.class.php line 57 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 107 - Non-static method CacheManager::getCache() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date\TimeZone.class.php line 413 - Non-static method Date_TimeZone::setDefault() should not be called statically
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date\TimeZone.class.php line 157 - Non-static method Date_TimeZone::isValidID() should not be called statically
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 135 - Non-static method Date_TimeZone::getDefault() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 137 - date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/Paris' for '2.0/DST' instead
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 135 - Non-static method Date_TimeZone::getDefault() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 137 - date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/Paris' for '2.0/DST' instead
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date\Span.class.php line 131 - is_a(): Deprecated. Please use the instanceof operator
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date\Span.class.php line 133 - is_a(): Deprecated. Please use the instanceof operator
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 694 - is_a(): Deprecated. Please use the instanceof operator
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 725 - Non-static method Date_Calc::dateToDays() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 729 - Non-static method Date_Calc::daysToDate() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date\Calc.class.php line 1268 - Non-static method Date_Calc::dateFormat() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date\Calc.class.php line 1345 - Non-static method Date_Calc::isValidDate() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\summary\dao\summarystats.class.php line 36 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 107 - Non-static method CacheManager::getCache() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 439 - Non-static method Db::getPrefix() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\baserequestgenerator.class.php line 71 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\summary\view\summarycachedview.class.php line 136 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\summary\view\summarycachedview.class.php line 142 - Non-static method HttpCache::httpConditional() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\summary\view\summarycachedview.class.php line 110 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Warning: E:\Inetpub\wwwroot\life\class\summary\view\summarycachedview.class.php line 145 - Cannot modify header information - headers already sent by (output started at E:\Inetpub\wwwroot\life\class\net\url.class.php:57)
Debug Warning: E:\Inetpub\wwwroot\life\class\view\view.class.php line 321 - Cannot modify header information - headers already sent by (output started at E:\Inetpub\wwwroot\life\class\net\url.class.php:57)
Debug Warning: E:\Inetpub\wwwroot\life\class\view\view.class.php line 175 - Cannot modify header information - headers already sent by (output started at E:\Inetpub\wwwroot\life\class\net\url.class.php:57)
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\summary\view\summarycachedview.class.php line 91 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\xml\rssparser\rssparser.class.php line 46 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\baserequestgenerator.class.php line 71 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 175 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 185 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 185 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\smarty\Smarty_Compiler.class.php line 400 - strftime() [<a href='function.strftime'>function.strftime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/Paris' for '2.0/DST' instead
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\smarty\internals\core.write_compiled_include.php line 28 - strftime() [<a href='function.strftime'>function.strftime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/Paris' for '2.0/DST' instead
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 118 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 133 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 133 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\smarty\Smarty_Compiler.class.php line 400 - strftime() [<a href='function.strftime'>function.strftime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/Paris' for '2.0/DST' instead
Notice: E:\Inetpub\wwwroot\life\tmp\summary\%%0A^0AA^0AA9EB1C%%header.template.php line 31 - Undefined index:  columns
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\locale\locale.class.php line 215 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\locale\locale.class.php line 122 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\locale\locale.class.php line 133 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 118 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 133 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 133 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\smarty\Smarty_Compiler.class.php line 400 - strftime() [<a href='function.strftime'>function.strftime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/Paris' for '2.0/DST' instead
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 439 - Non-static method Db::getPrefix() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 484 - Non-static method Db::getDb() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\config\configfilestorage.class.php line 57 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\database\db.class.php line 64 - Non-static method PDb::getDriver() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\database\pdb\pdb.class.php line 46 - Non-static method PDb::getValidDrivers() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\database\pdb\drivers\pdbdriverbase.class.php line 235 - Assigning the return value of new by reference is deprecated
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 107 - Non-static method CacheManager::getCache() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 439 - Non-static method Db::getPrefix() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 118 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 133 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 133 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\smarty\Smarty_Compiler.class.php line 400 - strftime() [<a href='function.strftime'>function.strftime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/Paris' for '2.0/DST' instead
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 107 - Non-static method CacheManager::getCache() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 439 - Non-static method Db::getPrefix() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\bloginfo.class.php line 456 - Non-static method RequestGenerator::getRequestGenerator() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\requestgenerator.class.php line 69 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\baserequestgenerator.class.php line 71 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\config\configfilestorage.class.php line 57 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 107 - Non-static method CacheManager::getCache() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 439 - Non-static method Db::getPrefix() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 107 - Non-static method CacheManager::getCache() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 439 - Non-static method Db::getPrefix() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 107 - Non-static method CacheManager::getCache() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 439 - Non-static method Db::getPrefix() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 240 - mktime() [<a href='function.mktime'>function.mktime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/Paris' for '2.0/DST' instead
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\locale\locale.class.php line 505 - date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/Paris' for '2.0/DST' instead
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 107 - Non-static method CacheManager::getCache() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 439 - Non-static method Db::getPrefix() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\bloginfo.class.php line 456 - Non-static method RequestGenerator::getRequestGenerator() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\requestgenerator.class.php line 69 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\baserequestgenerator.class.php line 71 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 107 - Non-static method CacheManager::getCache() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 439 - Non-static method Db::getPrefix() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\textfilter.class.php line 42 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 135 - Non-static method Date_TimeZone::getDefault() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 137 - date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/Paris' for '2.0/DST' instead
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\bloginfo.class.php line 672 - Non-static method TextFilter::domainize() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\textfilter.class.php line 488 - Non-static method TextFilter::urlize() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\textfilter.class.php line 424 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\bloginfo.class.php line 456 - Non-static method RequestGenerator::getRequestGenerator() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\requestgenerator.class.php line 69 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\baserequestgenerator.class.php line 71 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 107 - Non-static method CacheManager::getCache() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 439 - Non-static method Db::getPrefix() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 107 - Non-static method CacheManager::getCache() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 439 - Non-static method Db::getPrefix() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\articles.class.php line 1219 - Non-static method Timestamp::getDateWithOffset() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\articles.class.php line 1220 - Non-static method Timestamp::getDateWithOffset() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 107 - Non-static method CacheManager::getCache() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 439 - Non-static method Db::getPrefix() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\article.class.php line 976 - Non-static method TextFilter::slugify() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\textfilter.class.php line 532 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\textfilter.class.php line 550 - Non-static method TextFilter::htmlDecode() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\config\configfilestorage.class.php line 57 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 135 - Non-static method Date_TimeZone::getDefault() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 137 - date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/Paris' for '2.0/DST' instead
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 135 - Non-static method Date_TimeZone::getDefault() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 137 - date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/Paris' for '2.0/DST' instead
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 135 - Non-static method Date_TimeZone::getDefault() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 138 - is_a(): Deprecated. Please use the instanceof operator
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 135 - Non-static method Date_TimeZone::getDefault() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\data\Date.class.php line 138 - is_a(): Deprecated. Please use the instanceof operator
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\bloginfo.class.php line 456 - Non-static method RequestGenerator::getRequestGenerator() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\requestgenerator.class.php line 69 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\net\baserequestgenerator.class.php line 71 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 107 - Non-static method CacheManager::getCache() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\dao\model.class.php line 439 - Non-static method Db::getPrefix() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 118 - Non-static method Config::getConfig() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 133 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\template.class.php line 133 - Non-static method File::isReadable() should not be called statically, assuming $this from incompatible context
Debug Strict (PHP 5): E:\Inetpub\wwwroot\life\class\template\smarty\Smarty_Compiler.class.php line 400 - strftime() [<a href='function.strftime'>function.strftime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/Paris' for '2.0/DST' instead



And
Code: Select all
Warning: parse_url(http://E:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\dummy.phpE:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\dummy.php) [function.parse-url]: Unable to parse URL in E:\Inetpub\wwwroot\life\class\net\url.class.php on line 57

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at E:\Inetpub\wwwroot\life\class\net\url.class.php:57) in E:\Inetpub\wwwroot\life\class\net\http\session\sessionmanager.class.php on line 51

Warning: Cannot modify header information - headers already sent by (output started at E:\Inetpub\wwwroot\life\class\net\url.class.php:57) in E:\Inetpub\wwwroot\life\class\summary\view\summarycachedview.class.php on line 145

Warning: Cannot modify header information - headers already sent by (output started at E:\Inetpub\wwwroot\life\class\net\url.class.php:57) in E:\Inetpub\wwwroot\life\class\view\view.class.php on line 321

Warning: Cannot modify header information - headers already sent by (output started at E:\Inetpub\wwwroot\life\class\net\url.class.php:57) in E:\Inetpub\wwwroot\life\class\view\view.class.php on line 175
elric
 
Posts: 3
Joined: Tue Jul 29, 2008 3:59 am
LifeType Version: 1.2.8

Re: summary.php bugs

Postby elric on Tue Jul 29, 2008 11:55 am

Summary.php seems to work fine now.

I guess that fixing request_uri had fixed summary.php as well
elric
 
Posts: 3
Joined: Tue Jul 29, 2008 3:59 am
LifeType Version: 1.2.8

Re: summary.php bugs

Postby jondaley on Thu Jul 31, 2008 6:42 am

What's the "dummy.php" error about? Were you doing some strange testing?

I am not sure what all of the notice messages about static methods are about. I thought some of the other developers fixed up all of those php5 error messages.

Is IIS6 new, I don't remember version numbers, but I thought IIS6 had been around a while, so I am not sure why no one else noticed. I'll ask one of the developers who uses IIS.
jondaley
Lifetype Expert
 
Posts: 5971
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch


Return to Configuration and Installation

cron