Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2009-09-10 20:58:35
- paxrex33
- Member
- Registered: 2007-10-25
- Posts: 15
Problem with clean urls
I just upgraded to 4.2.0 (and installed PHP 5.3.0, MySQL 5.1.36) and have problem with clean urls.
When I use messy urls there is no problem.
The message I get is:
Deprecated: Function split() is deprecated in C:\Program Files\Wamp\www\textpattern.test\textpattern\lib\txplib_misc.php(594) : eval()’d code on line 471
I have no idea what could be the problem.
Please help :-)
Offline
#2 2009-09-10 21:51:41
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Problem with clean urls
Did clean URLs work in the previous version? Which plugins are you using?
Offline
Re: Problem with clean urls
php function split was depricated in php version 5.3.0 I think some of your plugins uses this function – switch off your plugin one-by-one untill this notice hides. After that you can edit source code of plugin and replace split() with explode(), if plugin uses usual string as search pattern, and replace with preg_split() if plugin uses splitting with regular expression.
Or just switch your site to Live mode – notice will hide and your site will work as usual untill you upgrade php to version 6 – since this point split() function will be removed.
Last edited by the_ghost (2009-09-11 05:30:13)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
#4 2009-09-11 06:50:09
- paxrex33
- Member
- Registered: 2007-10-25
- Posts: 15
Re: Problem with clean urls
Thank you for quick reply.
Yes, clean URLs worked previously.
I will start switching plugins off one by one as the_ghost suggested.
Last edited by paxrex33 (2009-09-11 06:50:32)
Offline
#5 2009-09-12 22:36:43
- paxrex33
- Member
- Registered: 2007-10-25
- Posts: 15
Re: Problem with clean urls
the_ghost was right. Tru_tags plugin had split() function on 3 lines and that was the reason I saw that warning.
Offline
Pages: 1