Jump to content

Archived

This topic is now archived and is closed to further replies.

hobojjr

Call to a member function on a non-object

Recommended Posts

get this error "Call to a member function on a non-object"

at this line

$d=dir(getcwd());
while (false !== ($entry = $d->read())) {

what gives?

Share this post


Link to post
Share on other sites
I think getcwd required chmod settings to high (755 or 777)
Try this as well

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.