I am having problems with Category Names containing dashes and spaces...
The error:
Invalid SiteHTML method: 'site_html_index.html'. at /home/virtual/site129/fst/var/www/cgi-bin/links/admin/Links/SiteHTML.pm line 280.
Please enable debugging in setup for more details.
My error can be seen here by clicking on "Rap - Hip Hop":
http://www.supportmusicians.com/Band_Websites/index.html
The problem is weird because Some categories can have dashes and others cant.
I think it is a rewrite rule problem.
These (brand new) category names initially work...
Word Space - Dash
Word - Dash Space
Rap - Hip Hop2
I want a category Named "Rap - Hip Hop"
So I rename "Rap - Hip Hop2" to "Rap - Hip Hop", and it breaks.
Deleting my htaccess fixed the problem, so Here's my rewite rules is somone can help.
Why can I have a category named "Word Space - Dash", or "Word - Dash Space", or even "Rap - Hip Hop2", but I can't use "Rap - Hip Hop" ?
RewriteRule (.*).css $1.css [L]
RewriteRule (.*)\.js $1.js [L]
RewriteRule (.*)\.css $1.css [L]
RewriteRule (.*)\.gif $1.gif [L]
RewriteRule (.*)\.jpg $1.jpg [L]
RewriteRule (.*)\.png $1.png [L]
RewriteRule (.*)\.mp3 $1.mp3 [L]
RewriteRule (.*)\.swf $1.swf [L]
RewriteRule (.*)\.xml $1.xml [L]
RewriteRule p/(.*)/? /cgi-bin/links/page.cgi?p=$1 [L]
RewriteRule search/(.*) /cgi-bin/links/search.cgi?query=$1 [L]
RewriteRule jump/(.*) /cgi-bin/links/jump.cgi?ID=$1 [L]
RewriteRule images/(.*) images/$1 [L]
RewriteRule .*L([0-9]+)/?$ /cgi-bin/links/page.cgi?g=Detailed/$1.html [L]
RewriteRule .*L([0-9]+)\.html$ /cgi-bin/links/page.cgi?g=Detailed/$1.html [L]
RewriteRule Detailed/(.*)\.html /cgi-bin/links/page.cgi?g=Detailed/$1.html [L]
RewriteRule (.*) /cgi-bin/links/page.cgi?g=$1 [L]
RewriteRule /?$ /cgi-bin/links/page.cgi [L]
Something else seems to be going on, but using the real url below seems to work, so it must be the .htaccess file correct?
This works, with "Rap - Hip_Hop" or "Rap - Hip_Hop2" using correct version of course
http://www.supportmusicians.com/cgi-bin/links/page.cgi?g=Band_Websites%2FRap_-_Hip_Hop%2Findex.html;d=1
I have just started using subcategories. Before yesterday I had no subcategories, and d this issue didn't exist.
Thanks
Chris
RGB World, Inc. - Software & Web Development.
rgbworld.com
The error:
Quote:
A fatal error has occured: Invalid SiteHTML method: 'site_html_index.html'. at /home/virtual/site129/fst/var/www/cgi-bin/links/admin/Links/SiteHTML.pm line 280.
Please enable debugging in setup for more details.
My error can be seen here by clicking on "Rap - Hip Hop":
http://www.supportmusicians.com/Band_Websites/index.html
The problem is weird because Some categories can have dashes and others cant.
I think it is a rewrite rule problem.
These (brand new) category names initially work...
Word Space - Dash
Word - Dash Space
Rap - Hip Hop2
I want a category Named "Rap - Hip Hop"
So I rename "Rap - Hip Hop2" to "Rap - Hip Hop", and it breaks.
Deleting my htaccess fixed the problem, so Here's my rewite rules is somone can help.
Why can I have a category named "Word Space - Dash", or "Word - Dash Space", or even "Rap - Hip Hop2", but I can't use "Rap - Hip Hop" ?
Code:
RewriteEngine On RewriteRule (.*).css $1.css [L]
RewriteRule (.*)\.js $1.js [L]
RewriteRule (.*)\.css $1.css [L]
RewriteRule (.*)\.gif $1.gif [L]
RewriteRule (.*)\.jpg $1.jpg [L]
RewriteRule (.*)\.png $1.png [L]
RewriteRule (.*)\.mp3 $1.mp3 [L]
RewriteRule (.*)\.swf $1.swf [L]
RewriteRule (.*)\.xml $1.xml [L]
RewriteRule p/(.*)/? /cgi-bin/links/page.cgi?p=$1 [L]
RewriteRule search/(.*) /cgi-bin/links/search.cgi?query=$1 [L]
RewriteRule jump/(.*) /cgi-bin/links/jump.cgi?ID=$1 [L]
RewriteRule images/(.*) images/$1 [L]
RewriteRule .*L([0-9]+)/?$ /cgi-bin/links/page.cgi?g=Detailed/$1.html [L]
RewriteRule .*L([0-9]+)\.html$ /cgi-bin/links/page.cgi?g=Detailed/$1.html [L]
RewriteRule Detailed/(.*)\.html /cgi-bin/links/page.cgi?g=Detailed/$1.html [L]
RewriteRule (.*) /cgi-bin/links/page.cgi?g=$1 [L]
RewriteRule /?$ /cgi-bin/links/page.cgi [L]
Something else seems to be going on, but using the real url below seems to work, so it must be the .htaccess file correct?
This works, with "Rap - Hip_Hop" or "Rap - Hip_Hop2" using correct version of course
http://www.supportmusicians.com/cgi-bin/links/page.cgi?g=Band_Websites%2FRap_-_Hip_Hop%2Findex.html;d=1
I have just started using subcategories. Before yesterday I had no subcategories, and d this issue didn't exist.
Thanks
Chris
RGB World, Inc. - Software & Web Development.
rgbworld.com