1
trentons9
Installation Variable References/Failed Opening Stream Errors
  • 2006/2/5 19:37

  • trentons9

  • Just popping in

  • Posts: 2

  • Since: 2006/2/5 1


I get the following errors when after a fresh install of XOOPS 2.2.3.

My setup is as follows:

OS: Windows Server 2003
Server: IIS 6
PHP: 5.1.2
MYSQL: 5.0.11

All files have full permissions and database as well.

-------------------------------------------------

Notice [PHP]: Only variable references should be returned by reference in file c:Inetpubwwwrootpsihtmlkernelblockinstance.php line 111
Warning 
[PHP]: Smarty::include(c:/Inetpub/wwwroot/psi/html/templates_c%%6E^6E8^6E8C036B%%db%3Asystem_block_login.html.php) [function.include]: failed to open streamNo such file or directory in file c:InetpubwwwrootpsihtmlclasssmartySmarty.class.php line 1255
Warning 
[PHP]: Smarty::include() [function.include]: Failed opening 'c:/Inetpub/wwwroot/psi/html/templates_c%%6E^6E8^6E8C036B%%db%3Asystem_block_login.html.php' for inclusion (include_path='.;C:PHPpear'in file c:InetpubwwwrootpsihtmlclasssmartySmarty.class.php line 1255
Warning 
[PHP]: Smarty::include(c:/Inetpub/wwwroot/psi/html/templates_c%%42^428^428512AB%%db%3Asystem_block_mainmenu.html.php) [function.include]: failed to open streamNo such file or directory in file c:InetpubwwwrootpsihtmlclasssmartySmarty.class.php line 1255
Warning 
[PHP]: Smarty::include() [function.include]: Failed opening 'c:/Inetpub/wwwroot/psi/html/templates_c%%42^428^428512AB%%db%3Asystem_block_mainmenu.html.php' for inclusion (include_path='.;C:PHPpear'in file c:InetpubwwwrootpsihtmlclasssmartySmarty.class.php line 1255
Warning 
[PHP]: Smarty::include(c:/Inetpub/wwwroot/psi/html/templates_c%%29^29A^29A1259B%%theme.html.php) [function.include]: failed to open streamNo such file or directory in file c:InetpubwwwrootpsihtmlclasssmartySmarty.class.php line 1248
Warning 
[PHP]: Smarty::include() [function.include]: Failed opening 'c:/Inetpub/wwwroot/psi/html/templates_c%%29^29A^29A1259B%%theme.html.php' for inclusion (include_path='.;C:PHPpear'in file c:InetpubwwwrootpsihtmlclasssmartySmarty.class.php line 1248

2
trentons9
Re: Installation Variable References/Failed Opening Stream Errors
  • 2006/2/8 18:35

  • trentons9

  • Just popping in

  • Posts: 2

  • Since: 2006/2/5 1


Does anyone else have this issue?

3
KevM1970
Re: Installation Variable References/Failed Opening Stream Errors
  • 2006/2/17 11:53

  • KevM1970

  • Just popping in

  • Posts: 2

  • Since: 2006/2/12


Hi

I have just done and install with the same setup as you.

You need to change include_path so it points to where PHP is installed i.e. include_path='.;C:\PHP'

Give the IUSR_Machine account modify permissions on :

template_c
cache
uploads

Kev

4
ganjabob
Re: Installation Variable References/Failed Opening Stream Errors
  • 2006/4/14 18:54

  • ganjabob

  • Just popping in

  • Posts: 6

  • Since: 2003/2/20


I'm running into the same error. PHP is working fine but XOOPS is not. Here is my output from \index.php...


Warning [PHP]: Fetch(c:/inetpub/wwwroot/templates_c\%%6E^6E8^6E8C036B%%db%3Asystem_block_login.html.php): failed to open stream: No such file or directory in file c:\inetpub\wwwroot\class\smarty\Smarty.class.php line 1255

Warning [PHP]: fetch(): Failed opening 'c:/inetpub/wwwroot/templates_c\%%6E^6E8^6E8C036B%%db%3Asystem_block_login.html.php' for inclusion (include_path='.;c:\php4') in file c:\inetpub\wwwroot\class\smarty\Smarty.class.php line 1255

Warning [PHP]: fetch(c:/inetpub/wwwroot/templates_c\%%42^428^428512AB%%db%3Asystem_block_mainmenu.html.php): failed to open stream: No such file or directory in file c:\inetpub\wwwroot\class\smarty\Smarty.class.php line 1255

Warning [PHP]: fetch(): Failed opening 'c:/inetpub/wwwroot/templates_c\%%42^428^428512AB%%db%3Asystem_block_mainmenu.html.php' for inclusion (include_path='.;c:\php4') in file c:\inetpub\wwwroot\class\smarty\Smarty.class.php line 1255

Warning [PHP]: fetch(c:/inetpub/wwwroot/templates_c\%%20^200^200DC337%%theme.html.php): failed to open stream: No such file or directory in file c:\inetpub\wwwroot\class\smarty\Smarty.class.php line 1248

Warning [PHP]: fetch(): Failed opening 'c:/inetpub/wwwroot/templates_c\%%20^200^200DC337%%theme.html.php' for inclusion (include_path='.;c:\php4') in file c:\inetpub\wwwroot\class\smarty\Smarty.class.php line 1248


I've verified that my php.ini is showning correctly from phpinfo() but can't seem to get around this problem. Someone suggested I had to manually configure Smarty but I haven't found anything on the XOOPS forums to suggest that is the case.

I have verified that IUSR and IWM internet accounts have write permissions on \cache, \templates_c and \uploads directories. In fact when I get this error the templates_c directory gets populated with a 'wrt1A.tmp' file.

Thanks.

Login

Who's Online

302 user(s) are online (227 user(s) are browsing Support Forums)


Members: 0


Guests: 302


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits