1
nshlan
Smarty error immediately after installation
  • 2005/12/18 0:18

  • nshlan

  • Just popping in

  • Posts: 13

  • Since: 2005/12/17


XOOPS Version: 2.0.13.2
Module Name/Version: n/a
PHP Version: 4.4.1
MySQL Version: 4.1.15
Web Server Software (Apache/IIS/Other): IIS6
Operating System: Windows Server 2003 SP1
Theme you are using: Default
Custom template: (Yes/No) No
PHP Debug Messages:
MySQL Debug Messages:
Smarty Debug Messages:
A full description of the issue:

Note: I am installing XOOPS on a server that already has a pre-existing functional copy running a different domain.

I extracted the XOOPS archive and granted read/write access to the following files/directories...
/cache
/templates_c
/uploads
mainfile.php
Installation went off without a hitch but as soon as I clicked the link to view the site, I received a blank page. naturally, I turned on debug in MySQL and received the following errors...Any thought/ideas?


Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\include\functions.php line 491
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\include\functions.php line 491
Notice [PHP]: Only variables should be assigned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\database\mysqldatabase.php line 239
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\include\functions.php line 491
Notice [PHP]: Only variables should be assigned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\database\mysqldatabase.php line 239
Notice [PHP]: Only variables should be assigned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\database\mysqldatabase.php line 239
Notice [PHP]: Only variables should be assigned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\database\mysqldatabase.php line 239
Notice [PHP]: Only variables should be assigned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\database\mysqldatabase.php line 239
Notice [PHP]: Only variables should be assigned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\database\mysqldatabase.php line 239
Notice [PHP]: Only variables should be assigned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\database\mysqldatabase.php line 239
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\xoopsblock.php line 191
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Warning [PHP]: fetch(c:/inetpub/wwwroot/greenewsinc.com/xoops/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\greenewsinc.com\xoops\class\smarty\Smarty.class.php line 1255
Warning [PHP]: fetch(): Failed opening 'c:/inetpub/wwwroot/greenewsinc.com/xoops/templates_c\%%6E^6E8^6E8C036B%%db%3Asystem_block_login.html.php' for inclusion (include_path='.;c:\php4\pear') in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\smarty\Smarty.class.php line 1255
Notice [PHP]: Only variables should be assigned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\header.php line 136
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\include\functions.php line 491
Notice [PHP]: Only variables should be assigned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\database\mysqldatabase.php line 239
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\include\functions.php line 491
Notice [PHP]: Only variables should be assigned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\database\mysqldatabase.php line 239
Notice [PHP]: Only variables should be assigned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\modules\system\blocks\system_blocks.php line 119
Warning [PHP]: fetch(c:/inetpub/wwwroot/greenewsinc.com/xoops/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\greenewsinc.com\xoops\class\smarty\Smarty.class.php line 1255
Warning [PHP]: fetch(): Failed opening 'c:/inetpub/wwwroot/greenewsinc.com/xoops/templates_c\%%42^428^428512AB%%db%3Asystem_block_mainmenu.html.php' for inclusion (include_path='.;c:\php4\pear') in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\smarty\Smarty.class.php line 1255
Notice [PHP]: Only variables should be assigned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\header.php line 136
Notice [PHP]: Only variable references should be returned by reference in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\module.textsanitizer.php line 259
Warning [PHP]: fetch(c:/inetpub/wwwroot/greenewsinc.com/xoops/templates_c\%%20^200^200DC337%%theme.html.php): failed to open stream: No such file or directory in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\smarty\Smarty.class.php line 1248
Warning [PHP]: fetch(): Failed opening 'c:/inetpub/wwwroot/greenewsinc.com/xoops/templates_c\%%20^200^200DC337%%theme.html.php' for inclusion (include_path='.;c:\php4\pear') in file c:\inetpub\wwwroot\greenewsinc.com\xoops\class\smarty\Smarty.class.php line 1248

2
jdseymour
Re: Smarty error immediately after installation

Make sure your template_c and cache folder have permissions set for the built in IUSR account.

3
nshlan
Re: Smarty error immediately after installation
  • 2005/12/18 1:50

  • nshlan

  • Just popping in

  • Posts: 13

  • Since: 2005/12/17


If you read my post again you'll see that I've already given read/write access to the IUSR_machinename.

Just for kicks, I gave the IUSR "full control" permissions on both folders mentioned and received the following errors...

NOTE: The IUSR_machine name has full read/execute permissions on the entire XOOPS directory for testing purposes.


Warning: main(c:/inetpub/wwwroot/greenewsinc.com/xoops/include/common.php): failed to open stream: No such file or directory in c:\inetpub\wwwroot\greenewsinc.com\web\xoops\mainfile.php on line 95

Warning: main(): Failed opening 'c:/inetpub/wwwroot/greenewsinc.com/xoops/include/common.php' for inclusion (include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\greenewsinc.com\web\xoops\mainfile.php on line 95

Warning: main(c:/inetpub/wwwroot/greenewsinc.com/xoops/class/xoopsblock.php): failed to open stream: No such file or directory in c:\inetpub\wwwroot\greenewsinc.com\web\xoops\header.php on line 30

Warning: main(): Failed opening 'c:/inetpub/wwwroot/greenewsinc.com/xoops/class/xoopsblock.php' for inclusion (include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\greenewsinc.com\web\xoops\header.php on line 30

Warning: main(c:/inetpub/wwwroot/greenewsinc.com/xoops/class/template.php): failed to open stream: No such file or directory in c:\inetpub\wwwroot\greenewsinc.com\web\xoops\header.php on line 64

Fatal error: main(): Failed opening required 'c:/inetpub/wwwroot/greenewsinc.com/xoops/class/template.php' (include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\greenewsinc.com\web\xoops\header.php on line 64

4
jdseymour
Re: Smarty error immediately after installation

Then it looks like possible file corruption in transfer, it is complaining about not being able to read files. Did you upload via FTP? Make sure you are using binary mode for PHP file transfer. Just reupload the files should be sufficient to see if the fatal errors go away.

If this is a local machine, no idea of the problem, still could be corruption or permissions, I know if you select the file and choose properties, go to advanced you can get a cumulative assessment of permissions, that may help pin down the problem also. WS2003 sometimes touchy on permissions that may have been denied somewhere else will trickle down to where you need them.

I am not real up to date on Windows Server, but trying to help.

5
nshlan
Re: Smarty error immediately after installation
  • 2005/12/18 9:51

  • nshlan

  • Just popping in

  • Posts: 13

  • Since: 2005/12/17


Due to the issue I've presented, I setup a virtual server...installed windows server 2003 standard edition, install all updates, installed iis6, installed php 4.4.1, MySQL 4.1.15 and XOOPS 2.0.13.2 (fresh download) no permissions set except allow *everyone full control* and the error persists... o_O

6
jdseymour
Re: Smarty error immediately after installation

Try IIS-Resources for some other hints.

Matter of fact here is an Article of Interest on the site.

Login

Who's Online

452 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 452


more...

Donat-O-Meter

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

Latest GitHub Commits