Page 1 of 1

Problem clean install

PostPosted: Sat Apr 15, 2006 7:56 am
Author: Vixje
Hey there,

At the end of the installation I get this error message:


Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in pathtoforumincludesfunctions.php on line 1060

Warning: Cannot modify header information - headers already sent by (output started at pathtoforumincludesfunctions.php:1060) in pathtoforumincludespage_header.php on line 935

Warning: Cannot modify header information - headers already sent by (output started at pathtoforumincludesfunctions.php:1060) in pathtoforumincludespage_header.php on line 941

Warning: Cannot modify header information - headers already sent by (output started at
pathtoforumincludesfunctions.php:1060) in pathtoforumincludespage_header.php on line 942

The weird thing is, after this msg i can still open the board and mod it and add messages etc. but i do keep getting that annoying error sometimes: "Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in pathtoforumincludesfunctions.php on line 1060"

I'm running mysql 4 and apache and Apache/2.0.55 (Win32) with mysql 4.1 on a w2k3 server.

Also, when I click on info: gdlib i get this message:

Fatal error: Call to undefined function: gd_info() in pathtoforumadminadmin_security.php on line 69

PostPosted: Sat Apr 15, 2006 8:35 am
Author: Adrian Rea
interesting, this is like a bug that was present on the earliest releases of 140, but it was thought to have been sorted. http://www.integramod.com/home/viewtopi ... 3502#43502

A

Re: Problem clean install

PostPosted: Sat Apr 15, 2006 8:44 am
Author: Vixje
hmm ;)

Btw i downloaded both the zip from your website and sourceforge but they both give me this error. Should I just forget about it since its a bug and wait till there's a fix, or is there anything else I can do to help <img>

Re: Problem clean install

