serendipity.css error in 1.6-alpha3
serendipity.css error in 1.6-alpha3
Testing some stuff in a 1.6-alpha3, I realized serendipity.css is not generated on my localhost devblog. http://localhost/serendipity/serendipity.css doesn't exist, neither with my current test template nor BP or default. This is a fresh install, and I can't recall doing anything different or setting any config option different than in lots of S9y installs before. Permissions are correct, too.
Bug in 1.6-alpha3 or where do I start looking?
YL
Bug in 1.6-alpha3 or where do I start looking?
YL
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: serendipity.css error in 1.6-alpha3
Hi!
Check rewrite rules, or maybe your server doesn'T support it and you should disable url rewriting?
Regards,
Garvin
Check rewrite rules, or maybe your server doesn'T support it and you should disable url rewriting?
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/
Re: serendipity.css error in 1.6-alpha3
Since /admin/ works perfectly fine, I guess it's safe to say rewriting works in general.garvinhicking wrote:Check rewrite rules, or maybe your server doesn'T support it and you should disable url rewriting?
The passages of my .htaccess I consider to be relevant for this:
Code: Select all
RewriteEngine On
RewriteBase /devblog/
[...]
RewriteRule ^(serendipity\.css|serendipity_admin\.css) index.php?url=/$1 [L,QSA]
RewriteRule ^index\.(html?|php.+) index.php?url=index.html [L,QSA]
[...]
#RewriteCond %{REQUEST_URI} !-U
RewriteRule (.*\.html?) index.php?url=/$1 [L,QSA]YL
Re: serendipity.css error in 1.6-alpha3
Keeps getting better. I just now updated to the latest svn snapshot. After uploading the files, logging into the backend or accessing the frontend gives me:
YL
Code: Select all
Fatal error: Call to undefined method Smarty::setDeprecationNotices() in /var/www/devblog/include/functions_smarty.inc.php on line 923-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: serendipity.css error in 1.6-alpha3
Hi!
The smarty thing is now fixed. Its code that will be required for smarty3 migration and currently in the works
About the CSS thing. That's quite strange. The change was committed due to this thread:
http://board.s9y.org/viewtopic.php?f=4& ... ss+rewrite
you might want to try to rever the change and add the $ back at the end of the rule and see if that works? Whats your current setup for apache etc? We might be able to turn RewriteLog on for you to see what's happening...
Regards,
Garvin
The smarty thing is now fixed. Its code that will be required for smarty3 migration and currently in the works
About the CSS thing. That's quite strange. The change was committed due to this thread:
http://board.s9y.org/viewtopic.php?f=4& ... ss+rewrite
you might want to try to rever the change and add the $ back at the end of the rule and see if that works? Whats your current setup for apache etc? We might be able to turn RewriteLog on for you to see what's happening...
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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: serendipity.css error in 1.6-alpha3
Hi!
Also, you might want to try to open index.php?url=/serendipity.css to see if that generates the CSS for you? Because that's what the redirect should actually do... (like http://blog.koehntopp.de/index.php?url=/serendipity.css)
Regards,
Garvin
Also, you might want to try to open index.php?url=/serendipity.css to see if that generates the CSS for you? Because that's what the redirect should actually do... (like http://blog.koehntopp.de/index.php?url=/serendipity.css)
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/
Re: serendipity.css error in 1.6-alpha3
Yes, it does.garvinhicking wrote:Also, you might want to try to open index.php?url=/serendipity.css to see if that generates the CSS for you?
Yes, it does.garvinhicking wrote:you might want to try to rever the change and add the $ back at the end of the rule and see if that works?
If you still need that, could you please be a little more specific? I have no idea what setup info you might refer to.garvinhicking wrote:Whats your current setup for apache etc? We might be able to turn RewriteLog on for you to see what's happening...
YL
-
kleinerChemiker
- Regular
- Posts: 765
- Joined: Tue Oct 17, 2006 2:36 pm
- Location: Vienna/Austria
- Contact:
Re: serendipity.css error in 1.6-alpha3
Wasn't there a problem with a german webhoster with serendipity.css? 1&1 I think? There was only a char at the beginning to change or so.
edit: found it: http://board.s9y.org/viewtopic.php?p=10420903#p10420903
edit: found it: http://board.s9y.org/viewtopic.php?p=10420903#p10420903
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: serendipity.css error in 1.6-alpha3
Hi!
Well, I don't understand this.
Regards,
Garvin
Yes, I referred to that already. YellowLED has this change active, and now on his setup it doesn't work anymore. So if he adds the $ back again (which we removed) it breaks for him.kleinerChemiker wrote:Wasn't there a problem with a german webhoster with serendipity.css? 1&1 I think? There was only a char at the beginning to change or so.
edit: found it: http://board.s9y.org/viewtopic.php?p=10420903#p10420903
Well, I don't understand this.
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/
Re: serendipity.css error in 1.6-alpha3
I'm not an expert on .htaccess or RegExps, but shouldn't this:garvinhicking wrote:Well, I don't understand this.
Code: Select all
RewriteRule ^(serendipity\.css|serendipity_admin\.css) index.php?url=/$1 [L,QSA]YL
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: serendipity.css error in 1.6-alpha3
Hi!
Exactly, and I don't know why mod_rewrite behaves like this. Maybe you can raise RewriteLogLevel 9 and set RewriteLog to see what the rule chain looks like?
Maybe this:
could also work?
Regards,
Garvin
Exactly, and I don't know why mod_rewrite behaves like this. Maybe you can raise RewriteLogLevel 9 and set RewriteLog to see what the rule chain looks like?
Maybe this:
Code: Select all
RewriteRule ^(serendipity\.css|serendipity_admin\.css).* index.php?url=/$1 [L,QSA]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/
Re: serendipity.css error in 1.6-alpha3
Nope, doesn't use the serendipity.css with this rule. I'm gonna need some time to figure out how to raise the log level.garvinhicking wrote:Maybe this:
could also work?Code: Select all
RewriteRule ^(serendipity\.css|serendipity_admin\.css).* index.php?url=/$1 [L,QSA]
YL
Re: serendipity.css error in 1.6-alpha3
So at http://dl.dropbox.com/u/691134/rewrite.log.txt you find a copy of my rewrite.log, log level 9, already grepped for "css" to make it shorter. The first lines are with the dollar sign at the end, the later line without it.
Hope this helps. If not: Tell me what you need.
YL
Hope this helps. If not: Tell me what you need.
YL
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: serendipity.css error in 1.6-alpha3
Hi!
Hm, I don't really understand the log; what I read there, serendipity.css does properly get rewritten to index.php?url=/serendipity.css.php...
I also tested it on my blog, the rewrite thing works here flawlessly. Running Apache/2.2.16 (Debian) mit the modules: mod_status.c, mod_ssl.c, mod_setenvif.c, mod_rewrite.c, mod_reqtimeout.c, mod_php5.c, mod_negotiation.c, mod_mime.c, mod_info.c,
mod_env.c, mod_dir.c, mod_deflate.c, mod_cgi.c, mod_autoindex.c, mod_authz_user.c, mod_authz_host.c, mod_authz_groupfile.c,
mod_authz_default.c, mod_authn_file.c, mod_auth_basic.c, mod_alias.c, mod_so.c, http_core.c, prefork.c, mod_logio.c,
mod_log_config.c, core.c
Regards,
Garvin
Hm, I don't really understand the log; what I read there, serendipity.css does properly get rewritten to index.php?url=/serendipity.css.php...
I also tested it on my blog, the rewrite thing works here flawlessly. Running Apache/2.2.16 (Debian) mit the modules: mod_status.c, mod_ssl.c, mod_setenvif.c, mod_rewrite.c, mod_reqtimeout.c, mod_php5.c, mod_negotiation.c, mod_mime.c, mod_info.c,
mod_env.c, mod_dir.c, mod_deflate.c, mod_cgi.c, mod_autoindex.c, mod_authz_user.c, mod_authz_host.c, mod_authz_groupfile.c,
mod_authz_default.c, mod_authn_file.c, mod_auth_basic.c, mod_alias.c, mod_so.c, http_core.c, prefork.c, mod_logio.c,
mod_log_config.c, core.c
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/
Re: serendipity.css error in 1.6-alpha3
Apache 2.2.16, Ubuntu 10.10 Maverick Meerkat
YL
Code: Select all
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
expires_module (shared)
headers_module (shared)
mime_module (shared)
mxslt_module (shared)
negotiation_module (shared)
php5_module (shared)
reqtimeout_module (shared)
rewrite_module (shared)
setenvif_module (shared)
status_module (shared)
userdir_module (shared)
Syntax OK