-
-
Notifications
You must be signed in to change notification settings - Fork 451
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
phpFastCache::$sys['method'] = "pdo"; #24
Comments
Hi, Can you help me on these data:
I will take a look and finish it for u fast. I am very interesting on your errors, so please help me gather these info, to help me know extractly about this error. |
It shows on this line in my code: $recentArticles = phpFastCache::get("recentArticles"); As I have written, it works ok when I manually add: phpFastCache::$sys['method'] = "pdo" line to the code. As a side note, the testing.php also shows an error when I remove: phpFastCache::debug(phpFastCache::systemInfo()); line from it:
It it would take too much time to find a possible cause, please don’t bother your head about it - maybe it's just one strange case with my non-standard shared server? |
thank you, Can you help 1 more? Please come back to your testing.php , then Press CTRL + F , search "pdo_sqlite" The problem is maybe your server don't have "pdo_sqlite" , and my php_fast_cache force your server to use PDO, so the prepare statement not working. If your server don't have "pdo_sqlite", then I will make a fast update for my script / ignore pdo. Please check it, and let me know.If you trust me, can you email me your link to testing.php ( the original , not edit anything ), my email is "khoaofgod@yahoo.com", I will look at your server specs of phpinfo(); and find out what problems to improve php_fast_cache.php Khoa, |
Here is pdo_sqlite:
If you need more information from phpinfo() (I cannot send you mine, but here is phpinfo example from my hosting: http://home.pl/files/phpinfo.php), please write. Thank you for your answers! |
Thanks man, |
Ola, @ks-git I found the problem, it is a big bug from the patched at May 31 ( last 5 days ago ). On May 31, We did fix the always re-config bug to improve the speed of server faster, but when I applied that patched, I totally don't know that I have to do to self::$sys = $info; Thanks for your issue report again, Please re-download php_fast_cache.php again, in header it should show 6/4/2013 11 AM. Your issues help me fix the class right away, if you don't report this issue, I wonder how many people will get same errors as you. Have a nice day man, I have to run to my company, I am late already. Hahaha. |
I confirm that new version is working without error. Thank you for your work! |
Hi khoaofgod, I get the same error
Code to reproduce: $nada = phpFastCache::get("nada");
phpFastCache::$storage = "auto";
phpFastCache::set("nada", array(), 864000); //10 days
Thanks in advance for any help |
hi @ks-git , can you do me a favor? Please download current version , and run it under your server to see if the current version still have problem or not. @mbenabda , thanks for report to me. I have to wait @ks-git confirming his error still on current version 616 or not. But if @ks-git 's problem not here anymore, then your problem is different. Maybe PHP version 5.4.7 have something that I have to take a look. I will take care this problem for you soon, @mbenabda |
Hello Yes, I get 'Fatal error: Call to a member function prepare() on a non-object in php_fast_cache.php on line 1575' in Revision 616 |
Thank you, have a small change on PHP 5.4, I have fixed it already. |
Rev 617 works OK. |
thanks for the fix, it works for me as well. |
I have a "Call to a member function prepare() on a non-object in /php_fast_cache.php on line 1536" Fatal error when trying to: $recentArticles = phpFastCache::get("recentArticles");
This problem disappears when I add a 'phpFastCache::$sys['method'] = "pdo";' line to the code. Why is it so?
The text was updated successfully, but these errors were encountered: