Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 09:35 pm EST
Geeklog Forums
failed to open stream: HTTP request failed??????
Jeannette
Anonymous
I've uploaded all the Geeklog files, given them the right CHMODD and created a database using PHPhelp (something): anyway: what does this mean:
Warning: main(http://63.247.129.78/~rierink/system/databases/mysql.class.php): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/rierink/system/lib-database.php on line 114
Fatal error: main(): Failed opening required 'http://63.247.129.78/~rierink/system/databases/mysql.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rierink/system/lib-database.php on line 114
10
6
Quote
Jeannette
Anonymous
Thanks for your response.
I should not put the config-file in the public_html as far as I know, right?
I put those files out of the document root (which is public_html). How should my config-file look then?
Now the line says:
// This should point to the directory where your config.php file resides.
$_CONF['path'] = '/'; // should end in a slash
because there is no higher/extra directory as far as I know, but if there is, how do I know what it is called? That's why I put in the www. of the site.
Now the install.php in my browser says:
<b>Warning: main(/system/databases/mysql.class.php): failed to open stream: No such file or directory in /home/rierink/system/lib-database.php on line 114
Fatal error: main(): Failed opening required '/system/databases/mysql.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php' in /home/rierink/system/lib-database.php on line 114</b>
My lib-common: require_once( '/public_html/config.php' );
Wrong?
Yes, I did read the manual, and I still do'nt know what is going wrong.
I know it means that in config.php my path is wrong, but from the original file the "/path/to/geeklog/'" which I should change is not really obvious to me.
What is the 'geeklog' in this context? Where my config.php resides!
And where does it reside? outside the root? :kickcan:
I should not put the config-file in the public_html as far as I know, right?
I put those files out of the document root (which is public_html). How should my config-file look then?
Now the line says:
// This should point to the directory where your config.php file resides.
$_CONF['path'] = '/'; // should end in a slash
because there is no higher/extra directory as far as I know, but if there is, how do I know what it is called? That's why I put in the www. of the site.
Now the install.php in my browser says:
<b>Warning: main(/system/databases/mysql.class.php): failed to open stream: No such file or directory in /home/rierink/system/lib-database.php on line 114
Fatal error: main(): Failed opening required '/system/databases/mysql.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php' in /home/rierink/system/lib-database.php on line 114</b>
My lib-common: require_once( '/public_html/config.php' );
Wrong?
Yes, I did read the manual, and I still do'nt know what is going wrong.
I know it means that in config.php my path is wrong, but from the original file the "/path/to/geeklog/'" which I should change is not really obvious to me.
What is the 'geeklog' in this context? Where my config.php resides!
And where does it reside? outside the root? :kickcan:
9
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Jeannette: Now the line says:
// This should point to the directory where your config.php file resides.
$_CONF['path'] = '/'; // should end in a slash
because there is no higher/extra directory as far as I know, but if there is, how do I know what it is called?
// This should point to the directory where your config.php file resides.
$_CONF['path'] = '/'; // should end in a slash
because there is no higher/extra directory as far as I know, but if there is, how do I know what it is called?
That's what the "hint" at the bottom of the install script is for. You will see that the proper path is actually longer.
Or you can extract the same information from the error message:
Quote by Jeannette: Warning: main(/system/databases/mysql.class.php): failed to open stream: No such file or directory in /home/rierink/system/lib-database.php on line 114
So it seems your $_CONF['path‘] should be '/home/rierink/'.
bye, Dirk
6
9
Quote
All times are EST. The time is now 09:35 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