Welcome to Geeklog, Anonymous Tuesday, December 24 2024 @ 12:08 pm EST
Geeklog Forums
lib-common.php error!
Anonymous
Anonymous
i have the gameserver, when i edit the lib-common.php file like this:
require_once( $_CONF['path_system'] . 'C:/skin/geeklog-1.3.7sr1/system/classes/timer.class.php' );
$_PAGE_TIMER = new timerobject();
$_PAGE_TIMER->startTimer();
and i look in my brower there (the index.php file) is this error:
Fatal error: Failed opening required '/path/to/geeklog/system/C:/skin/geeklog-1.3.7sr1/system/classes/timer.class.php' (include_path='.;c:php4pear') in Crogram FilesApache GroupApache2htdocslib-common.php on line 101But in the lib-common.php the is :// +---------------------------------------------------------------------------+
// | Library Includes: You shouldn't have to touch anything below here |
// +---------------------------------------------------------------------------+
/**
* Include page time -- used to time how fast each page was created
*
*/
require_once( $_CONF['path_system'] . 'C:/skin/geeklog-1.3.7sr1/system/classes/timer.class.php' );
$_PAGE_TIMER = new timerobject();
$_PAGE_TIMER->startTimer();
So i dont have to change it! but i dont change it i get this error:
Fatal error: Failed opening required '/path/to/geeklog/system/classes/timer.class.php' (include_path='.;c:php4pear') in Crogram FilesApache GroupApache2htdocslib-common.php on line 101
Can anyone help me?
3
7
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
What are you doing there - and why?
You only need to change one line in lib-common.php, and that's the very first "require_once" line that reads
require_once( '/path/to/geeklog/config.php' );
All the other paths you need to change (only one or two, actually, depending on your setup) are in config.php. That is where the "/path/to/geeklog" comes from.
May I suggest that you read the installation instructions again carefully?
bye, Dirk
5
4
Quote
All times are EST. The time is now 12:08 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content