|
|
I can't get 0.5.3 to work (AT ALL)
- General Posted by Gregory (Saturday November 10 2001 @ 09:22PM EST) views: 258 |
Any one got any ideas as to why this is happening.
Fatal error: Cannot redeclare cache() in /home/1490/devres/www.developers-resources.com/public_html/include/cache.inc.php on line 168
/* Caches $object based on $key for $cachetime, will return 0 if the
object has expired or the object does not exist. */
function cache($cachetime, $object, $key=NULL) {
global $cache_pbufferlen, $cache_absfile, $cache_file, $cache_data, $cache_expire_cond;
if (!CACHE_ON) {
cache_debug("Not caching, CACHE_ON is off");
return 0;
}
|
|
By jason (Thursday November 15 2001 @ 09:59PM EST)
|
Cache is becoming a real problem. I have no idea why this is failing for so many people. I will be stripping out this cacheing system for now.
|
[ reply | parent ]
|
By Nicklas (Friday November 16 2001 @ 05:49PM EST)
|
I agree - it is too dependent on the compilation variables of your PHP version. Unless you can find some way to make it independent of these specific functions.....
|
[ reply | parent ]
|
By Gregory (Monday November 19 2001 @ 12:30AM EST)
|
Hi Jason
I think that might be a good idea I've heard mixed things about this kind of cacheing system anyway.
The JavaScript problems, most of which really should be dealt with on the server side are still a issue.
Templateing, html output vaildation issues are in my mind the also outstanding areas in my mind which need to be addressed by the group. Has Weblog been fully tested for on all platforms and browers?
Anyway apart from that I still think phpweblog is with out question the No.1 :D PHP OSS blog around.
Gregory
|
[ reply | parent ]
|
By pHead (Thursday December 20 2001 @ 06:23AM EST)
|
I just installed pwl053 from scratch and had the same problem. im using win2000/apache/PHP4.0.6 ! what i did was update PHP to 4.1.0 and the error was gone.
if i TURN ON cache-debugging i get the following messages:
Debug: Caching based on OBJECT=http://localhost/d:\php3\php.exe//newsplus//a:0:{}:a:0:{} KEY=Config
Debug: Failed to open previous cache of d:/webs.new/newsplus/backend/cache/pwlCache.httpXXXlocalhostXdXXphp3XphpXexeXXnewsplusXXaX0XXXXaX0XXX=Config
Debug: Adding CONF to the variable store
Debug: Setting variable CONF to Array
Debug: Caching based on OBJECT=http://localhost/d:\php3\php.exe//newsplus//a:0:{}:a:0:{} KEY=Content
Debug: Failed to open previous cache of d:/webs.new/newsplus/backend/cache/pwlCache.httpXXXlocalhostXdXXphp3XphpXexeXXnewsplusXXaX0XXXXaX0XXX=Content
Debug: Adding CONTENT to the variable store
Debug: Setting variable CONTENT to Array
but if i TURN OFF cachedebugging, everything seems to work allright...
|
[ reply | parent ]
|
|
|
|