| Author |  | 
      
        | dandoe Newbie
 
  
  
 Joined: 12 November 2008
 Location: New Zealand
 Online Status: Offline
 Posts: 1
 | 
          I have setup the Webmail Lite on my server. I have extracted files as per the installation on default.htm however I get the following error list
           | Posted: 12 November 2008 at 7:24pm | IP Logged |   |  
           | 
 |  
 Deprecated: Assigning the return value of new by reference is deprecated in C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\index.php on line 164
 
 Deprecated: Assigning the return value of new by reference is deprecated in C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\index.php on line 223
 
 Deprecated: Assigning the return value of new by reference is deprecated in C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\index.php on line 253
 
 Deprecated: Assigning the return value of new by reference is deprecated in C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\index.php on line 286
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\class_sett ings.php on line 219
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\class_sett ings.php on line 362
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\common\cla ss_xmldocument.php on line 197
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\common\cla ss_xmldocument.php on line 217
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\common\cla ss_xmldocument.php on line 330
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\common\cla ss_convertutils.php on line 95
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\common\cla ss_convertutils.php on line 132
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\class_mail processor.php on line 40
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\class_mail processor.php on line 45
 
 Strict Standards: date() [function.date]: 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 'Pacific/Auckland' for '13.0/DST' instead in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\common\cla ss_log.php on line 18
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\class_pop3 storage.php on line 49
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\class_pop3 storage.php on line 141
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\class_pop3 storage.php on line 234
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\class_pop3 storage.php on line 281
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\class_webm ailmessages.php on line 444
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _mailmessage.php on line 95
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _mailmessage.php on line 128
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _mailmessage.php on line 162
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _mailmessage.php on line 195
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _mailmessage.php on line 370
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _mailmessage.php on line 707
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _mailmessage.php on line 747
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _mailmessage.php on line 767
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _mimepart.php on line 119
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _mimepart.php on line 120
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _mimepart.php on line 314
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _mimepart.php on line 333
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _mimepart.php on line 363
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _mimepart.php on line 476
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _mimepart.php on line 484
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _mimepart.php on line 523
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _mimepart.php on line 547
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\common\cla ss_collectionbase.php on line 25
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _header.php on line 69
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _header.php on line 78
 
 Deprecated: Assigning the return value of new by reference is deprecated in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _headerparametercollection.php on line 134
 
 Fatal error: Declaration of HeaderParameterCollection::Get() must be compatible with that of CollectionBase::Get() in  C:\AppServ\www\webmail\webmail-lite-php-4.2.4\web\mime\class _headerparametercollection.php on line 158
 
 I really want to get the webmail running. It is on a Windows 2003 Server.
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6167
 | 
          All of the error messages you provided, except for the last one, are caused by Strict Standards error reporting mode of PHP. It's absolutely safe to turn this mode off as it's used to just provide automated suggestions on how the code may be improved, it doesn't state any actual errors.
           | Posted: 13 November 2008 at 2:50am | IP Logged |   |  
           | 
 |  
 Please edit PHP configuration file php.ini, this may be done either manually (you should find in in C:\AppServ\php\ directory) or using Configuration Editor of AppServ. It's usually safe to set error_reporting value as follows:
 
 
 
| Quote: 
 
    
    | 
      
       | error_reporting  =  E_ALL & ~E_NOTICE & ~E_STRICT |  |  |  
 It's necessary to restart web server to apply changes.
 
 WebMail Lite PHP is primarily designed to run on PHP4, but we're working on providing better support for PHP5. The last error message seems to be caused by some backward incompatibility introduced in version of PHP5 you use.
 
 To overcome the error, try editing web\mime\class_headerparametercollection.php file, line approx.40:
 
 
 
 Try adding & sign before Get; if this doesn't help, you may try to disable Get function completely by surrounding it with /* ... */ comments marks:
 
 
 
| Code: 
 
    
    | 
      
       | /* function Get($index)
 {
 return  $this->List->Get($index);
 }
 */
 |  |  |  
 Please let us know if this helps.
 
 And please note that there's also a version for .NET which is native for Windows, you may download it here.
 
 Regards,
 Igor
 | 
       
        | Back to Top |     | 
       
       
        |  |