Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 08:46 am EST
Geeklog Forums
Fatal error installing Bad Behaviour
Status: offline
barrywong
Forum User
Regular Poster
Registered: 04/12/02
Posts: 95
I downloaded Bad_behaviour_1.2.4_1.3.10.tar.gz and am trying to install it on my Geeklog 1.3.11sr3.
I got to step 4 without problems. When I got t step 5:
5) Edit your lib-common.php file. Find the line where the lib-database.php is
included:
require_once( $_CONF['path_system'] . 'lib-database.php' );
AFTER that line, add:
require_once( $_CONF['path_html'] . '/bad_behavior/bad-behavior-geeklog.php' );
When I added the above line of code on Lin 190 of lib-common-php, I immediately got the following error message on my browser:
Fatal error: Failed opening required '/to my geeklog directory/public_html//bad_behavior/bad-behavior-geeklog.php' (include_path='/to my geeklog directory/system/pear/:.:/usr/share/php') in /to my geeklog directory/public_html/lib-common.php on line 190
I noticed that the is a double // between public_html and bad_behaviour.
Can anyone help me?
Thank you
I got to step 4 without problems. When I got t step 5:
5) Edit your lib-common.php file. Find the line where the lib-database.php is
included:
require_once( $_CONF['path_system'] . 'lib-database.php' );
AFTER that line, add:
require_once( $_CONF['path_html'] . '/bad_behavior/bad-behavior-geeklog.php' );
When I added the above line of code on Lin 190 of lib-common-php, I immediately got the following error message on my browser:
Fatal error: Failed opening required '/to my geeklog directory/public_html//bad_behavior/bad-behavior-geeklog.php' (include_path='/to my geeklog directory/system/pear/:.:/usr/share/php') in /to my geeklog directory/public_html/lib-common.php on line 190
I noticed that the is a double // between public_html and bad_behaviour.
Can anyone help me?
Thank you
6
4
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
That extra slash is actually a mistake in the installation instructions. Shouldn't have any negative impact, though.
So the extra line to be added to lib-common.php should really read
bye, Dirk
So the extra line to be added to lib-common.php should really read
Text Formatted Code
require_once( $_CONF['path_html'] . 'bad_behavior/bad-behavior-geeklog.php' );bye, Dirk
3
3
Quote
All times are EST. The time is now 08:46 am.
- 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