For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > May 2004 > smarty does not work on second page









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author smarty does not work on second page
Michael Young

2004-05-24, 11:45 am

Hi,
My problem is this. In index.php, smarty seems to work fine.
but then a.php runs and smarty gives this error:
Fatal error: Call to a member function assign() on a non-object in
/path/to/files/a.php on line 14

I've tryed in a.php:
include smarty.class.php
it does nothing.

what am I doing wrong?

thank you for your time.

Michael
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com