Re: Invalid directory resource, part 2
| From: | John Fuetsch | Date: | Thu, 13 Jul 2000 05:31:40 +0000 |
| Subject: | Re: Invalid directory resource, part 2 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6383@lists.php.net to get a copy of this message | ||
Actually, I submitted the same problem to the Bug Database and it's a real
bug, fixed in 4.0.1 pl2 Thanks for your suggestions though!
John
"Richard Lynch" <richard@zend.com> wrote in message
news:richard-1207002052100001@12-190.001.popsite.net...
> In article <003a01bfe91e$0db01f00$90c864ce@john>, terranlune@yahoo.com
> ("John Fuetsch") wrote:
>
> > I forgot to mention a couple of things. The way the site works is it's
=
> > one file that has a ?id=3Dwhatever in the address. whatever is then =
> > looked up in a database and corresponding data is pumped out through a =
> > template. So, after further testing, it seems that sometimes when the =
> > page is reloaded (with or without a different id) sometimes the =
> > directory resource id doesn't change, and then I get the invalid =
> > warning. So, is there a way to somehow reset the directory resource id?
=
> > Or maybe have it get a new one each time? (reliably)
>
> So you're probably changing the current working directory without
> realizing it in one of your templates...
>
> Full pathname will fix it, or use file system functions to figure out
> where you are and error out if it's not where image/thumb is so you can
> change the template, or...
> --
> Richard Lynch | If this was worth $$$ to you, buy a CD
> US Customer Support Director | from one of the artists listed here:
> Zend Technologies USA | http://www.L-I-E.com/artists.htm
> http://www.zend.com | (this has nothing to do with
> Zend, duh!)
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>