Home »
FUDforum »
How To »
paths and stuff me thinks
paths and stuff me thinks [message #35136] |
Mon, 11 December 2006 14:12 |
bleak26
Messages: 7 Registered: December 2006
Karma:
|
Junior Member |
|
|
When i include this file from one of my other files i get the errors at the bottom of this post.this file works when its not included and is called from the browser. Could u tell me what would normally cause this problem.
the calling file is likly to be to large post. Both files are in the same folder and i call the file below like this
include('simplelogin.php');
<?php
//simplelogin.php
include("../../FUDforum/scripts/GLOBALS.php");
include("../../FUDforum/scripts/forum_login.php");
//$row[] is a database result from else where
$email = $row['email'];
$email = "bleak26(at)hotmail(dot)com";
$user_id = external_get_userid_by_email($email);
external_fud_login($user_id);
?>
Warning: file_get_contents(./GLOBALS.php) [function.file-get-contents]: failed to open stream: No such file or directory in /var/www/vhosts/FUDforum/scripts/forum_login.php on line 79
Warning: require_once(theme/default/db.inc) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/FUDforum/scripts/forum_login.php on line 89
Fatal error: require_once() [function.require]: Failed opening required 'theme/default/db.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/vhosts/FUDforum/scripts/forum_login.php on line 89
|
|
|
Goto Forum:
Current Time: Thu Nov 28 11:17:07 GMT 2024
Total time taken to generate the page: 0.04456 seconds