Help Home Page Debug String »  Show posts from    to     

Icy Phoenix


Old Support Topics - Help Home Page Debug String



toniobr [ Mon 02 Oct, 2006 10:09 ]
Post subject: Help Home Page Debug String
What is this?

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

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

Warning: Cannot modify header information - headers already sent by (output started at D:Inetpubwebskiteforumpugliaitpublicincludesfunctions.php:847) in D:Inetpubwebskiteforumpugliaitpublicincludespage_header.php on line 1227

Warning: Cannot modify header information - headers already sent by (output started at D:Inetpubwebskiteforumpugliaitpublicincludesfunctions.php:847) in D:Inetpubwebskiteforumpugliaitpublicincludespage_header.php on line 1229

Warning: Cannot modify header information - headers already sent by (output started at D:Inetpubwebskiteforumpugliaitpublicincludesfunctions.php:847) in D:Inetpubwebskiteforumpugliaitpublicincludespage_header.php on line 1230


Mighty Gorgon [ Mon 16 Oct, 2006 01:40 ]
Post subject: Re: Help Home Page Debug String
The problem is simple... your server is Windows based.

Try to use another PHP package to test XS on a local PC.


BisKyt [ Tue 17 Oct, 2006 13:54 ]
Post subject: Re: Help Home Page Debug String
I'm also getting this problem. I don't have the option of using a different OS or web server package, is there any fix for this error? It's only started happening recently!

Regards,
T


difus [ Tue 17 Oct, 2006 14:50 ]
Post subject: Re: Help Home Page Debug String
BisKyt wrote: [View Post]
I'm also getting this problem. I don't have the option of using a different OS or web server package, is there any fix for this error? It's only started happening recently!

Regards,
T


what web server package you using ?


BisKyt [ Mon 06 Nov, 2006 13:33 ]
Post subject: Re: Help Home Page Debug String
Quote:
what web server package you using ?


Hi difus,

I'm using the following: plesk 7.6, IIS6. MYSQL 4.x, windows server 2003.

Any help greatly appreciated.

BisKyt


difus [ Mon 06 Nov, 2006 14:36 ]
Post subject: Re: Help Home Page Debug String
download and install XAMPP or Wamp for win.it is free


BisKyt [ Tue 14 Nov, 2006 19:32 ]
Post subject: Re: Help Home Page Debug String
That is not an option for me, as it is not my web server. It is a hosted site


difus [ Wed 15 Nov, 2006 20:45 ]
Post subject: Re: Help Home Page Debug String
change the host.
is it free hosting ?


Skorpion [ Thu 16 Nov, 2006 06:49 ]
Post subject: Re: Help Home Page Debug String
I think it's Aruba...


BisKyt [ Tue 12 Dec, 2006 14:01 ]
Post subject: Re: Help Home Page Debug String
It's been a while since I had a chance to look in to this anymore...

I've found the problem (I think). It occurs when a user tries to enter their date of birth as a date before 1st January 1970.

Any page where the users age is used has the error and shows the debug string. The age field in the users posts show as 'Age: 2006'!

Is this likely to be caused by PHP, or by MySQL?

Thanks,
BisKyt


BisKyt [ Tue 12 Dec, 2006 18:40 ]
Post subject: Possibly Found A Solution
I've done a little more research, and it seems to be a problem with PHP. Because the standard date functions in PHP use integers to calculate dates it seriously limits the date range that can be used.

In windows this range is 1970 - 2038. In Linux it is 1900 - 2038.

I'm not sure if this has been fixed in PHP 5.2. Does anybody know? My server is currently running PHP 4.3.1 and MySQL 4.1.7.

It looks as though using the ADOdb Date Library to replace the standard functions should fix the problem. Would it be possible to get this into a future release of phpbbXS/A69?

There are also some other possible solutions floating around.

Information can be found at the following links:

http://phplens.com/phpeverywhere/adodb_date_library

http://www.osticket.com/forums/show...goto=nextnewest

http://www.bluehostforum.com/archive/index.php/t-414.html

BisKyt


Mighty Gorgon [ Sun 24 Dec, 2006 21:43 ]
Post subject: Re: Help Home Page Debug String
Sorry, but I cannot add external libraries to the project...

Anyway it is really strange that dates are interpreted by Windows and not by PHP...

If you can get a solution for this, let us know.




Powered by Icy Phoenix