Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
unable to load feed URLs
I can’t open any feeds from my site – when I try to load site.com/rss I get:
Safari
Safari can’t open the page “http://www.site.com/rss”. The error was: “bad server response” (NSURLErrorDomain:-1011) Please choose Report Bug to Apple from the Safari menu, note the error number, and describe what you did before you saw this message.
FF gives
Download error
users/stuartcharlton/desktop/p35as51p could not be saved, because the source file could not be read
Maybe I’m having the same problem as giddyn
If so, how can I diagnose it? I checked for loose txp tags in the source but the html is clean and validating… I tried debug status and there are a few tag errors across the site, like
<code>tag_error <txp:upm_article_image type=“thumb” /> -> Notice: Undefined variable: url on line 1937</code>.
Could something like that be the culprit?
I also set syndicate=no for all sections to see what would happen but the feed URLs still won’t open.
Any thoughts or ideas appreciated…
here’s my site diagnostics incase they’re any use
————————————————————————————————————————————————————————————
<code>Textpattern version: 4.0.3 (r1188)
last_update: 2006-02-21 10:43:19/2006-10-03 11:53:55
Document root: /home/hello/public_html
$path_to_site: /home/hello/public_html
Textpattern path: /home/hello/public_html/textpattern
Permanent link mode: section_title
Temp folder: /home/hello/public_html/textpattern/tmp
Site URL: www.swmusicindustryforum.org.uk
PHP version: 4.4.4
Register globals: 1
server_time: 2006-10-12 12:16:14
MySQL: 4.0.27-standard
Locale: en_GB.UTF-8
Server: Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_bwlimited/1.4 mod_log_bytes/1.2 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
php_sapi_mode: cgi
os_version: Linux 2.4.33
.htaccess file contents:
————————————
#TXP Link Rewriting
RewriteEngine On
#SEO + PR = ensure all pages have www. prefix
RewriteCond %{HTTP_HOST} !^(www\.|$) [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
#TXP Rewrite conditions
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]
#Rewrite rules for gigs
RewriteRule ^events/([^/\.]+)/?$ events?category_id=$1
RewriteRule ^events/([^/\.]+)/([^/\.]+)/?$ events?category_id=$1&event_id=$2
#TXP
RewriteRule ^(.*) index.php
#js CSS Compression see also entry in php.ini
<FilesMatch “.(css js)$”>
SetHandler application/x-httpd-php
</FilesMatch>
#php_flag magic_quotes_gpc on
#php_value post_max_size 125M
#php_value upload_max_filesize 120M
————————————
</code>
Offline
#2 2006-10-12 19:14:41
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: unable to load feed URLs
Well first, feeds are only readable from a feed reader, but yeah, that would not cause the error. Does http://yoursite.com/?rss=1 work?
Offline
Re: unable to load feed URLs
hello again…
no, I can’t access the feed from that URL either
Offline
#4 2006-10-12 23:08:59
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: unable to load feed URLs
Something – probably a plugin – is sending a blank line before the XML feed starts. This is breaking the gzip compression used for feeds.
Disable plugins one by one, and make sure there are no leading or trailing blank lines in config.php or Textpattern’s php files.
Alex
Offline
Re: unable to load feed URLs
thanks Zem
it must have been something I did while messing around in the source files… a clean Textpattern folder has fixed it as you suggested :)
Offline
Pages: 1