Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 05:55 am EDT

Geeklog Forums

failed to open stream: HTTP request failed??????


Jeannette

Anonymous
awake
Banging your head

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
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You're confusing paths and URLs. $_CONF['path'] should - as the name suggests - be the path on your webserver's file system.

bye, Dirk
 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'Wink 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:
 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?

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
 Quote

All times are EDT. The time is now 05:55 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