Rev error on apache

Status
Not open for further replies.

Sledmur

Web-Developer
Nov 29, 2011
459
98
Fatal error: Class 'Library_Cache_' not found in /SECRET/Application/Rev/Loader.php on line 38

Is my php just not loading caching? Not entirely sure here.
 

Heaplink

Developer & Designer
Nov 9, 2011
510
173
Fatal error: Class 'Library_Cache_' not found in /SECRET/Application/Rev/Loader.php on line 38

Is my php just not loading caching? Not entirely sure here.

This is a common error, happens to me too. We're currently looking at the installation process that might make a mistake. Until then you can use this string;

PHP:
<?php if(!defined('IN_INDEX')) die;
return 'O:8:"stdClass":8:{s:4:"site";O:8:"stdClass":10:{s:4:"name";s:3:"Rev";s:5:"title";s:9:"Rev Hotel";s:9:"server_ip";s:9:"127.0.0.1";s:13:"external_vars";s:25:"http://localhost/ext_vars";s:14:"external_texts";s:25:"http://localhost/ext_txts";s:12:"product_data";s:16:"http://localhost";s:10:"furni_data";s:25:"http://localhost/fur_data";s:3:"url";s:17:"http://localhost/";s:10:"production";b:1;s:11:"prouct_data";s:9:"undefined";}s:4:"skin";O:8:"stdClass":5:{s:4:"name";s:5:"Habbo";s:6:"driver";s:3:"Rev";s:4:"page";O:8:"stdClass":1:{s:7:"default";s:5:"index";}s:6:"mobile";O:8:"stdClass":2:{s:7:"enabled";b:1;s:4:"name";s:7:"Icecron";}s:8:"pagedata";O:8:"stdClass":1:{s:7:"default";s:7:"Suelake";}}s:8:"language";O:8:"stdClass":1:{s:4:"name";s:7:"English";}s:2:"DB";O:8:"stdClass":3:{s:8:"emulator";s:7:"Phoenix";s:5:"mysql";O:8:"stdClass":4:{s:4:"host";s:9:"127.0.0.1";s:4:"user";s:4:"root";s:4:"pass";s:0:"";s:8:"database";s:7:"rev_cms";}s:6:"driver";s:10:"SQL_MySQLi";}s:4:"user";O:8:"stdClass":6:{s:5:"motto";s:12:"*****.COM";s:7:"credits";s:4:"1337";s:6:"pixels";s:4:"1337";s:4:"rank";s:1:"1";s:6:"figure";s:1:"-";s:6:"gender";s:1:"m";}s:6:"social";O:8:"stdClass":2:{s:8:"facebook";s:11:"*****COM";s:7:"twitter";s:11:"*****COM";}s:3:"acl";O:8:"stdClass":16:{s:13:"administrator";s:3:"6,7";s:9:"moderator";s:7:"4,5,6,7";s:3:"vip";s:1:"3";s:3:"ban";s:7:"4,5,6,7";s:8:"iplookup";s:7:"4,5,6,7";s:6:"addbot";s:5:"5,6,7";s:7:"editbot";s:5:"5,6,7";s:5:"badge";s:3:"6,7";s:4:"user";s:3:"6,7";s:3:"mus";s:1:"7";s:8:"roomaker";s:1:"7";s:10:"wordfilter";s:3:"6,7";s:7:"addnews";s:5:"5,6,7";s:8:"editnews";s:5:"5,6,7";s:11:"addcampaign";s:3:"6,7";s:13:"configuration";s:1:"7";}s:5:"cache";O:8:"stdClass":4:{s:4:"file";O:8:"stdClass":1:{s:4:"time";i:86400;}s:8:"memcache";O:8:"stdClass":1:{s:7:"servers";s:15:"127.0.0.1:11211";}s:3:"apc";O:8:"stdClass":1:{s:4:"time";i:86400;}s:7:"session";O:8:"stdClass":2:{s:4:"type";s:6:"Native";s:14:"gc_maxlifetime";i:86400;}}}'; ?>

Just replace it with the one in Config/Config.php

IMPORTANT NOTICE!
The string is an sanitized object. Find the correct part of the string where the keys user, pass and database is;
PHP:
"user";s:4:"root";s:4:"pass";s:0:"";s:8:"database";s:7:"rev_cms"
You can see the numbers. They mean the length of the value. Key user's value is root which is 4 characters long, therefore it has a 4 before the value. Same goes with all other keys and values. If you don't change the number to the character length of the values, it will throw an error and will NOT work.
 
Status
Not open for further replies.

Users who are viewing this thread

Top