UBB.Dev
Posted By: MinisterPhobia Installation Problem - 08/05/2001 5:54 PM
In the installation process, right after I create the database tables, I go to newuser.php and get the following error:

Fatal error: Failed opening required 'languages/D/newuser.php' (include_path='.:/usr/local/lib/php')
in /home/teknomancer.com/docs/wwwthreads/newuser.php on line 12

I went back and reinstalled from scratch under the assumption that I must have made a mistake, but it happened again. I'm using the latest version as of about six hours ago.

Any ideas?
Posted By: Rick Re: Installation Problem - 08/06/2001 4:18 AM
This sounds like a similar problem another user was having here. It looks like a php setting must cause this as it started happening to this user when they upgraded their version of PHP. What version of PHP are you running?
Posted By: MinisterPhobia Re: Installation Problem - 08/06/2001 4:44 AM
No, I don't know what version. How can I find out?

(I don't have shell access, otherwise I'd just do that.)
Posted By: The Team Re: Installation Problem - 08/09/2001 3:22 PM
Create a new php file, and have the following code be the only thing in it:

<? phpinfo() ?>

Run that, and look through the information it gives you for a version number.
Posted By: MinisterPhobia Re: Installation Problem - 08/09/2001 11:39 PM
Ok... it's 4.04, though the server crashed somehow a couple days ago (don't ask me, I'm not the admin) and it's in the process of being rebuilt. I think everything is being replaced/updated.
Posted By: SitStay Re: Installation Problem - 08/10/2001 3:50 PM
Refer to this thread for a fix...

In particular the last post I made today in that thread.
Posted By: MinisterPhobia Re: Installation Problem - 09/01/2001 12:12 AM
Ok... I've changed servers, changed OSs, and changed PHP version and I'm still getting this problem with 5.4.3. I've tried the suggested fixes and they're not working.

Does anyone else have any ideas?
Posted By: Rick Re: Installation Problem - 09/01/2001 5:15 AM
I've been working on some changes that might fix this. What you can try to do for starters is edit your newuser.php file and change line 12 from this:

require ("languages/$lang[THIS_FILE]/newuser.php");

to this:

require ("languages/" .$lang['THIS_FILE']. "/newuser.php");

If this fixes the newuser.php script then I'm on the right track so I'd appreciate a reply back if it fixes this one.
Posted By: Brewskie Re: Installation Problem - 09/06/2001 5:36 PM
I'm having this same problem.

Both "solutions" don't work.
Posted By: MinisterPhobia Re: Installation Problem - 09/06/2001 6:11 PM
Alright, I changed the line and there's no change in the problem. My best guess, though this probably isn't the most intelligent solution, would be to hard code the language into it. I wouldn't want to do that myself though as I'm still in the very early stages of learning PHP (I just got past "Hello World!").

My apologies for taking so long to reply... I lost access to my server for about a week. Not sure why, but for some reason I couldn't FTP into it. And the sysadmin couldn't tell me why either. He thought it was something at my end, I thought it was something at his, and now, it suddenly works again!
Posted By: Brewskie Re: Installation Problem - 09/06/2001 6:20 PM
I would wager the problem lies in the phpversion

I am running php4.0rc1 (my host is supposed to be upgrading this today.....knock on wood....) and I know there a numerous functions missing in this version that are in later versions.

But that wouldn't explain MinisterPhobia's problem because he claims he is running ver 4.04
Posted By: Rick Re: Installation Problem - 09/07/2001 1:46 AM
I really am stumped why this is happening on some servers. I can't duplicate it here so I'm kind of stuck. What would really help is if someone that is having this problem could give me temporary telnet access to their server so I can debug there and actually get this thing fixed once and for all.
Posted By: Rick Re: Installation Problem - 09/07/2001 1:47 AM
I have a feeling it is something to do with a PHP setting, though I can't say for sure.
Posted By: Rick Re: Installation Problem - 09/07/2001 4:36 PM
Just went to your forums and everything seems to be working fine and dandy for me. Did your host change something or are you still getting the same error?
Posted By: Brewskie Re: Installation Problem - 09/07/2001 6:21 PM
You sure?

Did I give you the right URL????

This is the error.............

Fatal error: Failed opening required 'languages/D/wwwthreads.php' (include_path='') in /www/oldhouseforums/nohfbbs/wwwthreads.php on line 11


and here is the URL

http://www.oldhouseforums.net/nohfbbs/wwwthreads.php
Posted By: Rick Re: Installation Problem - 09/08/2001 12:49 AM
Yep, comes up fine and dandy for me. What browser are you using?
Posted By: Brewskie Re: Installation Problem - 09/08/2001 1:02 AM
No kidding?????

I just installed IE6 the other day. Before I tried to install the php version of wwwthreads.

Have there been reports of this with IE6?
Posted By: Rick Re: Installation Problem - 09/08/2001 5:06 AM
There were a few reports of some errors in the PERL version with the beta of IE 6, but nothing so far with the stable version and the PHP version. I'll download IE6 and see what I get.
Posted By: MinisterPhobia Re: Installation Problem - 09/08/2001 6:56 AM
I'm getting the error on IE6, but I was getting it before on 5.5. I also run Netscape (donno what verson) and opera, and they both do it too.

The URL I get it at is http://www.mmogzone.com/wwwthreads/newuser.php and you can check the PHP version, etc, at http://www.mmogzone.com/test.php.

I'm not sure what else to tell you.
Posted By: razvan Re: Installation Problem - 09/08/2001 10:05 AM
This is strange indeed. I visited "http://www.oldhouseforums.net/nohfbbs/wwwthreads.php" and "http://www.mmogzone.com/wwwthreads/newuser.php" with netscape 4.77 / mozilla 0.9.3 / ie 4.01 and everything worked fine. Are you sure you don't have a leftover language cookie or some file in the language directory is not readable by the webserver?
Posted By: Rick Re: Installation Problem - 09/08/2001 3:48 PM
Works great in IE6 as well. Razvan might be on to something though. You might try deleting all cookies that have been given to you from your site and see if that works.
Posted By: Brewskie Re: Installation Problem - 09/08/2001 6:20 PM
that's what the problem was!

Dang cookies!

It works great for me now.......

Who named them dang things anyway?

I could think of a hundred names that would be more descriptive!

Thank you for your help!
Posted By: MinisterPhobia Re: Installation Problem - 09/09/2001 11:40 AM
Ok... that's [censored] up.

It was a leftover cookie from when I was using PHP-Nuke on the site. Go figgure.
© UBB.Developers