Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 10:02 am EST
Geeklog Forums
Don't know the correct syntax
Paul
Anonymous
Hello, Please bear with me as I'm a newbie. I believe I have everything installed correctly for the most part, except I get this error when I try to go to the index.php page:
Warning: main(/www/htdocs/geeklog/config.php/system/classes/timer.class.php): failed to open stream: Not a directory in /www/htdocs/geeklog/public_html/lib-common.php on line 114
Fatal error: main(): Failed opening required '/www/htdocs/geeklog/config.php/system/classes/timer.class.php' (include_path='.:/www/php/lib/php') in /www/htdocs/geeklog/public_html/lib-common.php on line 114
So...I go to line 114 of the lib-common.php file and this is what it says:
require_once( $_CONF['path_system'] . 'classes/timer.class.php' );
The comments say I shouln't have to touch any of this, but I tend to mess up the directory structure sometimes.
Please help.
Thanks,
Paul
Warning: main(/www/htdocs/geeklog/config.php/system/classes/timer.class.php): failed to open stream: Not a directory in /www/htdocs/geeklog/public_html/lib-common.php on line 114
Fatal error: main(): Failed opening required '/www/htdocs/geeklog/config.php/system/classes/timer.class.php' (include_path='.:/www/php/lib/php') in /www/htdocs/geeklog/public_html/lib-common.php on line 114
So...I go to line 114 of the lib-common.php file and this is what it says:
require_once( $_CONF['path_system'] . 'classes/timer.class.php' );
The comments say I shouln't have to touch any of this, but I tend to mess up the directory structure sometimes.
Please help.
Thanks,
Paul
5
6
Quote
Paul
Anonymous
After further review of the error, it appears as if it is looking for timer.class.php in a string called /www/htdocs/geeklog/config.php/system/classes. I would think that it is getting /www/htdocs/geeklog/config.php part of the string from the lib-common.php file on line 70. I did alter this line according to the comments in the file which I have included below.
Thanks in advance for your help.
Paul
/**
* Configuration Include: You should ONLY have to modify this line.
* Leave the rest of this file intact!
*
* Make sure to include the name of the config file,
* i.e. the path should end in .../config.php
*/
require_once( '/www/htdocs/geeklog/config.php' );
Thanks in advance for your help.
Paul
/**
* Configuration Include: You should ONLY have to modify this line.
* Leave the rest of this file intact!
*
* Make sure to include the name of the config file,
* i.e. the path should end in .../config.php
*/
require_once( '/www/htdocs/geeklog/config.php' );
4
5
Quote
Paul
Anonymous
I figured it out
Now I have another problem. I'll be back if I can't figure that out.
Thanks,
Paul
Now I have another problem. I'll be back if I can't figure that out.
Thanks,
Paul
5
4
Quote
Paul
Anonymous
I guess I should say what was wrong. Instead of pointing to the directory that contained config.php, I was point to that file, hence the config.php in the string mentioned in my first post. I just pointed to /www/htdocs/geeklog instead of /www/htdocs/geeklog/config.php
Thanks,
Paul
Thanks,
Paul
6
5
Quote
All times are EST. The time is now 10:02 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