1
JDLamb
Life type
  • 2008/12/29 12:16

  • JDLamb

  • Just popping in

  • Posts: 40

  • Since: 2008/11/10


I have attempted to install lifetype. All I get is a blank page, and the error message is as follows:

Fatal error: require_once() [function.require]: Failed opening required 'SMARTY_DIR/Smarty.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/abarrelf/public_html/main/modules/lifetype/class/template/template.class.php on line 20
All errors (2) queries (5) blocks (0) extra (0) timers (3)

Where do I find the smarty directory?

2
dslchart
Re: Life type
  • 2008/12/29 12:36

  • dslchart

  • Not too shy to talk

  • Posts: 112

  • Since: 2008/9/7 1


Quote:
'SMARTY_DIR/Smarty.class.php'


i think SMARTY_DIR is your problem. the constance SMARTY_DIR is not defined.

3
JDLamb
Re: Life type
  • 2008/12/30 9:20

  • JDLamb

  • Just popping in

  • Posts: 40

  • Since: 2008/11/10


Forgive the ignorance, but where should it be defined.


4
ghia
Re: Life type
  • 2008/12/30 10:03

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It is defined in /class/template.php and derives from XOOPS_ROOT_PATH. Check if the definition for XOOPS_ROOT_PATH in your mainfile.php is correct.

5
awf2000
Re: Life type
  • 2009/1/1 11:53

  • awf2000

  • Just popping in

  • Posts: 44

  • Since: 2007/5/7 5


I got the same error, but I try:


in file /modules/lifetype/class/template/template.class.php line 20
require_onceĀ XOOPS_ROOT_PATH.'/class/smarty/Smarty.class.php';


And this work for me

6
JDLamb
Re: Life type
  • 2009/1/2 9:16

  • JDLamb

  • Just popping in

  • Posts: 40

  • Since: 2008/11/10


awf2000

Thanks that works for me too, except that the blog doesn't appear within Xoops, but rather looks like a stand alone application.

I don't think I will use this module.

7
sailjapan
Re: Life type

similar problems here, but with the following errors
Quote:
Warning: Smarty error: problem writing temporary file './tmp/1/wrt495e5b6f51322' in file /class/smarty/Smarty.class.php line 1092
Warning: Smarty::include() [function.Smarty-include]: Unable to access ./tmp/1/%%40^406^406BB847%%main.template.php in file /class/smarty/Smarty.class.php line 1262
Warning: Smarty::include(./tmp/1/%%40^406^406BB847%%main.template.php) [function.Smarty-include]: failed to open stream: No such file or directory in file /class/smarty/Smarty.class.php line 1262
Warning: Smarty::include() [function.include]: Failed opening './tmp/1/%%40^406^406BB847%%main.template.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file /class/smarty/Smarty.class.php line 1262
Warning: Smarty error: problem writing temporary file './tmp/1/wrt495e5b6f522c3' in file /class/smarty/Smarty.class.php line 1092

Any ideas?
Never let a man who does not believe something can be done, talk to a man that is doing it.

Login

Who's Online

333 user(s) are online (257 user(s) are browsing Support Forums)


Members: 0


Guests: 333


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