Comments (8)
hi there, can you open your php_fast_cache.php and let me know the revision on header.
It should be "616" latest version.
From: Stian Walgermo [email protected]
To: khoaofgod/phpfastcache [email protected]
Sent: Friday, June 21, 2013 4:10 AM
Subject: [phpfastcache] Fatal error: Call to a member function prepare() (#26)
HI,
I just downloaded the script and tested it, but i am getting this error when testing.php
Caching = auto
SET 1 -->
Fatal error: Call to a member function prepare() on a non-object in /public_html/phpfastcache/php_fast_cache.php on line 1665
β
Reply to this email directly or view it on GitHub.
from phpfastcache.
look like this problem happened on PHP 5.4
Can you confirm your PHP version, bro?
from phpfastcache.
Sorry for the late response, i am using PHP Version: 5.3.18 and i got the newest revision, 616 :)
from phpfastcache.
Hi @Walgermo ,
Can you delete the folder name "cache" or "cache.storage" or whatever "cache" created when you run testing.php
And then try again. Let me know about it. I will fix it for you.
from phpfastcache.
I get the same error-message :/
Caching = auto
SET 1 -->
Fatal error: Call to a member function prepare() on a non-object in /home/walgermo/public_html/phpfastcache/php_fast_cache.php on line 1665
My settings ins phpfastcache:
public static $storage = "pdo"; // PDO | mpdo | Auto | Files | memcache | apc | wincache | xcache
public static $files_cleanup_after = 1; // hour | auto clean up files after this
public static $autosize = 40; // Megabytes
public static $path = ""; // PATH/TO/CACHE/ default will be current path
public static $securityKey = "cache.storage"; // phpFastCache::$securityKey = "newKey";
public static $option = array();
public static $server = array(array("localhost",11211)); // for MemCache
public static $useTmpCache = false; // use for get from Tmp Memory, will be faster in checking cache on LOOP.
public static $debugging = false; // turn true for debugging
private static $step_debugging = 0;
from phpfastcache.
I have fixed it. Reivision 617 have been updated.
Just re-download, and let me know if any problem.
from phpfastcache.
Thanks!
No errors on the test now. It can also be set to auto without errors :)
from phpfastcache.
Cool...
Have a nice day
from phpfastcache.
Related Issues (20)
- Website broken - Unable to browse any documentation page HOT 6
- PDO Cache is case insensitive? HOT 4
- Proper way to preload cache items with crontab HOT 14
- Memcached driver compress_data cache miss HOT 4
- Config('path') - Can't declare path from the parent directory of index file directory. HOT 6
- Installation fails: 'Fatal error: Uncaught Error: Class "CacheManager" not found ...' HOT 3
- getItemsByTag() - empty after one item has expired HOT 10
- CanΒ΄t retrieve phpfastcache 9.1.3 thru composer HOT 7
- Saving an item that is already in the pool after its expiration time fails HOT 13
- 2 million data cache? HOT 5
- Storing and retrieving mysql result arrays using Psr16Adapter HOT 4
- Deleting cache by tag without loading all its cache HOT 3
- cache not clearing manually in html HOT 2
- Disable 'securityKey' and adapter directory. HOT 9
- Cache clear() not working with Redis, getItem() still returns data HOT 2
- How to use memcache on v8 ? HOT 3
- Support custom native RedisCluster client HOT 9
- TypeError Phpfastcache\Drivers\Files\Driver::driverRead(): Return value must be of type ?array, bool returned HOT 13
- Memory size exhausted by deleting by Tags HOT 10
- Save - Inside workerman event threads Save() throws fopen() error HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpfastcache.