Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-02-22 16:50:51
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Bug in last svn rev : impossible to load the css in the editor.
I get this errors when I try to load the css editor (style tab) :
Notice: Array to string conversion in /home/www/fc1f7630122da37fd45afdf6fbcfbfdb/web/txpcss/textpattern/lib/txplib_misc.php on line 914
Warning: Invalid argument supplied for foreach() in /home/www/fc1f7630122da37fd45afdf6fbcfbfdb/web/txpcss/textpattern/include/txp_css.php on line 244
Last edited by jpdupont (2008-02-22 16:51:56)
Offline
Re: Bug in last svn rev : impossible to load the css in the editor.
Thanks for reporting this. The problem is in changeset 2811. I’ll fix this by using strip_rn differently in textpattern/include/txp_css.php. If you want to change it yourself, change this line:
$selectors = preg_replace('/\s+/',' ',strip_rn(explode("}",$css)));
into:
$selectors = preg_replace('/\s+/',' ',explode("}",strip_rn($css)));
Offline
Re: Bug in last svn rev : impossible to load the css in the editor.
I don’t mean to highjack but with dev.textpattern.com down have new revs been made? If so, how do I see or download?
Offline
#4 2008-03-02 04:05:24
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Bug in last svn rev : impossible to load the css in the editor.
Update through SVN, see if it is there.
Offline
Re: Bug in last svn rev : impossible to load the css in the editor.
This isn’t yet in SVN, because I can’t commit at the moment ;)
Offline