Page 1 of 1

error after installation

Posted: Fri May 19, 2006 3:49 pm
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

1 down, 1 more to go

Posted: Sat May 20, 2006 6:12 pm
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

Re: 1 down, 1 more to go

Posted: Mon May 22, 2006 11:33 am
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

Posted: Tue May 23, 2006 5:14 pm
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

Posted: Tue May 23, 2006 5:32 pm
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

Posted: Tue May 23, 2006 5:59 pm
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

Posted: Tue May 23, 2006 6:10 pm
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

I have the same envirnment and similar error.

Posted: Mon May 29, 2006 1:01 am
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

Re: I have the same envirnment and similar error.

Posted: Mon May 29, 2006 10:50 am
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

It works after chnage permission to Full Cpntrol.

Posted: Mon May 29, 2006 9:05 pm
by charlih
Set Premissions on root of the blog to Full Control for Group: "Internet Guest Account" and it works then.

Thanks.