Previous Thread
Next Thread
Print Thread
Hop To
#24153 08/05/2001 1:54 PM
Anonymous
Unregistered
Anonymous
Unregistered
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?

#24154 08/06/2001 12:18 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
This sounds like a similar problem another user was having <A target="_blank" HREF=http://www.wwwthreads.com/perl/showthreaded.php?Cat=&Board=phpinstallation&Number=38134>here</A>. 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?

#24155 08/06/2001 12:44 AM
Anonymous
Unregistered
Anonymous
Unregistered
No, I don't know what version. How can I find out?
(I don't have shell access, otherwise I'd just do that.)

#24156 08/09/2001 11:22 AM
Anonymous
Unregistered
Anonymous
Unregistered
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.

#24157 08/09/2001 7:39 PM
Anonymous
Unregistered
Anonymous
Unregistered
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.

#24158 08/10/2001 11:50 AM
Anonymous
Unregistered
Anonymous
Unregistered
Refer to <a target="_blank" href=http://www.wwwthreads.com/php/showflat.php?Cat=&Board=phpbugs&Number=40055>this thread</a> for a fix...
In particular the last post I made today in that thread.

#24159 08/31/2001 8:12 PM
Anonymous
Unregistered
Anonymous
Unregistered
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?

#24160 09/01/2001 1:15 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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.

#24161 09/06/2001 1:36 PM
Anonymous
Unregistered
Anonymous
Unregistered
I'm having this same problem.

Both "solutions" don't work.

#24162 09/06/2001 2:11 PM
Anonymous
Unregistered
Anonymous
Unregistered
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!

#24163 09/06/2001 2:20 PM
Anonymous
Unregistered
Anonymous
Unregistered
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

#24164 09/06/2001 9:46 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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.

#24165 09/06/2001 9:47 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I have a feeling it is something to do with a PHP setting, though I can't say for sure.

#24166 09/07/2001 12:36 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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?

#24167 09/07/2001 2:21 PM
Anonymous
Unregistered
Anonymous
Unregistered
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

#24168 09/07/2001 8:49 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Yep, comes up fine and dandy for me. What browser are you using?

#24169 09/07/2001 9:02 PM
Anonymous
Unregistered
Anonymous
Unregistered
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?

#24170 09/08/2001 1:06 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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.

#24171 09/08/2001 2:56 AM
Anonymous
Unregistered
Anonymous
Unregistered
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 <A target="_blank" HREF=http://www.mmogzone.com/wwwthreads/newuser.php>http://www.mmogzone.com/wwwthreads/newuser.php</A> and you can check the PHP version, etc, at <A target="_blank" HREF=http://www.mmogzone.com/test.php>http://www.mmogzone.com/test.php</A>.

I'm not sure what else to tell you.

#24172 09/08/2001 6:05 AM
Anonymous
Unregistered
Anonymous
Unregistered
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?

#24173 09/08/2001 11:48 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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.

#24174 09/08/2001 2:20 PM
Anonymous
Unregistered
Anonymous
Unregistered
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!

#24175 09/09/2001 7:40 AM
Anonymous
Unregistered
Anonymous
Unregistered
Ok... that's [censored] up.

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


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
0 members (), 919 guests, and 149 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)