template is gone [white]
template is gone [white]
when i install there is no template at all. the link to 'Open login screen' is normally http://www.mysite.com/index.php?/admin but now when i nstall a blog it is http://www.mysite.com/admin
only when i manually type the admin address and click on the configuration link twcie does the template properly appear and the open login screen link work properly.
Why is this...
Just curious
only when i manually type the admin address and click on the configuration link twcie does the template properly appear and the open login screen link work properly.
Why is this...
Just curious
-
mgroeninger
- Regular
- Posts: 546
- Joined: Mon Dec 20, 2004 11:57 pm
- Contact:
Without looking at the site, it sounds like URL rewriting is turned on...
Especially if
http://www.mysite.com/index.php?/admin
has become
http://www.mysite.com/admin
Especially if
http://www.mysite.com/index.php?/admin
has become
http://www.mysite.com/admin
it says url rewriting is off
but thanks for the reply.
-
mgroeninger
- Regular
- Posts: 546
- Joined: Mon Dec 20, 2004 11:57 pm
- Contact:
-
toontastic
Sorry for posting a question in a question but I thought it was related. I had this same problem when I installed for the first time yesterday (I have since unistalled and I'm in the process of installing again) are you saying that the URL rewrite doesn't work as yet or does something need to be done to make it work and make the screen not appear white ?
Thanks in advance.
Thanks in advance.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Toontastic, the URL rewrite only works if you have configured your Apache properly (AllowOverride All for the serendipity directory) or have installed mod_rewrite.
Regards,
garvin
Regards,
garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
toontastic
-
toontastic
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Mod_rewrite is a apache tool that needs to be installed by the server admin.
What is the URL to your SMF message board and your blog? I'd like to see the rewriting that's used.
Also please tell me the contents of your .htaccess file in your blog directory.
Regards,
Garvin
What is the URL to your SMF message board and your blog? I'd like to see the rewriting that's used.
Also please tell me the contents of your .htaccess file in your blog directory.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
toontastic
The message board is at http://www.newcastle-online.com/newnufcforum1/index.php (the home of the script is at www.simplemachines.org) as you can see it seems to work ok on there. Please excuse the menu along the top it's still being tested and we're struggling to get the CSS right for the menu.
The blog is at www.newcastle-online.com/nufc_news I've got it set to no for the url rewrites so it looks like it works at the minute but the URLs aren't search engine friendly.
The .htaccess file is whatever the blog has changed it to itself as I've just set it as 777 and let the blog change it.
The blog is at www.newcastle-online.com/nufc_news I've got it set to no for the url rewrites so it looks like it works at the minute but the URLs aren't search engine friendly.
The .htaccess file is whatever the blog has changed it to itself as I've just set it as 777 and let the blog change it.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
On your forums I cannot see rewritten URLS, can you give me an example? http://www.newcastle-online.com/nufcshop/ and most other menu items do not work and give a 404 error.
Please tell me the contents of your .htaccess, not the permissions
Regards,
Garvin
Please tell me the contents of your .htaccess, not the permissions
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
toontastic
Oops forgot it was in maintance mode so you wouldn't have been able to see anything other than the links along the top
Yeah the top links don't work yet.
An example of a link :
http://www.newcastle-online.com/newnufc ... ,14.0.html
I know I only gave the permissions
What I was saying is whatever the program creates is what is in .htacess. I'll do it again though and then send you whats in the .htaccess file.
Right done that and I checked the file and it said:
An example of a link :
http://www.newcastle-online.com/newnufc ... ,14.0.html
I know I only gave the permissions
Right done that and I checked the file and it said:
Thanks again# BEGIN s9y
ErrorDocument 404 /nufc_news/index.php
DirectoryIndex /nufc_news/index.php
php_value session.use_trans_sid 0
php_value register_globals off
RewriteEngine On
RewriteBase /nufc_news/
RewriteRule ^archives([/A-Za-z0-9]+)\.html index.php?url=/archives/$1.html [L,QSA]
RewriteRule ^([0-9]+)[_\-][0-9a-z_\-]*\.html index.php?url=$1-article.html [L,NC,QSA]
RewriteRule ^feeds/(.*) index.php?url=/feeds/$1 [L,QSA]
RewriteRule ^unsubscribe/(.*)/([0-9]+) index.php?url=/unsubscribe/$1/$2 [L,QSA]
RewriteRule ^approve/(.*)/(.*)/([0-9]+) index.php?url=approve/$1/$2/$3 [L,QSA]
RewriteRule ^delete/(.*)/(.*)/([0-9]+) index.php?url=delete/$1/$2/$3 [L,QSA]
RewriteRule ^(admin|entries)(/.+)? index.php?url=admin/ [L,QSA]
RewriteRule ^archive$ index.php?url=/archive [L,QSA]
RewriteRule ^categories/([0-9]+) index.php?url=/categories/$1 [L,QSA]
RewriteRule ^(index|atom|rss|b2rss|b2rdf).(rss|rdf|rss2|xml)$ rss.php?file=$1&ext=$2
RewriteRule ^plugin/(.*) index.php?url=plugin/$1 [L,QSA]
RewriteRule ^search/(.*) index.php?url=/search/$1 [L,QSA]
RewriteRule ^(serendipity\.css|serendipity_admin\.css) index.php?url=/$1 [L,QSA]
RewriteRule ^authors/([0-9]+) index.php?url=/authors/$1 [L,QSA]
RewriteRule ^index\.(html?|php.+) index.php?url=index.html [L,QSA]
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
RewriteRule (.*\.html?) index.php?url=/$1 [L,QSA]
<Files *.tpl>
deny from all
</Files>
<Files *.sql>
deny from all
</Files>
<Files *.inc.php>
deny from all
</Files>
<Files *.db>
deny from all
</Files>
# END s9y
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Okay, thank you for that information.
The links that your forum creates are in fact NOT Apache Errorhandling URLs. They use a "PATH_INFO" feature, which is different from our method (it has its advantages and disadvantages).
That means, your server does not support Apache Errorhandling, and your server does not support mod_rewrite.
You need to go to your s9y configuration and set URL Rewriting to "None" then. Or you need to contact your sysadmin and tell him to install mod_rewrite or make your s9y directory "AllowOverride All".
After changing this, your htaccess should only look like this:
Good luck and have fun,
Garvin
The links that your forum creates are in fact NOT Apache Errorhandling URLs. They use a "PATH_INFO" feature, which is different from our method (it has its advantages and disadvantages).
That means, your server does not support Apache Errorhandling, and your server does not support mod_rewrite.
You need to go to your s9y configuration and set URL Rewriting to "None" then. Or you need to contact your sysadmin and tell him to install mod_rewrite or make your s9y directory "AllowOverride All".
After changing this, your htaccess should only look like this:
Code: Select all
# BEGIN s9y
DirectoryIndex /nufc_news/index.php
php_value session.use_trans_sid 0
php_value register_globals off
<Files *.tpl>
deny from all
</Files>
<Files *.sql>
deny from all
</Files>
<Files *.inc.php>
deny from all
</Files>
<Files *.db>
deny from all
</Files>
# END s9y
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
toontastic