Error while trying to login

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
graeinler
Posts: 2
Joined: Wed 23. May 2007, 14:06

Error while trying to login

Post by graeinler »

I have went over the installation process for phpwcms, while trying to login to the administration page, I get this error message:

Warning: main(/kunden/homepages/43/d198769012/htdocs/phpwcms/include/inc_ext/Openads/Openads_function.php) [function.main]: failed to open stream: No such file or directory in /homepages/43/d198769012/htdocs/phpwcms/include/inc_lib/default.inc.php on line 66

Fatal error: main() [function.require]: Failed opening required '/kunden/homepages/43/d198769012/htdocs/phpwcms/include/inc_ext/Openads/Openads_function.php' (include_path='.:/usr/local/lib/php') in /homepages/43/d198769012/htdocs/phpwcms/include/inc_lib/default.inc.php on line 66


Could someone please guide me to where the specific error message may arise? I've checked on the the php version for my account and it actually falls within the installation requirements.

Please help, thanks!
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi,

I hope you speak a little bit German language.

Please have a look:
- http://www.phpwcms.de/forum/viewtopic.php?p=86215#86215
- http://www.phpwcms.de/forum/viewtopic.php?p=85655#85655

Regards Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Post by Jensensen »

Hi,
No such file or directory
da fehlen womöglich schlichtweg einige files... [s.o.]

ups, english:
guess some files are missing. not properly ftpd.
regardless of which installation type (update or fresh)

greetz
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
graeinler
Posts: 2
Joined: Wed 23. May 2007, 14:06

Post by graeinler »

Thank you for the input guys, specially Jensensen

It seems that phpwcms is sensitive with the case of filenames, so what I did was rename the files having errors and there it worked.

Just a thought, based from my experience (which isn't that extensive yet)
linux is not picky with cases of filename, could be because windows is supported on the platform installs of phpwcms.

In any case, thanks again!
Ben_Hook
Posts: 29
Joined: Sun 4. Dec 2005, 21:19

Post by Ben_Hook »

Hi, I have been having this problem too, I have installed the newest version of PHPWCMS (1.3.3) on two different servers and they both get the error:

Code: Select all

Fatal error: require() [function.require]: Failed opening required '/www/include/inc_ext/Openads/Openads_function.php' (include_path='.:/usr/share/php') in /www/#####/#/#/#/#/htdocs/include/inc_lib/default.inc.php on line 66
I can't find anything wrong with it, all the files are there... I have tried changing permissions for that file, I have re-uploaded it loads of times and nothing seems to work..

Thanks
  • If i bore you to death, don't say i didn't warn you.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi,

you have uploadet the files in the right way via FTP? case sensitivity | Ascii

The file include/inc_ext/Openads/Openads_function.php exists?

config.inc.php

Code: Select all

// site values
$phpwcms['site']              = 'http://'.$_SERVER['SERVER_NAME'].'/';

// paths
$phpwcms['DOC_ROOT']          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms['root']              = '';
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Ben_Hook
Posts: 29
Joined: Sun 4. Dec 2005, 21:19

Post by Ben_Hook »

Hi,
Thanks for the quick reply..
Yes, I have definately uploaded the files on the correct mode, the program I use is automatic and has not uploaded on the wrong mode before.. The file exists and I have uploaded it several times..
I tried the configuration settings but they havent made any difference...
I cant see what could be wrong..
Thanks..
  • If i bore you to death, don't say i didn't warn you.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Ben_Hook wrote:they both get the error:
Fatal error: require() [function.require]: Failed opening required '/www/include/inc_ext/Openads/Openads_function.php' (include_path='.:/usr/share/php') in /www/#####/#/#/#/#/htdocs/include/inc_lib/default.inc.php on line 66
Perhaps you could recheck about flip-flop's last suggestion? The part of the file path in red ~should~ be present in the file paths of all phpWCMS file calls.

The part that reads:
(include_path='.:/usr/share/php')
means that PHP could not find the files at the path '/www/include/inc_ext/Openads/Openads_function.php' so it checked PHP's "default" file path setting and still didn't find it in THAT path either.

My guess is that if you check the "actual" path to that "Openads_function.php" file...you will find it at:

"/www/#####/#/#/#/#/htdocs/include/inc_ext/Openads/Openads_function.php'"

and NOT:

"/www/include/inc_ext/Openads/Openads_function.php'"

edit which usually means to check and try what flip-flop suggests. :wink:
Ben_Hook
Posts: 29
Joined: Sun 4. Dec 2005, 21:19

Post by Ben_Hook »

Hi again,
I have changed the site root several times and got rid of the error but ended up with a blank page. I found out that the ; and the ' were the wrong way round and it is now working.
Thanks for your help...
  • If i bore you to death, don't say i didn't warn you.
Post Reply