Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: readdir() expects parameter 1 to be resource, string given in phpfastcache.php line 148 #34

Closed
drakenm opened this issue Aug 12, 2013 · 6 comments
Assignees

Comments

@drakenm
Copy link

drakenm commented Aug 12, 2013

Warning: readdir() expects parameter 1 to be resource, string given in phpfastcache.php line 148

I'm not quite sure what this means but here is my script:
$cache = phpFastCache();
$full_product_list = $cache->get("products");
if ($full_product_list == null)
{
$full_product_list = $dbh->fetch_rows($query_products);
$cache->set("products",$full_product_list, 5); // 600
}

@drakenm
Copy link
Author

drakenm commented Aug 12, 2013

PHP ver is 5.3
using phpfastcache 2.1
I realize this will go away when I turn error reporting off... but I was wondering if this could cause a problem for me later on

@ghost ghost assigned khoaofgod Aug 14, 2013
@khoaofgod
Copy link
Member

I'm checking it for you rigth now

@khoaofgod
Copy link
Member

Fixed it, please try again, and let me know. If still have bugs.
Please visit http://www.codehelper.io , and give me a post here.

@drakenm
Copy link
Author

drakenm commented Aug 19, 2013

Thank you! Problem solved!! I will use http://www.codehelper.io from now on, thanks for your excellent tool!

@LisaYF
Copy link

LisaYF commented Jan 12, 2018

still not

@Geolim4
Copy link
Member

Geolim4 commented Jan 12, 2018

@LisaYF Please open a new topic if you got an issue, thanks you.

@PHPSocialNetwork PHPSocialNetwork locked as resolved and limited conversation to collaborators Jan 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants