Hi sa-w w , I confirm that merely replacing split() with explode() is enough to make store.php work with PHP7.
Cheers, X. -- Xavier Cazin On Sun, Apr 2, 2017 at 8:53 PM, sa-w w <[email protected]> wrote: > Thanks Mark and Mat for reply. I followed the link > http://tiddlywiki.com/#Saving%20on%20a%20PHP%20Server > now my issue is like this > https://groups.google.com/forum/#!topic/tiddlywiki/c0e0QTY-Zrg > and i was looking in the Apache error log, > *[Sun Apr 02 20:23:10.398331 2017] [fcgid:warn] [pid 6661] [client > my.ip.adress:port] mod_fcgid: stderr: PHP Fatal error: Uncaught Error: > Call to undefined function split() in /home/one9/public_html/store.php:245, > referer: http://19.website.com/index.html > <http://19.website.com/index.html>* > *[Sun Apr 02 20:23:10.398393 2017] [fcgid:warn] [pid 6661] [client > my.ip.adress:port] mod_fcgid: stderr: Stack trace:, referer: > http://19.website.com/index.html <http://19.website.com/index.html>* > *[Sun Apr 02 20:23:10.398399 2017] [fcgid:warn] [pid 6661] [client > my.ip.adress:port] mod_fcgid: stderr: #0 {main}, referer: > http://19.website.com/index.html <http://19.website.com/index.html>* > > *[Sun Apr 02 20:23:10.398404 2017] [fcgid:warn] [pid 6661] [client > my.ip.adress:port] mod_fcgid: stderr: thrown in > /home/one9/public_html/store.php on line 245, referer: > http://19.website.com/index.html <http://19.website.com/index.html>* > And the apache access log tells me this.... > *my.ip.adress - - [02/Apr/2017:20:23:07 +0200] "POST /store.php HTTP/1.1" > 500 185 "http://19.website.com/index.html > <http://19.website.com/index.html>" "Mozilla/5.0 (Windows NT 10.0; WOW64) > AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"* > *my.ip.adress - - [02/Apr/2017:20:23:15 +0200] "GET /store.php HTTP/1.1" > 200 611 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 > (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"* > > it seems that *split()* is debricated in php7 and im thinking of replace > with *explode()* but not sure if it will work. I have set chmod -R 777 * > for folder store.php and index.html but it seems not to work.... > suggestions? :/ > > Den söndag 2 april 2017 kl. 15:49:00 UTC+2 skrev Mark S.: >> >> See: >> >> http://tiddlywiki.com/#Saving:Saving >> >> On Sunday, April 2, 2017 at 6:11:49 AM UTC-7, sa-w w wrote: >>> >>> first try of tiddlerwiki, its simple and ok, however, everytime i make a >>> change in the file and want to save it, it makes a copy of the whole file >>> and then i need to reload that to get the latest. >>> >>> how do i setup so it save changes in the same file? >>> >>> thanks for reply >>> >> -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/tiddlywiki. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/tiddlywiki/a52ace66-f8a6-4963-bde5-a0add000e43e%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/a52ace66-f8a6-4963-bde5-a0add000e43e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CADeSwYO2BTXtk%2BTwDZp2ipShhq1Mc35%2BaS44uay%3De6itH6nB0Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

