Fatal Error: Main(): Failed Opening Required 'DB.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')


Feb 22, 2006

I installed PEAR HTTP_Upload to my new server and now im getting this error when runnign the script.

View 2 Replies


ADVERTISEMENT

Fatal Error: Main(): Failed Opening Required

Warning: main(common/config_db.php): failed to open stream: No such file or directory in /home2/ianbr/public_html/inc/head.index.php on line 6

Fatal error: main(): Failed opening required 'common/config_db.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/ianbr/public_html/inc/head.index.php on line 6.

View 4 Replies

Require_once :: Fatal Error: Main(): Failed Opening Required

Fatal error: main(): Failed opening required 'c:************SMS xtmessageClass.php' (include_path='.;c:php4pear') in c:************SMSmobile.php on line 2

I know I have all the code right. I'm not really sure what this means or why this error is happening.

View 1 Replies

Apache - Fatal Error Failed Opening Required File?

I am getting the following error from Apache

[Sat Mar 19 23:10:50 2011] [warn] mod_fcgid: stderr: PHP Fatal error: require_once() [function.require]: Failed opening required '/common/configs/config_templates.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in/home/viapics1/public_html/common/configs/config.inc.php on line 158

I am definately not an expert of Apache but the file config.inc.php & config_templates.inc.php are there. I also tried navigating to a test.html page I placed in common/configs/ so I assume there is no rights issues going on. I also set the rights on config_templates.inc.php to give everyone read, write, and execute rights. Not sure what to do at this point, I checked to see if there was a /usr/share/php directory and I found there was not but when I did yum install php it said it had the latest.

View 2 Replies

Fatal Error: Require_once() [function.require]: Failed Opening Required

I am working in php project, its giving the error as:

Warning:

require_once(ROOT_PATH/lib/confs/Conf.php) [function.require-once]: failed to open stream: No such file or directory in ..htdocsGProjectlibexceptionExceptionHandler.php on line 20

Fatal error: require_once() [function.require]: Failed opening required 'ROOT_PATH/lib/confs/Conf.php' (include_path='.;C:php5pear') in ..htdocsGProjectlibexceptionExceptionHandler.php on line 20

But in ExceptionHandler.php file, the 20th line is

require_once ROOT_PATH . '/lib/confs/Conf.php';

And I have the file Conf.php under the lib/confs/Conf.php itself, even though I am getting the error.

View 3 Replies

Failed Opening Required 'HTTP/Request2' (include_path='.;C: 5pear')?

I test in my localhost(my localhost path is e:www), my system is windows xp sp3, My php version is 5.2.11, the path is C:Program FilesphpStudyPHP5, I run go-pear.bat in this path and finished install the pear, now the pear path is in C:Program FilesphpStudyPHP5PEAR(under the folder contains .channels,.registry, OS, PEAR, .depdb, .depdblock, .filemap, .lock, go-pear.phar), then I run C:Program FilesphpStudyPHP5PEAR_ENV.reg and modify the php.ini,

; Windows: "path1;path2"
include_path = ".;C:Program FilesphpStudyPHP5PEAR"

After restart the apache, I test a simple code which copy from pear's website.

