Hey all,
This is my first post, I've been lurking for a while so I wouldn't repeat topics but I didn't find any for this.
I managed to install phpwcms 1.3.5 but after I'm done with the setup, it appears:
Fatal error: main(): Failed opening required './include/inc_lib/default.inc.php' (include_path='.:/usr:/usr/bin:/usr/sbin:/bin:/home:/home3:/home/securespace:/home3/securespace:/home/securespace/home:/home3/securespace/home:/usr/local/lib/php') in /home3/securespace/home/MYDOMAIN/www/login.php on line 30
This is my first shot at php, I only know enough to make some modifications on html by using dreamweaver. I swear I gave my best, but from this point on, I'm lost and have no idea on what to do to fix it.
The "www" folder is the one where I have to put all files, even in html. I can't remove it, according to the hosting guidelines.
Could someone help me, please?
EDIT:
Now the error changed to this, although there isn't much difference:
Fatal error: main(): Failed opening required './include/inc_lib/default.inc.php' (include_path='.:/usr:/usr/bin:/usr/sbin:/bin:/home:/home/securespace:/home/securespace/home:/usr/local/lib/php') in /home3/securespace/home/MYDOMAIN/www/login.php on line 30
[Solved] "Failed opening required" - line 30?
[Solved] "Failed opening required" - line 30?
Last edited by Blackbird on Thu 10. Jan 2008, 22:22, edited 3 times in total.
Re: "Failed opening required" - line 30? help, please
Hi
this is the complete error message? Is this the error when trying to log in or when calling the page? You did transfer the conf.inc.php?
this is the complete error message? Is this the error when trying to log in or when calling the page? You did transfer the conf.inc.php?
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Re: "Failed opening required" - line 30? help, please
Hi claus, thanks for your reply.
It's when I call the page. I did transfer the conf.inc.php file, 2 times, to make sure I made it right.
It's when I call the page. I did transfer the conf.inc.php file, 2 times, to make sure I made it right.
Re: "Failed opening required" - line 30? help, please
Whenever you see that the error message contains (include_path='...etcetera) as a part of it, that is an indication that PHP cannot find a PATH that has been specified in the script attemtpting to run. What path did you enter in "conf.inc.php" ?
Is that browseable (ie. http://www.MYDOMAIN.com/include/inc_lib/default.inc.php) without a ERROR 404 NOT FOUND?
Is that browseable (ie. http://www.MYDOMAIN.com/include/inc_lib/default.inc.php) without a ERROR 404 NOT FOUND?
Re: "Failed opening required" - line 30? help, please
Hey Dexxus,DeXXus wrote:Whenever you see that the error message contains (include_path='...etcetera) as a part of it, that is an indication that PHP cannot find a PATH that has been specified in the script attemtpting to run. What path did you enter in "conf.inc.php" ?
Is that browseable (ie. http://www.MYDOMAIN.com/include/inc_lib/default.inc.php) without a ERROR 404 NOT FOUND?
I appreciate your help. No, if I try to browse it I get the ERROR 404 NOT FOUND message.
I have no idea on what to do. I did everything according to the tutorial, I wonder if it could be an issue with my hosting.
Re: "Failed opening required" - line 30? help, please
DeXXus wrote:What path did you enter in "conf.inc.php" ?
What do you mean by this? That there can be no subfolders for 'www' folder? [phpwcms is based on a folder "hierarchy" relative to where it's root files are stored (login.php, etc. would be the root)]. Got a link to your frontend?Blackbird wrote:The "www" folder is the one where I have to put all files, even in html. I can't remove it, according to the hosting guidelines.
Re: "Failed opening required" - line 30? help, please
When I open the FTP, all files must be put into the www folder, I don't know the reason why. It's the hosting company standard and it can't be deleted (at least according to them).
EDIT:
Figured it! It's working now! Thanks for your help!
EDIT:
Figured it! It's working now! Thanks for your help!