select/vocabulary and split () in select.php line 108
Posted: Sat Oct 22, 2011 7:29 am
Hello All,
I am a simple occasional user of xataface. I've just received a bunch or error/warning message if I try to use the select widget on an enum field defining a vocabulary in the valuelists.ini. I am following the basic initial tutorials.
IN doing so, I miserably failed to have the select working. THe message (enabled reading the troubles-shooting section on this website) said something like 'split() in ..../select.php line 108 is deprecated since php 5.3'. Other web search and I found in php.net that they suggest a possible substitution of split() with explode() or preg_split() or str_split(). Well I tried all of them and the explode() seems to work (strangely enough).
I don't know if this is ok or not. Also I am uncomfortable that I edited directly this select.php file in the xataface directory. It doesn't look right for me to mess about with the code directory instead of limiting myself to my little application directory. But What else should I have done?
Or I did right?
Best regards,
Carlo
I am a simple occasional user of xataface. I've just received a bunch or error/warning message if I try to use the select widget on an enum field defining a vocabulary in the valuelists.ini. I am following the basic initial tutorials.
IN doing so, I miserably failed to have the select working. THe message (enabled reading the troubles-shooting section on this website) said something like 'split() in ..../select.php line 108 is deprecated since php 5.3'. Other web search and I found in php.net that they suggest a possible substitution of split() with explode() or preg_split() or str_split(). Well I tried all of them and the explode() seems to work (strangely enough).
I don't know if this is ok or not. Also I am uncomfortable that I edited directly this select.php file in the xataface directory. It doesn't look right for me to mess about with the code directory instead of limiting myself to my little application directory. But What else should I have done?
Or I did right?
Best regards,
Carlo