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

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



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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

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 View Related

Fatal Error: Input In Flex Scanner Failed - Cant Find Which File

Can anyone tell me what this error means: "Fatal error: input in flex scanner failed in /home/upsaidc/public_html/inc_files on line 1" ? It doesn't even tell me in what file the problem is..

View 2 Replies View Related

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

My server was working fine (no one else changes it but me, it's a
local server on my lan), and all of a sudden I get:

Fatal error: session_start(): Failed to initialize storage module:
user...

It didn't even happen after like a reboot or something, it just
happened one morning.

I fixed it by changing:

session.save_handler = user

to

session.save_handler = files

But my question is- why did I have to do that? What could've
happened? How do I make it work with "user" again?

View 5 Replies View Related

Browing/Opening Local Files With A Local Drive Path?

Probably going to take javascript to acheive this, but i am using php/MySQL to make links to files on my local hard drive and build a directory of important files i use often. I add files by using the <input type="file" /> form element which browses to the local file fine. Store it in MySQL and it appears as a nice file link.

Storing <a href="C:usersfilename.ext" /> in a database for example, i can open (.png .jpgs .html) etc. but not anything else such as PDF which is the main file type i want. This path gets converted to file:///C:/users/filename.ext when it becomes an html link.

I can get round this by having an upload file section and actually upload the file into the directory of the php files (or sub directory...) so the path becomes just ../subfolder/filename.pdf but this is an added step i dont want to do. A mapped network drive for example would be better in a network environment.

SO thats what i want, not to double up on files by uploading them, just link to files. I know its down to security, but i dont know which way to move forward. Create a security certificate or something? From what i saw you have to pay for that, but i have no experience with this.I remember acheiving this with flash where the links open a local .bat file which in turn opens the file. But again i dont want the program to have to make a .bat file for each file linked to.

View 2 Replies View Related

Fatal Error: Uncaught Exception 'com_exception' With Message 'Variant Type Conversion Failed

I am trying to build a byte array in PHP using Variants. However, I can't seem to make it work. Here's a sample code:

$ie = new COM("InternetExplorer.Application");
$ie->Visible = true;
$ie->Height = 500 ;

[code]...

The code produces an error:

Fatal error: Uncaught exception 'com_exception' with message 'Variant type conversion failed: Type mismatch.type conversion failed: Type mismatch.

I have tried with all sorts of combinations for the variant type from [URL]

View 1 Replies View Related

Fatal Error: Uncaught CurlException: 26: Failed Creating Formpost Data Thrown In Facebook.php On Line 589

I tried other answers from SO, but none of them worked in my case

I've used

'req_perms' => 'publish_stream,status_update'

The error i'm getting Fatal error: Uncaught CurlException: 26: failed creating formpost data thrown in facebook.php on line 589

My upload code

$facebook->setFileUploadSupport(true);
$args = array('message' => 'My Friend's');
$args['image'] = '@' . realpath('http://mysite/img/img.jpg');
$data = $facebook->api('/me/photos', 'post', $args);
print_r($data);

I just wan to upload the photo to an existing album or already created album, working code will be appreciated.

Another code

$photo_details = array('message'=>$_REQUEST['arttitle'],'source'=> '@' . realpath($_FILES[file]tmp_name]));
$facebook->api('/me/photos','POST',$photo_details);

Fatal error: Uncaught OAuthException: (#324) Requires upload file thrown in facebook.php on line 522

View 3 Replies View Related







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