Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2008-03-01 11:04:16

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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

#3 2008-03-02 00:43:54

typeshige
Member
From: USA
Registered: 2005-08-11
Posts: 151
Website

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

#5 2008-03-02 09:46:24

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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

Board footer

Powered by FluxBB