PostPosted: Sat Apr 15, 2006 9:23 am
Author: Vixje
$formatted = ( $board_config['default_lang'] == 'english' ) ? date($format,$fakedate) : strtr(date($format,$fakedate),


this is the rule 1060 from the funtions file

PostPosted: Sat Apr 15, 2006 10:25 am
Author: Adrian Rea
can I just check this is IM 140 install downloaded recently from the downloads block?

A

PostPosted: Sat Apr 15, 2006 11:25 am
Author: Vixje
I downloaded it today. I even tried downloading the ones on sourceforge or integramod.nl but they all are the same. I just rebooted the server. I'm going to check all logs, and see what i can find in either apache, or php. Server time has been double checked and is ok. Server language / date format settings are normal too, allthough i will try playing around with it.

do you have any idea what post/record in the pre-install files could be containing old files? I tried to delete the standard topic and post but that wasnt it and i havent found any outdated record in the DB yet.

PostPosted: Sat Apr 15, 2006 1:08 pm
Author: Simon N
So this is your own server?

I have recently installed 1.4 from here as a test site and it works perfectly.

Maybe post some more details pertaining to your server.

PostPosted: Sat Apr 15, 2006 2:25 pm
Author: Adrian Rea
I guess it is 140 then I am moving this to 140 support,

A

Re: Problem clean install

PostPosted: Sat Apr 15, 2006 2:41 pm
Author: Vixje
Just let me know what details you are looking for <img>

Fully up2date w2k3 server sp1.

php-4.4.2 with all nessecary modules loaded.
mysql-4.1.18
apache_2.0.55

Running also a phpbb 2.0.19 forum, no problems there.

Thnx for the move Adrian.

PostPosted: Sat Apr 15, 2006 3:11 pm
Author: Michaelo
If I remember correctly (some chance <img>) it related to the php version. Yep just checkedà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ Relates to time stamp and time function. It was fixed with php update but not sure of the version neededà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦

Re: Problem clean install

PostPosted: Sat Apr 15, 2006 3:32 pm
Author: Vixje
4-4-2 is the latest version available on php.net <img> (Besides 5, but 5 isnt supported yet by integra)

Re: Problem clean install

PostPosted: Sat Apr 15, 2006 7:40 pm
Author: Helter
can you get into the ACP? If so go to ACP/Tools?PHP Info. That should tell you what version, if any of GD support your server is running. I had similar errors after installing a mod on my old phpBB forum. I believe it was Smartors Photo Album and I required GD support. I emailed my host and they fixed it in less than an hour.
I dont recall the exact errors I was having, but since your getting errors regarding your GD library, it is worth a check

Re: Problem clean install

PostPosted: Sun Apr 16, 2006 3:10 am
Author: Vixje
I already managed to fix the GD problem. GD just wasnt installed hehe.

Array
(
[GD Version] => bundled (2.0.28 compatible)
[FreeType Support] => 1
[FreeType Linkage] => with freetype
[T1Lib Support] =>
[GIF Read Support] => 1
[GIF Create Support] => 1
[JPG Support] => 1
[PNG Support] => 1
[WBMP Support] => 1
[XBM Support] => 1
[JIS-mapped Japanese Font Support] =>
)

here's the output of php info:

I already managed to fix the GD problem. GD just wasnt installed hehe.

Array
(
[GD Version] => bundled (2.0.28 compatible)
[FreeType Support] => 1
[FreeType Linkage] => with freetype
[T1Lib Support] =>
[GIF Read Support] => 1
[GIF Create Support] => 1
[JPG Support] => 1
[PNG Support] => 1
[WBMP Support] => 1
[XBM Support] => 1
[JIS-mapped Japanese Font Support] =>
)

here's the output of php info:
PHP Logo
PHP Version 4.4.2

System Windows NT NEO 5.2 build 3790
Build Date Jan 13 2006 13:49:27
Server API CGI/FastCGI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:WINDOWSphp.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety enabled
Registered PHP Streams php, http, ftp, compress.zlib

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

PHP Credits
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 7 2047
expose_php On On
extension_dir ./ ./
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .;c:php4pear .;c:php4pear
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 30 30
max_input_time 60 60
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
register_argc_argv On On
register_globals Off Off
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from [url=mailto:Neo@Mephesto.com]Neo@Mephesto.com[/url]
sendmail_path no value no value
serialize_precision 100 100
short_open_tag On On
SMTP spamfilter1.phylax.nl spamfilter1.phylax.nl
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir D:WebserverPHPuploadtemp D:WebserverPHPuploadtemp
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On

bcmath
BCMath support enabled

calendar
Calendar support enabled

com
Directive Local Value Master Value
com.allow_dcom Off Off
com.autoregister_casesensitive On On
com.autoregister_typelib Off Off
com.autoregister_verbose Off Off
com.typelib_file no value no value

ctype
ctype functions enabled

ftp
FTP support enabled

gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 1
Client API version 3.23.49

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off

odbc
ODBC Support enabled
Active Persistent Links 0
Active Links 0
ODBC library Win32

Directive Local Value Master Value
odbc.allow_persistent On On
odbc.check_persistent On On
odbc.default_db no value no value
odbc.default_pw no value no value
odbc.default_user no value no value
odbc.defaultbinmode return as is return as is
odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes
odbc.max_links Unlimited Unlimited
odbc.max_persistent Unlimited Unlimited

overload
User-Space Object Overloading Support enabled

pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.2 01-Aug-2005

session
Session Support enabled
Registered save handlers files user

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path D:WebserverPHPsessiondata D:WebserverPHPsessiondata
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off

standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Internal Sendmail Support for Windows enabled

Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value

tokenizer
Tokenizer Support enabled

wddx
WDDX Support enabled
WDDX Session Serializer enabled

xml
XML Support active
XML Namespace Support active
EXPAT Version 1.95.6

zlib
ZLib Support enabled
Compiled Version 1.2.3
Linked Version 1.2.3

Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value

Additional Modules
Module Name

Environment
Variable Value
REDIRECT_STATUS 200
HTTP_HOST http://www.my-domain.com
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.2; nl; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_LANGUAGE nl,en-us;q=0.7,en;q=0.3
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_KEEP_ALIVE 300
HTTP_CONNECTION keep-alive
HTTP_REFERER http://www.my-domain.com/admin/index.ph ... 43752dbf13
HTTP_COOKIE pass_hash=b56d6ec8e8ba6acfdc7201634ceaba3d; phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%222%22%3B%7D; phpbb2mysql_menu_cat_id=0; phpbb2mysql___u=a%3A0%3A%7B%7D; phpbb2mysql___uf=0; member_id=1; ipb-myass-div=376,138; phpbb2mysql_sid=a78c63968d2ce3749beeca43752dbf13; phpbb2mysql___f_all=0; phpbb2mysql___f=a%3A0%3A%7B%7D; phpbb2mysql___t=a%3A0%3A%7B%7D; phpbb2mysql_2_f_all=0; phpbb2mysql_2_f=a%3A0%3A%7B%7D; phpbb2mysql_2_t=a%3A0%3A%7B%7D
PATH C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;D:WebserverMySQLbin
SystemRoot C:WINDOWS
COMSPEC C:WINDOWSsystem32cmd.exe
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
WINDIR C:WINDOWS
SERVER_SIGNATURE <address>Apache/2.0.55 (Win32) Server at http://www.my-domain.com Port 80</address>
SERVER_SOFTWARE Apache/2.0.55 (Win32)
SERVER_NAME http://www.my-domain.com
SERVER_ADDR 192.168.5.1
SERVER_PORT 80
REMOTE_ADDR 192.168.5.1
DOCUMENT_ROOT D:/Webserver/Apache/Apache2/www/www.my-domain.com/
SERVER_ADMIN http://www.my-domain.com
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 5.2; nl; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
_SERVER["HTTP_ACCEPT"] text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
_SERVER["HTTP_ACCEPT_LANGUAGE"] nl,en-us;q=0.7,en;q=0.3
_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"] 300
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["HTTP_REFERER"] http://www.my-domain.com/admin/index.ph ... 43752dbf13
_SERVER["HTTP_COOKIE"] pass_hash=b56d6ec8e8ba6acfdc7201634ceaba3d; phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%222%22%3B%7D; phpbb2mysql_menu_cat_id=0; phpbb2mysql___u=a%3A0%3A%7B%7D; phpbb2mysql___uf=0; member_id=1; ipb-myass-div=376,138; phpbb2mysql_sid=a78c63968d2ce3749beeca43752dbf13; phpbb2mysql___f_all=0; phpbb2mysql___f=a%3A0%3A%7B%7D; phpbb2mysql___t=a%3A0%3A%7B%7D; phpbb2mysql_2_f_all=0; phpbb2mysql_2_f=a%3A0%3A%7B%7D; phpbb2mysql_2_t=a%3A0%3A%7B%7D
_SERVER["PATH"] C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Webserver\MySQL\bin
_SERVER["SystemRoot"] C:\WINDOWS
_SERVER["COMSPEC"] C:\WINDOWS\system32\cmd.exe
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
_SERVER["WINDIR"] C:\WINDOWS
_SERVER["SERVER_SIGNATURE"] <address>Apache/2.0.55 (Win32) Server at http://www.my-domain.com Port 80</address>
_SERVER["SERVER_SOFTWARE"] Apache/2.0.55 (Win32)
_SERVER["SERVER_NAME"] http://www.my-domain.com
_SERVER["SERVER_ADDR"] 192.168.5.1
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 192.168.5.1
_SERVER["DOCUMENT_ROOT"] D:/Webserver/Apache/Apache2/www/www.my-domain.com/
_SERVER["SERVER_ADMIN"] http://www.my-domain.com
_ENV["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 5.2; nl; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
_ENV["HTTP_ACCEPT"] text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
_ENV["HTTP_ACCEPT_LANGUAGE"] nl,en-us;q=0.7,en;q=0.3
_ENV["HTTP_ACCEPT_ENCODING"] gzip,deflate
_ENV["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_ENV["HTTP_KEEP_ALIVE"] 300
_ENV["HTTP_CONNECTION"] keep-alive
_ENV["HTTP_REFERER"] http://www.my-domain.com/admin/index.ph ... 43752dbf13
_ENV["HTTP_COOKIE"] pass_hash=b56d6ec8e8ba6acfdc7201634ceaba3d; phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%222%22%3B%7D; phpbb2mysql_menu_cat_id=0; phpbb2mysql___u=a%3A0%3A%7B%7D; phpbb2mysql___uf=0; member_id=1; ipb-myass-div=376,138; phpbb2mysql_sid=a78c63968d2ce3749beeca43752dbf13; phpbb2mysql___f_all=0; phpbb2mysql___f=a%3A0%3A%7B%7D; phpbb2mysql___t=a%3A0%3A%7B%7D; phpbb2mysql_2_f_all=0; phpbb2mysql_2_f=a%3A0%3A%7B%7D; phpbb2mysql_2_t=a%3A0%3A%7B%7D
_ENV["PATH"] C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Webserver\MySQL\bin
_ENV["SystemRoot"] C:\WINDOWS
_ENV["COMSPEC"] C:\WINDOWS\system32\cmd.exe
_ENV["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
_ENV["WINDIR"] C:\WINDOWS
_ENV["SERVER_SIGNATURE"] <address>Apache/2.0.55 (Win32) Server at http://www.my-domain.com Port 80</address>
_ENV["SERVER_SOFTWARE"] Apache/2.0.55 (Win32)
_ENV["SERVER_NAME"] http://www.my-domain.com
_ENV["SERVER_ADDR"] 192.168.5.1
_ENV["SERVER_PORT"] 80
_ENV["REMOTE_ADDR"] 192.168.5.1
_ENV["DOCUMENT_ROOT"] D:/Webserver/Apache/Apache2/www/www.my-domain.com/
_ENV["SERVER_ADMIN"] <a>webmaster@my-domain.com</a>
_ENV["SCRIPT_FILENAME"] D:/Webserver/PHP/php.exe
_ENV["REMOTE_PORT"] 1181
_ENV["REDIRECT_QUERY_STRING"] mode=php_info&sid=a78c63968d2ce3749beeca43752dbf13&module=2cb5e330f042b192586258f471f5f8cb
_ENV["REDIRECT_URL"] /admin/admin_security.php
_ENV["GATEWAY_INTERFACE"] CGI/1.1
_ENV["SERVER_PROTOCOL"] HTTP/1.1
_ENV["REQUEST_METHOD"] GET
_ENV["QUERY_STRING"] mode=php_info&sid=a78c63968d2ce3749beeca43752dbf13&module=2cb5e330f042b192586258f471f5f8cb
_ENV["REQUEST_URI"] /admin/admin_security.php?mode=php_info&sid=a78c63968d2ce3749beeca43752dbf13&module=2cb5e330f042b192586258f471f5f8cb
_ENV["SCRIPT_NAME"] /php/php.exe
_ENV["PATH_INFO"] /admin/admin_security.php
_ENV["PATH_TRANSLATED"] D:\Webserver\Apache\Apache2\www\www.my-domain.com\admin\admin_security.php

PostPosted: Sun Apr 16, 2006 8:17 am
Author: Vixje
Just to keep things going, do you guys think its a issue with the portal, since its been a bug within it before, or should I just try use older versions of php or something to resolve the issue? And will this give any problems for my other phpbb 2.0.19 forum?

Do you guys know any other comparable free boards i can use for testing purposes? (I will still install this one preferably, since it seems to have it all, its really just to test and see how things are going).

Thanks for your time all, I understand its all volunteering and have the biggest respect for this.

Re: Problem clean install

PostPosted: Mon Apr 17, 2006 2:48 am
Author: Vixje
little bump to get my topic back up <img>

Re: Problem clean install

PostPosted: Tue Apr 18, 2006 12:55 am
Author: Vixje
*another bump*

Cmon guys, also the weirder problems need some thoughts <img>

PostPosted: Tue Apr 18, 2006 2:27 am
Author: Michaelo
The fix for this problem should have been added to 1.4.0 but it depends on which patches your copy has installed. Compare the function function_create_date in root/includes/functions.php and the code below they should be the same.

(code from old patch file: root/includes/functions.php)
Code: Select all
 function create_date($format, $post, $tz) {     global $board_config, $lang;     $time = $post;     board2usertime($time);     // windows date bug... if error return is not set     // default to what unix do => set date to 31 dec 1901   //           win should do => set date to 01 jan 1970 01] == 'english' ) ? date($format,$fakedate) : strtr(date($format,$fakedate), $lang['datetime']) ;             if(strpos($formatted,'1970') === false){                 if(strpos($formatted,'1969') === false){                     if(strpos($formatted,'1971') === false){                         // unknown date :: something must have gone wrong                         $time = 0;                     }else{                         $fakeyear = 1971;                         $year_submitted = $year_submitted+1;                     }                 } else {                     // 1969 is returned on leap years...                     $fakeyear = 1969;                     $year_submitted = $year_submitted-1;                 }             }else{                 // normal date :: returns 1970                 $fakeyear = 1970;             }             $leapcal = $year_submitted/4;             if($leapcal == intval($leapcal)){                 $endoffeb = mktime(23,59,59,2,28,1970);                 if($fakedate > $endoffeb){                     // if leap year, substract 1 day if after 28/02...                     $fakeleapdate = $fakedate - 86400;                     $formatted = ( $board_config['default_lang'] == 'english' ) ? date($format,$fakeleapdate) : strtr(date($format,$fakeleapdate), $lang['datetime']) ;                     if(fakedate < mktime(23,59,59,3,1,1970)){                         // should be 29 !!!                         $formatted = str_replace('28', '29', $formatted);                     }                 }             }             $out = str_replace($fakeyear, $year_submitted, $formatted);             return $out;         } else {             $time = 0;         }     }     //return date($format,$time);     return ( $board_config['default_lang'] == 'english' ) ? date($format,$time) : strtr(date($format,$time), $lang['datetime']) ;}  

If the code is identical to the above then it is not the old bug.

Mike

Re: Problem clean install

PostPosted: Wed Apr 19, 2006 12:36 am
Author: dynia
I get this strange message as well. Its even more strange as i ONLY get it when i click on the link "Albums" in de menu.

I did copy the above code, just to be sure, but it does not help

This is what i get:

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in c:program fileseasyphp1-8wwwincludesfunctions.php on line 1060

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in c:program fileseasyphp1-8wwwincludesfunctions.php on line 1060

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in c:program fileseasyphp1-8wwwincludesfunctions.php on line 1060

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in c:program fileseasyphp1-8wwwincludesfunctions.php on line 1060

Warning: Cannot modify header information - headers already sent by (output started at c:program fileseasyphp1-8wwwincludesfunctions.php:1060) in c:program fileseasyphp1-8wwwincludespage_header.php on line 939

Warning: Cannot modify header information - headers already sent by (output started at c:program fileseasyphp1-8wwwincludesfunctions.php:1060) in c:program fileseasyphp1-8wwwincludespage_header.php on line 941

Warning: Cannot modify header information - headers already sent by (output started at c:program fileseasyphp1-8wwwincludesfunctions.php:1060) in c:program fileseasyphp1-8wwwincludespage_header.php on line 942

hope somebody knows the problem. Everything looks awesome, just this error message in the photoalbum...<img>

edit: It seems that i anly get this messages when i am logged in as a user. When i log out, all looks normal, then log in as admin again, and then again i get this error message...