Previous Thread
Next Thread
Print Thread
Hop To
#21567 07/07/2001 4:15 PM
Anonymous
Unregistered
Anonymous
Unregistered
Okay I installed wwwthreads on a new server a couple of days ago, everything worked fine...I tried posting and got a a whole bunch of errors:
Warning: file("http://forums.ogaming.com/filters/badnames") - Success in /home/sites/site36/web/addpost.php on line 149
Warning: Variable passed to each() is not an array or object in /home/sites/site36/web/addpost.php on line 150
Warning: file("http://forums.ogaming.com/filters/badwords") - Success in /home/sites/site36/web/addpost.php on line 517
Warning: Variable passed to each() is not an array or object in /home/sites/site36/web/addpost.php on line 518
Warning: file("http://forums.ogaming.com/filters/usertitles") - Success in /home/sites/site36/web/addpost.php on line 645
Warning: Variable passed to each() is not an array or object in /home/sites/site36/web/addpost.php on line 646
I changed the path from "" to "http://forums.ogaming.com", and installed of "failed" or "this file does not exist, yada, yada" I get success and the odd array error.
The problem is I still get [censor][censor] in my post.

#21568 07/08/2001 12: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
This seems to happen on a few systems, so I'm gontg to make a config option to help with this. For now you will want to take a look at <A target="_blank" HREF=http://www.wwwthreads.com/php/showthreaded.php?Cat=&Board=php&Number=32800>this thread</A> as it might be the solution for your problem.

-------------------
Scream
<A target="_blank" HREF=http://www.wwwthreads.com>WWWThreads</A>

#21569 07/08/2001 7:48 PM
Anonymous
Unregistered
Anonymous
Unregistered
I changed it to paths, still get the same error

#21570 07/08/2001 8:44 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Hmm. Do you have the files all in place in the filters directory, transfered in ASCII mode?

-------------------
Scream
<A target="_blank" HREF=http://www.wwwthreads.com>WWWThreads</A>

#21571 07/08/2001 9:06 PM
Anonymous
Unregistered
Anonymous
Unregistered
Yep
when I preview post:

Warning: file("/home/sites/site36/web/filters/badnames") - No such file or directory in /home/sites/site36/web/addpost.php on line 149
Warning: Variable passed to each() is not an array or object in /home/sites/site36/web/addpost.php on line 150

--------------------------------------------------------------------------------------------
during post process:

Warning: file("/home/sites/site36/web/filters/badnames") - No such file or directory in /home/sites/site36/web/addpost.php on line 149
Warning: Variable passed to each() is not an array or object in /home/sites/site36/web/addpost.php on line 150
Warning: file("/home/sites/site36/web/filters/badwords") - No such file or directory in /home/sites/site36/web/addpost.php on line 517
Warning: Variable passed to each() is not an array or object in /home/sites/site36/web/addpost.php on line 518
Warning: file("/home/sites/site36/web/filters/usertitles") - No such file or directory in /home/sites/site36/web/addpost.php on line 645
Warning: Variable passed to each() is not an array or object in /home/sites/site36/web/addpost.php

#21572 07/12/2001 12:25 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
So, that is the problem. It cannot find the filters directory and files within in the specified path:

Warning: file("/home/sites/site36/web/filters/badnames") - No such file or directory

It should be looking within the directory of your wwwthreads installation, but apparently the directory and files are not there which would cause the problems you are getting.

-------------------
Scream
<A target="_blank" HREF=http://www.wwwthreads.com>WWWThreads</A>

#21573 09/15/2001 8:20 AM
Anonymous
Unregistered
Anonymous
Unregistered
I am having this problem as well (5.4.3). I get the ...success... not an array... warnings and the [censored]s plastered into the messages.
Changing $config[phpurl] to $config[path] doesn't help. Then I just get permission denied errors.
Any thoughts? The demo worked fine (after finding some bugfixes on these boards). But the fixes for this problem don't seem to work for me.

#21574 09/15/2001 6:45 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Do you have your badwords file uploaded properly and does it have the proper read permissions? These error messages are coming straight from PHP saying that it cannot find the badwords file which leads to the array problems.

#21575 10/04/2001 4:31 PM
Anonymous
Unregistered
Anonymous
Unregistered
hey gang,
just wanted to let you know that I stopped getting this error when I deactivated the .htaccess file I had in the main directory... that seemed to cause all the problems... wish I could get it to work *with* that file, but I guess, for now, I'll have to deal... <img border="0" title="" alt="[Wink]" src="images/icons/wink.gif" />
matt

#21576 10/04/2001 9:02 PM
Anonymous
Unregistered
Anonymous
Unregistered
Matt? Could it be possible that a directive in the .htaccess file is somehow masking or disabling one of the subdirectories? Just guessing here but I fought that with a different server app once and won't soon forget the nightmare - hehe.

::slowly backing away from the computer now::

Damien


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
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 834 guests, and 246 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)