supported PHP versions

26 views
Skip to first unread message

onek...@gmail.com

unread,
Jun 15, 2021, 2:43:31 PMJun 15
to Xataface
Hello. 

I have an app working well on PHP 7.2 and recently tried to upgrade the PHP to 7.3 and 7.4. Using 7.3 some things work some things do not. Using 7.4 nothing works. 

Before I spend too much time on tracking down issues, what is the max version of PHP I should expect Xataface to work with?

Thanks!

Steve Hannah

unread,
Jun 15, 2021, 2:45:36 PMJun 15
to xata...@googlegroups.com
If you update to the latest version in the github master branch everything should work for 7.2, 7.3, and 7.4

--
You received this message because you are subscribed to the Google Groups "Xataface" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xataface+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xataface/95800a82-c8aa-4497-975e-4571560e9553n%40googlegroups.com.


--
Steve Hannah
Web Lite Solutions Corp.

onek...@gmail.com

unread,
Jun 15, 2021, 4:12:53 PMJun 15
to Xataface
Thank you for the quick response. I was updated to the latest version. In the end it had to do with having PHP errors turned on for the app along with not having a php module installed (intl).

Steve Hannah

unread,
Jun 15, 2021, 4:16:17 PMJun 15
to xata...@googlegroups.com
Can you share the error messages so I can fix them.  Both related to the Intl module and not.

onek...@gmail.com

unread,
Jun 15, 2021, 4:32:08 PMJun 15
to Xataface
With display_errors = On, I was getting a few warnings regarding session variables being reset. Now, I can not duplicate it. Maybe clearing the Xataface and browser caches resolved that (?)

I turned off display_errors and then I could log in (before that I was only getting the php warnings displayed, nothing else) and I then fixed the issue with intl module as below.

I still get repeated errors as:
[15-Jun-2021 20:27:00 UTC] PHP Warning:  mkdir(): File exists in /home/rcf/public_html/finance/xataface/config.inc.php on line 43

Here is the error I was getting for not having the intl module installed. It was originating in my code:
[15-Jun-2021 19:18:39 UTC] PHP Fatal error:  Uncaught Error: Class 'NumberFormatter' not found in /home/rcf/public_html/finance/MyPhpLibs/MyLibs_utilities.php:57
Stack trace:
#0 /home/rcf/public_html/finance/tables/RCF_Gifts/RCF_Gifts.php(32): MyLibs_getMoneyStr()
#1 /home/rcf/public_html/finance/xataface/Dataface/Record.php(2585): tables_RCF_Gifts->Amount__display()
#2 /home/rcf/public_html/finance/xataface/Dataface/Record.php(2909): Dataface_Record->display()
#3 /home/rcf/public_html/finance/xataface/Dataface/ResultList.php(135): Dataface_Record->preview()
#4 /home/rcf/public_html/finance/xataface/Dataface/ResultList.php(678): Dataface_ResultList->renderCell()
#5 /home/rcf/public_html/finance/xataface/Dataface/ResultList.php(315): Dataface_ResultList->toHtml()
#6 /home/rcf/public_html/finance/xataface/Dataface/SkinTool.php(1241): Dataface_ResultList->toHtml()
#7 /home/rcf/public_html/finance/templates_c/dataface/%%E4^E4B^E4B41A3D%%Dataface_List_View.html.php(42): Dataface_SkinTool->result_list()
#8 /home/rcf/public_html/finance/xataface/lib/Smarty/Sma in /home/rcf/public_html/finance/MyPhpLibs/MyLibs_utilities.php on line 57

onek...@gmail.com

unread,
Jun 15, 2021, 5:00:42 PMJun 15
to Xataface
I forgot to restart things after setting display_errors on. After log-in this is all that is displayed on the screen:

Warning: mkdir(): File exists in /home/rcf/public_html/finance/xataface/config.inc.php on line 43

Warning: session_name(): Cannot change session name when headers already sent in /home/rcf/public_html/finance/xataface/Dataface/Application.php on line 2512

Warning: session_start(): Cannot start session when headers already sent in /home/rcf/public_html/finance/xataface/Dataface/Application.php on line 2514

Warning: Cannot modify header information - headers already sent by (output started at /home/rcf/public_html/finance/xataface/config.inc.php:43) in /home/rcf/public_html/finance/xataface/Dataface/Application.php on line 2532

Warning: session_name(): Cannot change session name when headers already sent in /home/rcf/public_html/finance/xataface/Dataface/Application.php on line 2512

Warning: session_start(): Cannot start session when headers already sent in /home/rcf/public_html/finance/xataface/Dataface/Application.php on line 2514

Warning: Cannot modify header information - headers already sent by (output started at /home/rcf/public_html/finance/xataface/config.inc.php:43) in /home/rcf/public_html/finance/xataface/Dataface/Application.php on line 2532

Warning: session_name(): Cannot change session name when headers already sent in /home/rcf/public_html/finance/xataface/Dataface/Application.php on line 2512

Warning: session_start(): Cannot start session when headers already sent in /home/rcf/public_html/finance/xataface/Dataface/Application.php on line 2514

Warning: Cannot modify header information - headers already sent by (output started at /home/rcf/public_html/finance/xataface/config.inc.php:43) in /home/rcf/public_html/finance/xataface/Dataface/Application.php on line 2532

Warning: Cannot modify header information - headers already sent by (output started at /home/rcf/public_html/finance/xataface/config.inc.php:43) in /home/rcf/public_html/finance/xataface/Dataface/Application.php on line 4093


After I turn off display_errors, things work normally and the only thing in the php error log are a few of these:
[15-Jun-2021 20:59:02 UTC] PHP Warning:  mkdir(): File exists in /home/rcf/public_html/finance/xataface/config.inc.php on line 43
Reply all
Reply to author
Forward
0 new messages