Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#289 2006-02-04 17:10:21
- apo
- Member
- From: Germany
- Registered: 2004-10-27
- Posts: 53
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
sorry for bumping, but i still have no clue how to get my rss-feed working again :-(
Offline
#290 2006-03-09 04:03:57
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
I’m lovin’ the idea of the sgb_url_handler plug-in, but I get the following errors when it’s activated:
<code>
A problem occured while loading the plugin: sgb_url_handler -> Notice: Undefined index: id on line 446
A problem occured while loading the plugin: sgb_url_handler -> Notice: Undefined index: category2 on line 454
</code>
Any ideas?
Offline
#291 2006-04-16 07:23:43
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
First of all, thank you so much for this plugin! I didn’t plan ahead when I set my site to /id/title.
Secondly, I’m having a problem with 404s. I’ve got my custom txp 404 setup, but anytime I encounter a 404, I get the one specified by sgb_url_handler (or error docs). Is there any way I could get my TXP page, error_default to be used instead, or even my server’s default 404?
Thanks
Offline
#292 2006-06-20 13:40:48
- alexwest
- Member
- From: Järna, Sweden
- Registered: 2004-08-04
- Posts: 53
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
<blockquote>Is there any way I could get my TXP page, error_default to be used instead, or even my server’s default 404?</blockquote>
To get sgb_url_handler not to “handle” error documents (thus getting TxP to use error_default) edit the plugin and change the configuration settings:
<code>
$config[‘send_errors’] = 0; // bool
$config[‘send_301’] = 0; // bool
$config[‘send_404’] = 0; // bool
</code>
be safe and happy
Offline
#293 2007-02-20 16:57:15
- adnanoner
- Member
- Registered: 2007-01-01
- Posts: 20
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
Okay I have a really weird problem, can’t figure it out.
When sgb_url_handler is activated all my pages are blank/404. If I deactivate it only one section is blank. On that section’s page I have this code that might interfere.
<div id=“expositions_list”>
Expositions:
<txp:stw_category_tree orderby=“title” type=“image” onclass=“selected” section=”*” start=“expositions” maxlevel=“2” localized=“y” />
</div>
<txp:article />
<txp:image_display />
<txp:rss_thumbpop mode=“float” orderby=“name” showfullalt=“1” showfullcaption=“1” showcaption=“1” showalt=“0” divpop=“1” cols=“999” limit=“5” allcats=“0” />
</div>
Any help?
My .htaccess file is:
bq. Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php
Clean url also fails when sgb plugin is activated
Last edited by adnanoner (2007-02-20 16:57:58)
Offline
#294 2007-02-20 19:11:55
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
sgb_url_handler is not supported anymore. Have a look at gbp_permanent_links.
Offline
#295 2007-02-20 19:47:45
- adnanoner
- Member
- Registered: 2007-01-01
- Posts: 20
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
okay thanks, I’ll have a look :)
Offline
#296 2007-07-13 18:43:07
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
This plugin broke all my file_download links when I upgraded to 4.05, which adds the file name to the end of the URL after the file ID number (ex. http://www.andrewswihart.net/file_download/30/EFlation.mp3
), but the old URL still works (ex. http://www.andrewswihart.net/file_download/30
).
I tried fixing it by adding /%string%
or /%title%
to the following scheme: $schemes['_file'] = '/%_file%/%number%'
;, but it didn’t work. It seems this plugin needs updated to work with the new file_download links in 4.05. I know it’s not supported anymore, but I’m using it with vdh_flickr to achieve clean urls. I will contact the writer of that plugin as well to see how gbp_permanent_links could be used for the same purpose. Thanks for any help.
Last edited by aswihart (2007-07-13 18:47:07)
Offline
#297 2008-05-11 18:31:21
- Ruhh
- Member
- From: dakota dunes
- Registered: 2008-01-20
- Posts: 305
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
I get this error:
A problem occured while loading the plugin: sgb_error_documents -> Notice: Undefined index: PATH_INFO on line 79
textpattern/lib/txplib_misc.php(574) : eval()'d code:79 sgb_url_handler_get_url()
textpattern/lib/txplib_misc.php(574) : eval()'d code:323 sgb_url_handler_get_url()
textpattern/lib/txplib_misc.php(574) : eval()'d code:382 sgb_url_handler()
textpattern/lib/txplib_misc.php:574 eval()
textpattern/publish.php:109 load_plugins()
index.php:39 include()
Anybody know how I can get rid of it?
<txp:Ruhh />
Offline