Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
HTML error 503 when writing Article
I recently wrote an article (http://www.iamdanielmarino.com/blog/the-jayly-news) to publish on my blog and when I tried publishing it, I got an HTML error 503. I tested it line by line and narrowed it down to this line:
$theNews = curl_exec($ch); // this is enwrapped in <pre> tags
whenever I stripped out “curl_exec($ch);” or any letter of “curl_exec” it would publish/save correctly without the error. Is this conflicting with a TXP function or object?
I was able to trick it by creating a class called “letter-x” and applying the following style to it:
.letter-x:after { content: “x”; }
I substituted the letter “x” in “curl_exec($ch)” with <span class=“letter-x”></span> which works fine, but it’s not very semantic, and doesn’t work in IE6.
Anyone else have problems like this?
Dan | iamdanielmarino.com
Offline
#2 2007-08-18 14:08:16
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: HTML error 503 when writing Article
Chances are you have tripped over mod_security. You can verify this by checking your server’s error log.
Offline
#3 2007-08-18 15:31:41
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: HTML error 503 when writing Article
I think this thread is related. Maybe it will help you.
Offline
Pages: 1