<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2('http://pear.php.net/', HTTP_Request2::METHOD_GET);
try {[code]....

but it return

Warning: require_once(HTTP/Request2.php) [function.require-once]: failed to open stream: No such file or directory in E:wwwct1.php on line 2

Fatal error: require_once() [function.require]: Failed opening required 'HTTP/Request2.php' (include_path='.;C:php5pear') in E:wwwct1.php on line 2

View 2 Replies

Fatal Error: Call To A Member Function On A Non-object - Warning: Main(): Failed Opening 'languages/'

I am getting this error

Warning: main(languages/): failed to open stream: No such file or directory in /home/lunar/domains/lunarbattles.com/public_html/sched_xenobe.php on line 17

Warning: main(): Failed opening 'languages/' for inclusion (include_path='.:/usr/local/lib/php') in /home/lunar/domains/lunarbattles.com/public_html/sched_xenobe.php on line 17

Fatal error: Call to a member function on a non-object in /home/lunar/domains/lunarbattles.com/public_html/sched_xenobe.php on line 25

I can fix the languages thing, but the fatal error below is the file with line 25 marked, can somone give me a clue what its saying or look for some inproper usage or somthing. Code:

View 1 Replies

Warning: Main(): Failed Opening '../accessControl/loginController.php' For Inclusion (include_path='.:/usr/share/pear').

why do i get these errors. Warning: main(../accessControl/loginController.php): failed to open stream: No such file or directory.

Warning: main(): Failed opening '../accessControl/loginController.php' for inclusion (include_path='.:/usr/share/pear').

View 1 Replies

Fatal Error: Require() [function.require]: Failed Opening Required 'singlePost.php'

Starting in the past few days high tweet IDs (at least, it appears it's ID related, but I suppose it could be some recent change in the api returns) are breaking my code. At first I tried passing the ID as a string instead of an integer to this function, and I thought this worked, but in reality it was just the process of uploading the file from my end.

In short, a php script generates these function calls, and when it does so, they fail. If I download the php file the call is generated into, delete the server copy and re-upload the exact same file without changing it, it works fine. Does anyone know what could be causing this behavior? Below is what I suspect to be the most important part of the individual files that are pulling the errors. Each of the files is named for a status ID (e.g. the below file is named 12058543656.php)

<?php
require "singlePost.php";
SinglePost(12058543656)
?>

Here's the code that writes the above files:

$postFileName = $single_post_id.".php";
if(!file_exists($postFileName)){
$created_at_full = date("l, F jS, Y", strtotime($postRow[postdate])-(18000));
$postFileHandle = fopen($postFileName, 'w+');............

View 1 Replies

Fatal Error: Require() [function.require]: Failed Opening Required

I don't ever use PHP but this time I have to as I am setting up wordpress on my Web Host. The error I keep getting is displayed as follows:

Fatal error: require() [function.require]: Failed opening required '/home/a7389814/public_html/wp-includes/load.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a7389814/public_html/wp-settings.php on line 19

View 8 Replies

Failed Opening Required 'common.inc'

I get this fatal error message when i try to include the 'common.inc' file. Could someone explain where common.inc and php.ini should be located and what their contents should be. I am running an apache server and php4. I found 3 different 'common.php' files in different locations within the php directory.

View 9 Replies

Require_once Failed In Opening Required File?

This is the php error output:

Fatal error: require_once(): Failed opening required 'WACmdLineTools/WACmdLineTools.php' (include_path='.;C:phppear') in C:Program FilesWindowsAzureCmdLi
neTools4PHPpackage.php on line 46

View 1 Replies

Fatal Error: Main() [function.main]: Security Alert: Include Filename Is An URL In Unknown On Line 0

I just installed CRELoaded (oscommerce fork) on my server and all work
fine except that I have a little message at the bottom of the main page
:

Fatal error: main() [function.main]: Security alert: Include filename
is an URL in Unknown on line 0

I made some research and all I have found is to be sure those value are
put in the php.ini file

safe_mode = Off
allow_url_fopen = On

I'm running on:

Apache2

php -ver
PHP 4.4.0-4 (cli) (built: Oct 20 2005 16:42:12)

How may I correct this bug.

View 1 Replies

XAMPP - Warning: Include() [function.include]: Failed Opening 'lang/' For Inclusion (include_path='.;C:xamppphpPEAR') In C:xampphtdocsxamppindex.php

Getting the following error when trying to run the localhost page on my XAMPP server.

Warning: include() [function.include]: Failed opening 'lang/' for inclusion (include_path='.;C:xamppphpPEAR') in C:xampphtdocsxamppindex.php on line 12

Was wondering if anyone has seen this before and knows of a solution?

View 4 Replies

Error: Warning: Main(http://app.feeddigest.com/digest3/ODC9FIC36I.html) [function.main]: Failed To Open Stream: No Route To Host

I have a client which is seeing the following error from this code in WordPress:

<?php
include ('http://app.feeddigest.com/digest3/ODC9FIC36I.html');
?>

Error:
Warning: main(http://app.feeddigest.com/digest3/ODC9FIC36I.html) [function.main]: failed to open stream: No route to host in /hsphere/local/home/user/mydomain.com/wp-content/themes/anaconda/page.php on line 18

Warning: main(http://app.feeddigest.com/digest3/ODC9FIC36I.html) [function.main]: failed to open stream: No route to host in /hsphere/local/home/user/mydomain.com/wp-content/themes/anaconda/page.php on line 18

Warning: main() [function.include]: Failed opening 'http://app.feeddigest.com/digest3/ODC9FIC36I.html' for inclusion (include_path='.:/usr/local/lib/php') in /hsphere/local/home/user/mydomain.com/wp-content/themes/anaconda/page.php on line 18.

View 9 Replies

Include_path='.;C:5pear' / Fatal Error: Require_once() [function.require]?

how can i set include_path C:wampinphpphp5.3.0php.ini file

i want to set the include path in php.ini file include_path = ".:c:/wamp/www/bin/php5.3.0/php.ini"

i have set this path but i got the error

Warning: require_once(super/pms_global.inc.php) [function.require-once]: failed to open stream: No such file or directory in C:wampwwwPMSwwwindex.php on line 10

Fatal error: require_once() [function.require]: Failed opening required 'super/pms_global.inc.php' (include_path='.;C:php5pear') in C:wampwwwPMSwwwindex.php on line 10

View 1 Replies

File Not Opening - "failed To Open Stream: HTTP Request Failed! HTTP/1.1 500 Internal Server Error"

I'm trying to open a file like [URL], but keep getting an error: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error. The file I'm using to open it is actually the same file that I'm trying to load, I don't know if that's the problem or what

View 9 Replies

Include Problem - Returning A Failed Opening Error

I'm running Debian Linux stable and PHP 4.1.2. My include_path is

'.:/php/includes:/usr/local/lib/php/:/usr/local/lib/php/smarty/'

Problem is,

include('/includes/foo.php');

doesn't work, returning a Failed opening error. If I put in the full
path, it works just fine. Do site-based absolute paths not work in
general, or is it a version problem, or what?

View 5 Replies

Include One Of My 'content' Pages Error - Failed Opening ?

i am trying to include one of my 'content' pages , and i can include content.php w/o a problem. but as soon as i try to include content.php?id=48 (or any id for that matter)

i get the following error:

Warning: include() [function.include]: Failed opening 'content.php?id=49' for inclusion (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/addressm/shop.youraustinlifestyle.com/index.php on line 39

but it can be seen to be working for http:shop.youraust...ntent.php?id=48

even when i try to write it explicitly (include('http:shop.youraustinlifestyle.com/content.php?id=48') it still breaks down in the same way. am i not passing that id correctly?

index.php include :

<?
if ($id == ""){
$content2 = ('default.php');[code].....

View 2 Replies

Warning: Main(PEAR.php) [function.main]: Failed To Open Stream:

I was required to configure an application to run on local machine with windowsXP. I installed wamp server with PHP4.1 , MYSQL 5.0 and Apache. When I executed the application it gave an error

Warning: main(PEAR.php) [function.main]: failed to open stream: No such file or directory in c:wampwwwMYGFconfig.php on line 18

Fatal error: main() [function.require]: Failed opening required 'PEAR.php' (include_path=':.:lib/:lib/pear/:lib/classes:lib/smarty/:.;C:php5pear') in c:wampwwwMYGFconfig.php on line 18

Then I was asked to configure PEAR. I configured PEAR with go-pear.php and then it said

Start Web Frontend of the PEAR Installer >>

I clicked it and got

Parse error: syntax error, unexpected T_STRING in c:wampwwwMYGFlibPEARindex.php on line 33.

View 1 Replies

Warning: Main(.html) [function.main]: Failed To Open Stream: No Such File Or Directory - Include Problem Basics

A while back, I used to use the:

<?php include("$id.html"); ?>

for my site, but then I stopped for a while. Now, I come back to use it, and it doesn't work. I put this "<?php include("$id.html"); ?>" where my content normally goes in "main.php" and then I go to "site.com/main.php?id=content" (where content is an HTML), but I get an error that says:

Warning: main(.html) [function.main]: failed to open stream: No such file or directory in /home/animegal/public_html/nosuchthing/newlayout/main.php on line 74

Warning: main(.html) [function.main]: failed to open stream: No such file or directory in /home/animegal/public_html/nosuchthing/newlayout/main.php on line 74

Warning: main() [function.include]: Failed opening '.html' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/animegal/public_html/nosuchthing/newlayout/main.php on line 74


this used to work - that's why I think that it's me doing something wrong.

View 6 Replies

Warning: Main(ppsdk_include_path.inc) [function.main]: Failed ...

Warning: main(ppsdk_include_path.inc) [function.main]: failed to open stream: No such file or directory in /home/realfina/public_html/ec/eBayoffers/samples/php/WebPaymentPro.php on line 10

View 3 Replies

Warning: Main(URL): Failed To Open Stream: HTTP Request Failed!

I am getting this message when I try to get an include file remotely..

Warning: main(URL): failed to open stream: HTTP request failed! HTTP/1.1 200 OK  in ... on line 25

Warning: main(): Failed opening '...' for inclusion (include_path='') in ... on line 25

It works some time's and not other times. I believe it is because the php file on the remote server is taking to long to process. Is there a way around this.... ie another way to process an include remotely and then have the results included in your program...?

View 2 Replies

Fatal Error: Input In Flex Scanner Failed

What in the world is this error? I saw it pop up one time when I had a parse error, correcting the parse error got rid of it though. What is it?

View 3 Replies

Fatal Error: Session_start(): Failed To Initialize Storage Module.

Occasionally, I get the following error when running a PHP script:

Fatal error: session_start(): Failed to initialize storage module. in /home/rivka/public_html/header.php on line 3

Line 3 is just a simple session_start(); command. Anyone seen this problem before? Any guesses on what is causing it and how to fix it?

View 3 Replies

Fatal Error: Session_start(): Failed To Initialize Storage Module:

Fatal error: session_start(): Failed to initialize storage module: user (path: ) in c:. on line 42 line 42

session_start(); //Tell PHP to start the session.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved