Re: PHP & smarty - nested queries and arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Amanda Hemmerich <ahemmeri@xxxxxxxxxxx>:
> I'm using PHP and Smarty to try to build an array of arrays using the 
> results from nested queries.  I am just learning about nested arrays, 
> and I'm not sure what I'm doing wrong.
>  
> I am hoping someone can give me a hint as to what I am doing wrong.  I 
> looked on php.net, but still couldn't figure it out.
>  
> If I remove the PHP foreach loop, it works fine, except, of course, no 
> sub projects show up.   The error must be in there, but I'm just not 
> seeing it.
>  
> I get the following error with the code below:
>      
> Warning: Smarty error: unable to read resource: "welcome/Object.tpl" in 
> /usr/local/lib/php/Smarty/Smarty.class.php on line 1088

Actually, this error indicates it either cannot find or open the
template file. make sure you have a 'welcome' directory in your
templates directory, and an Object.tpl file within -- and that they have
permissions such that the web server can open them.

-- 
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux