error after installation

Having trouble installing serendipity?
Post Reply
lorenzov
Regular
Posts: 5
Joined: Fri May 19, 2006 3:41 pm

error after installation

Post by lorenzov »

hello everyone,
i'm having a problem which occurrs after installation seemed perfectly ok. when trying to load the main index page i get this:

********************************************************
Warning: Smarty::include(c:/Inetpub/wwwroot/serendipity/templates_c\carl_contest^%%19^199^199099E7%%index.tpl.php) [function.include]: failed to open stream: No such file or directory in c:\Inetpub\wwwroot\serendipity\bundled-libs\Smarty\libs\Smarty.class.php on line 1251

Warning: Smarty::include() [function.include]: Failed opening 'c:/Inetpub/wwwroot/serendipity/templates_c\carl_contest^%%19^199^199099E7%%index.tpl.php' for inclusion (include_path='.;C:\php5\pear;c:\Inetpub\wwwroot\serendipity/;c:\Inetpub\wwwroot\serendipity/bundled-libs/') in c:\Inetpub\wwwroot\serendipity\bundled-libs\Smarty\libs\Smarty.class.php on line 1251

********************************************************

something that is looking a bit dodgy to me is the change of slashes at the end of the strings (windows instead of unix type), however i have no idea where to go and change it: any suggestion?

thanks
lorenzo
lorenzov
Regular
Posts: 5
Joined: Fri May 19, 2006 3:41 pm

1 down, 1 more to go

Post by lorenzov »

me again (answering to myself...)

i'm running iis6 on win2003 server with php 5.14 and mysql 4.2

after a lot of fiddling i resorted to wipe and reinstall serendipity; same error occurred. then i forced full permissions on the entire directory & cascading to all files and folders, finally the error disappeared, but no styles is appearing from the browser. anyone has got any suggestion for this one?

thanks

lorenzo
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: 1 down, 1 more to go

Post by garvinhicking »

Hi!

Did you configure the "URL Rewriting" for Serendipity to "none"? Because I think mod_rewrite and Apache Errorhandling do not work on IIS...

HTH,
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/
lorenzov
Regular
Posts: 5
Joined: Fri May 19, 2006 3:41 pm

Post by lorenzov »

hello garvin, thanks for the reply.
where do i find it this setting? i've browsed through the config files, but couldn't find any similar entry. i'm keen to try, but so far it wasn't straightforward!

thanks
lorenzo
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You must set that by logging into the serendipity admin panel (via serendipity_admin.php) and there in the "Configuration" section, somewhere the 3rd or 4th section inside the configuration shows you that setting...

It's a dropdown that can be set to "None", "Apache Errordocs" or "mod_Rewrite".

HTH,
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/
lorenzov
Regular
Posts: 5
Joined: Fri May 19, 2006 3:41 pm

Post by lorenzov »

hi garvin,
:shock: this is a bit of a mystery, but something was not set properly in the autoconfig.

when i tried to go on the admin page via the link it wouldn't find the url, so i had to type in the full url. the option you mentioned was already set on disable url rewrite, however i re-selcted and saved the config. after that the htaccess was rewritten and voila': styles work, links work properly and all seems ok...

thanks for your input!
lorenzo
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Okay, great to hear that! Maybe then the .htaccess file was created on first try but not properly re-set...

Best 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/
charlih
Posts: 2
Joined: Mon May 29, 2006 12:57 am
Location: Cupertino, CA
Contact:

I have the same envirnment and similar error.

Post by charlih »

Warning: fetch(c:\inetpub\wwwroot\indexbox\blog\templates_c\carl_contest^%%D1^D17^D17CF389%%index.tpl.php): failed to open stream: No such file or directory in c:\inetpub\wwwroot\indexbox\blog\bundled-libs\Smarty\libs\Smarty.class.php on line 1251

Warning: fetch(): Failed opening 'c:\inetpub\wwwroot\indexbox\blog\templates_c\carl_contest^%%D1^D17^D17CF389%%index.tpl.php' for inclusion (include_path='.;c:\php4\pear;c:\inetpub\wwwroot\indexbox\blog/;c:\inetpub\wwwroot\indexbox\blog/bundled-libs/') in c:\inetpub\wwwroot\indexbox\blog\bundled-libs\Smarty\libs\Smarty.class.php on line 1251
--
Charlih Chen
charlih_chen@hotmail.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: I have the same envirnment and similar error.

Post by garvinhicking »

Hi!

Check your file permissions on that directory. And read this thread again, the solution for the other poster is contained here.

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/
charlih
Posts: 2
Joined: Mon May 29, 2006 12:57 am
Location: Cupertino, CA
Contact:

It works after chnage permission to Full Cpntrol.

Post by charlih »

Set Premissions on root of the blog to Full Control for Group: "Internet Guest Account" and it works then.

Thanks.
--
Charlih Chen
charlih_chen@hotmail.com
Post Reply