Deprecated PHP messages output after running makesite.php
Archived from the Xataface Users forum.
MarkM — Sun Mar 14, 2010 9:39 am
Hi,
I am using Xataface 1.2.2 on a Win 7/x64 environment.
I have xampplite installed with the following relevant components:
PHP 5.3.1
Apache 2.2.14
MySQL 5.1.41
I get the following messages after running makesite.php when I run the new index.php file in my browser:
Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\xampplite\htdocs\xataface-1.2.2\config.inc.php on line 35
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampplite\htdocs\xataface-1.2.2\Dataface\Application.php on line 380
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampplite\htdocs\xataface-1.2.2\Dataface\Application.php on line 861
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampplite\htdocs\xataface-1.2.2\Dataface\Application.php on line 1077
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampplite\htdocs\xataface-1.2.2\Dataface\Application.php on line 1474
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampplite\htdocs\xataface-1.2.2\lib\I18Nv2\I18Nv2.php on line 177
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampplite\htdocs\xataface-1.2.2\lib\I18Nv2\I18Nv2.php on line 194
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampplite\htdocs\xataface-1.2.2\lib\I18Nv2\Negotiator.php on line 351
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampplite\htdocs\xataface-1.2.2\lib\I18Nv2\Negotiator.php on line 369
Warning: Cannot modify header information - headers already sent by (output started at C:\xampplite\htdocs\xataface-1.2.2\config.inc.php:35) in C:\xampplite\htdocs\xataface-1.2.2\Dataface\Application.php on line 590
Warning: syntax error, unexpected BOOL_FALSE in C:/xampplite/htdocs/xataface-1.2.2/lang/en.ini on line 16 in C:\xampplite\htdocs\xataface-1.2.2\Dataface\ConfigTool.php on line 331
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampplite\htdocs\xataface-1.2.2\config.inc.php:35) in C:\xampplite\htdocs\xataface-1.2.2\Dataface\Application.php on line 795
There are quite a few more. Should I use an earlier version of PHP?
Thanks,
Mark Meninger
shannah — Tue Mar 16, 2010 12:11 pm
For PHP 5.3 you need to use xataface 1.2.3 (or latest from svn).
Download links are here:
viewtopic.php?f=4&t=5101#p24842