I have created a web chat application and whenever I enter the username and password I created it comes up with this error:
Warning: include(../errors/err.php): failed to open stream: No such file or directory in C:\Users\Win8\Documents\EasyPHP\data\localweb\web chat\chatbox\inc\connection.php on line 10
Warning: include(): Failed opening '../errors/err.php' for inclusion (include_path='.;C:\php\pear') in C:\Users\Win8\Documents\EasyPHP\data\localweb\web chat\chatbox\inc\connection.php on line 10
What does this mean?
It is a warning that there is a missed file which cannot be opened, and it's name is err.php. Maybe you have to create an empty err.php file in C:\Users\Win8\Documents\EasyPHP\data\localweb\web chat\chatbox\errors.
It's telling you that on line 10 of connection.php you are trying to do an <?php include 'err.php'; ?>, but your program cannot find it.
I would check the file structure of err.php and make the appropriate correction.
Related
this is the error im getting .. and i have checked with ftp there is really no file name "gen_TDKT.php" what should i do
Warning: include_once(/home/govacpk/public_html/luxurina/system/config/ssb_library/admin/generators/gen_TDKT.php): failed to open stream: No such file or directory in /home/govacpk/public_html/luxurina/system/config/ssb_library/ssb_autogen.php on line 1Warning: include_once(): Failed opening '/home/govacpk/public_html/luxurina/system/config/ssb_library/admin/generators/gen_TDKT.php' for inclusion (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/govacpk/public_html/luxurina/system/config/ssb_library/ssb_autogen.php on line 1
ok so i found backup of my website .. there was this file gen_TDKT.php, copied it to host now everything works.
when I include admin_functions.php file with this address:
../../functions/admin_functions.php
it shows me these errors:
Warning: include_once(../../functions/admin_functions.php):
failed to pen stream: No such file or directory
in D:\wamp64\www\CMS\admin\moduls\admin\add.php
and
Warning: include_once():
Failed opening '../../functions/admin_functions.php'
for inclusion (include_path='.;C:\php\pear')
in D:\wamp64\www\CMS\admin\moduls\admin\add.php
But when I include this file with local address:
D:\wamp64\www\CMS\admin\functions\admin_functions.php
my project is running without any error.
I really checked that my first address isn't wrong and the both addresses are exactly the same file (admin_functions.php).
So whats wrong with that?
You must check that include_once(../../functions/admin_functions.php) has the right number of "../" to reach functions directory. Simple solution: try adding/removing "../" to your path until it works.
I have seen different variations of this problem which I have tried to use without any success so i figured it would be best just to ask.
I recently moved my website from my wamp server over to my qnap server. Seams to be working quite well except 3 errors that popped up (did not have them on my local host and havent changed any of the code).
I get the following 3 errors.
Warning: include(/share/HDA_DATA/Web/application/views/errors/html/error_php.php): failed to open stream: No such file or directory in /share/HDA_DATA/Web/system/core/Exceptions.php on line 269
Warning: include(): Failed opening '/share/HDA_DATA/Web/application/views/errors/html/error_php.php' for inclusion (include_path='.:/etc/config/php') in /share/HDA_DATA/Web/system/core/Exceptions.php on line 269
Warning: include(/share/HDA_DATA/Web/application/views/errors/html/error_php.php): failed to open stream: No such file or directory in /share/HDA_DATA/Web/system/core/Exceptions.php on line 269
Warning: include(): Failed opening '/share/HDA_DATA/Web/application/views/errors/html/error_php.php' for inclusion (include_path='.:/etc/config/php') in /share/HDA_DATA/Web/system/core/Exceptions.php on line 269
I seam to understand what is going on that it cannot access the file but can anyone point out what i need to change and where/which file i need to change it. I have not done any changes to my codeigniter file structure (all original setup). If you need code dump just let me know from which file.
Thank you for your help.
Jonas
i want to draw a piechart in php using mysql. i am getting error only for below code.
<?php include "libchart/classes/libchart.php"; ?>
during run i am getting below error. anyone please help me.
Warning: include(libchart/classes/libchart.php) [function.include]:
failed to open stream: No such file or directory in
C:\xampp\htdocs\g2.php on line 2
Warning: include() [function.include]: Failed opening
'libchart/classes/libchart.php' for inclusion
(include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\g2.php on line
2
It means the file C:\xampp\htdocs\libchart\classes\libchart.php does not exist
it seems you giving wrong path for file. I think you should tell your directory path too here i.e where is the file in which you including the file and the file path which you want to include.
I am building a small PHP system, and I can't open files like CSS Styles, PHP Include function and Images.
I also got some errors:
Warning: include(includes/functions.php) [function.include]: failed to open stream: No such file or directory in /home/chezki/public_html/XXX.XXX/cp/CMS/index.php on line 2
Warning: include(includes/functions.php) [function.include]: failed to open stream: No such file or directory in /home/chezki/public_html/XXX.XXX/cp/CMS/index.php on line 2
Warning: include() [function.include]: Failed opening 'includes/functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/chezki/public_html/XXX.XXX/cp/CMS/index.php on line 2
Built by YYY.YYY
logo // Thats the Logo alt
Fatal error: Call to undefined function getlists() in /home/chezki/public_html/XXX.XXX/cp/CMS/index.php on line 28
Title Actions // Some images alt
Edit: On Windows, It is Ok, but on Linux, It is doing those errors
More edit: Solved
From your error messages, your script appears to be this:
/home/chezki/public_html/XXX.XXX/cp/CMS/index.php
Your are trying to load this file:
includes/functions.php
Since you get this error message:
No such file or directory
... the obvious conclusion is that this file does not exist:
/home/chezki/public_html/XXX.XXX/cp/CMS/includes/functions.php
Feel free to edit your question and provide more details if this is not the case.
Edit: the file must have that precise name. If it's called e.g. Functions.php, it's a different file.
You have permission problems. Your web server cannot read functions.php due to wrong permissions. Adjust permissions with chown and chmod.