Previous Thread
Next Thread
Print Thread
Hop To
#23124 03/16/2002 10:12 AM
Anonymous
Unregistered
Anonymous
Unregistered
I thought I did everything right, but when I go to create and account I get this:


Warning: file("/home/public_html/terrygoo/ubbthreads/filters/bademail") - No such file or directory in /home/terrygoo/public_html/ubbthreads/adduser.php on line 62

Warning: Variable passed to each() is not an array or object in /home/terrygoo/public_html/ubbthreads/adduser.php on line 63

Warning: file("/home/public_html/terrygoo/ubbthreads/filters/badnames") - No such file or directory in /home/terrygoo/public_html/ubbthreads/adduser.php on line 92

Warning: Variable passed to each() is not an array or object in /home/terrygoo/public_html/ubbthreads/adduser.php on line 93

Warning: file("/home/public_html/terrygoo/ubbthreads/filters/usertitles") - No such file or directory in /home/terrygoo/public_html/ubbthreads/adduser.php on line 157

Now those fiels are theere and the directories are there.

Also I did not have a install file. I read the directions and entered everything by hand.

#23125 03/16/2002 12:00 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
It looks like your $config[path] setting in config.inc.php is a bit wrong. You have this:

/home/public_html/terrygoo/ubbthreads

while it looks like it should be this

/home/terrygoo/public_html/ubbthreads

-------------------
Rick Baker
UBBThreads developer

#23126 03/17/2002 11:35 AM
Anonymous
Unregistered
Anonymous
Unregistered
Ok. I tried again and fixed everything.

I ran the createtables file and I made my admin account. But it does not let me log in as an admin. It always brings me back to the screen where my PM's are located. If I click on anything I get.

We encountered a problem. The reason reported was:

Username/Password not found.

This is not necessarily an error. If you feel this is an error then it could be something as simple as your browser not being set to accept cookies. If you feel this error is a problem with the server then please contact zedd@terrygoodkind.com and let us know what exactly went wrong so it can be fixed as soon as possible. Otherwise, please use your back button to return to the previous page.

also there is this error on the top of some pages.

Warning: Cannot add header information - headers already sent by (output started at /home/terrygoo/public_html/ubbthreads/config.inc.php:252) in /home/terrygoo/public_html/ubbthreads/main.inc.php on line 780

Warning: Cannot add header information - headers already sent by (output started at /home/terrygoo/public_html/ubbthreads/config.inc.php:252) in /home/terrygoo/public_html/ubbthreads/main.inc.php on line 781

Warning: Cannot add header information - headers already sent by (output started at /home/terrygoo/public_html/ubbthreads/config.inc.php:252) in /home/terrygoo/public_html/ubbthreads/main.inc.php on line 782

#23127 03/17/2002 11:54 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Ok, sounds like you are getting closer. The first thing would be to make sure you have file uploads off in your config file. If these are on and your php.ini is in safe mode this would cause one of the problems you are experiencing. The second one sounds like you have a space or a blank line after the closing php tag in the config.inc.php file. THe very last thing in this file should be:

?>

-------------------
Rick Baker
UBBThreads developer

#23128 03/17/2002 12:43 PM
Anonymous
Unregistered
Anonymous
Unregistered
Well damn. apparently those rxtra lines in the main an config files were enough to screw it all up!

#23129 03/17/2002 12:46 PM
Anonymous
Unregistered
Anonymous
Unregistered
Damn!

Ok. I got those errors to go away. I got it to let me log in as an admin! I went to post and it tells me.

We encountered a problem. The reason reported was:

The host you are trying to send the input from is not a valid host.


This is driving me nuts!

#23130 03/17/2002 5:56 PM
Anonymous
Unregistered
Anonymous
Unregistered
The not a valid host error is usually cause by your domain not being listed correctly in your config file.

Edit your config file, where it says "Name of the Server the program is running on" to be like this:
"http://www.mydomain.com|http://mydomain.com"
Do it with and without the WWW and separate them with the "pipe" symbol |

If that doesn't work, it might be the security settings in your browser. Perhaps you or your ISP is getting pages from a Cashe.

See Browser Problems for some solutions to try.

#23131 03/19/2002 10:33 AM
Anonymous
Unregistered
Anonymous
Unregistered
So how should that statement look if your running on a local machine. I installed UBBThreads on a Win2K machine and I am having that problem on any UBBThread board that I attempt to post on. Mine, Threadsdev, and several others that I tried for testing.

The local domain is something like this:

http://machinename/ubbthreads

*machninename being what ever IIS saw when it was installed. It's really something like andrew-047x26gy.

Any ideas. I stuck a post out in Installation over on the Threadsdev site but with no response yet. <img border="0" title="" alt="[Frown]" src="images/icons/frown.gif" />

I have no www nor a .com so what should that statement really look like?

#23132 03/19/2002 12:21 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
What you probably want to do is make a php file with the following inside:

phpinfo();


Then bring that file up in your browser. Look at one of the variables like HTTP_HOST and you should see what your machine is being referenced as.

-------------------
Rick Baker
UBBThreads developer

#23133 03/19/2002 2:31 PM
Anonymous
Unregistered
Anonymous
Unregistered
the actual installation and the paths and urls are this:

http://andrew-07n4xy6x/ubbthreads/ubbthreads

The install appears to work but I get this warning:

Warning:Failed opening 'D:inetpubwwwrootubbthreadsubbthreads/languages/english/generic.php'for inclusion (include_path='c:\php\pear') in D:\Inetpub\wwwroot\ubbthreads\ubbthreads\ubbt.ini.php on line 98

My php was installed on drive d:
My php.ini references drive d:

and after I get this error I stopped. But then I could not post to any other UBBThreads forums. I am given the message:
We encountered a problem. The reason reported was:

The host you are trying to send the input from is not a valid host


<img border="0" title="" alt="[Wink]" src="images/icons/wink.gif" /> So then I have to wait till I get to work the next day and post to try and figure out what I did wrong. If only the wife would let my but another computer I would be fine. Twice as many problems then! <img border="0" title="" alt="[Razz]" src="images/icons/tongue.gif" />

#23134 03/19/2002 2:43 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 looks like maybe you need to change your $thispath variable in your main.inc.php file.

Right now you probably have this:

D:\inetpub\wwwroot\ubbthreads\ubbthreads

You might need to change those \ to \. I've had one system where I had to change them to \\ because of an incorrect reporting of the gpc_magic_quotes setting from php.

-------------------
Rick Baker
UBBThreads developer

#23135 03/19/2002 2:51 PM
Anonymous
Unregistered
Anonymous
Unregistered
*Prints the latest post and runs for the house to see if it works*

<img border="0" title="" alt="[Razz]" src="images/icons/tongue.gif" /> I needed to eat lunch anyway!

#23136 03/19/2002 3:56 PM
Anonymous
Unregistered
Anonymous
Unregistered
Warning: Failed opening 'D:Inetpubwwwrootubbthreadsubbthreads/languages/english/generic.php' for inclusion (include_path='c:\php4\pear') in D:\Inetpub\wwwroot\ubbthreads\ubbthreads\ubbt.inc.php on line 98
SQL ERROR: Unable to do_query: SHOW TABLES

I tried \, \, and \ in the main.inc.php and I get the same error. But when I go back and look at main.inc.php it is back to its original form, with just the single \.

That "include_path='c:\php4\pear')" really confuses me. If I run phpinfo it shows as that there. Is that where it should be? There is no c:\php4\pear on this computer anywhere. Mine is installed at D:\Php\php-4.1.2-Win32 and it appears that the include_path in the php.ini file is remarked out.

I have the following:
php.ini located at D:\WINNT
php.ini located at D:\Php\php-4.1.2-Win32\pear\tests

the first has the following include_path statements:

; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"

Where does phpinfo.php look to find the include_path?

And thanks for the input so far.

#23137 03/19/2002 5:35 PM
Anonymous
Unregistered
Anonymous
Unregistered
After reading almost all the post on this board I have decided that the include_path=c:\php4\pear probably has no impact on any of this.

If I go into main.inc.php and change the \ to either \ or \, delete all my cookies, refresh the browser, delete and recreate the ubbthreads database in MySQL, I get the smae error. If i go back and look at the main.inc.php file again before I create my tables it is back to the \.

Running this

"<?
$path = realpath ("./");
print$path;
?>"

at
http://andrew-07n4xy6x/ubbthreads/ubbthreads/path.php returns d:\inetpub\wwwroot\ubbthreads\ubbthreads

Is this where the variable $thispath gets set from?

Are there any weird premissions that I need to set. All the test pass up to the point of creating the tables. But I found that under Win2k and IIs there are several places that I have to make sure that they are set right.

#23138 03/19/2002 8:51 PM
Anonymous
Unregistered
Anonymous
Unregistered
So I blew away the entire previous installation. I believe the others errors had something to do with Front Page Sever Extensions. *Loads explored and begins deleting Front Page*

But after creating a new directory with no server extensions and passing all the checks I get this error after clicking on createtables.

In the warning message it is showing the path as "D:\Inetpub\wwwroot est\ubbthreads, when it should be all of the above but alos have the remainder of the path \wwwroot\test\. Where is the \t going to?

If I view source on this error page it almost appears that a TAB has been inserted in that empty spot.


Warning: Failed opening 'D:\Inetpub\wwwroot est\ubbthreads/ubbt.inc.php' for inclusion (include_path='c:\php4\pear') in d:\inetpub\wwwroot\test\ubbthreads\main.inc.php on line 8

Fatal error: Call to a member function on a non-object in d:\inetpub\wwwroot\test\ubbthreads\createtable.php on line 63

#23139 03/20/2002 2:40 PM
Anonymous
Unregistered
Anonymous
Unregistered
What does it say in main.inc.php? That should look exactly like the line you pasted above with the complete absolute path.

Let's start there.

Regards,

Brett Harris
Infopop Corporation

#23140 03/20/2002 3:44 PM
Anonymous
Unregistered
Anonymous
Unregistered
<?

// THIS NEEDS TO BE SET, OTHERWISE ADMIN SCRIPTS WILL NOT WORK
// THIS IS THE ACTUAL PATH TO YOUR PHP INSTALLATION
$thispath = "D:\Inetpub\wwwroot\test\ubbthreads";

// DO NOT EDIT ANYTHING BELOW THIS LINE!
include("$thispath/ubbt.inc.php");

?>

There's a cut and paste of my main.inc.php

#23141 03/21/2002 5:08 PM
Anonymous
Unregistered
Anonymous
Unregistered
What you see below is a cut and paste from each step of the install process. It appears that everything works, until, I click on createtables.

To my way of thinking it should create the tables but I must be missing something. The install on my web host went prefect. This is a local copy to play with before I make changes to the real thing.

Installing Now:

In order to automate the installation procedure, we first need to make sure all of the proper files have write access. If any of these checks fail you will need to change the permissions on these files. (Chmod 666 or 664 on linux and granting write access to the files/folders on Windows. Your stylesheets directory will probably need to be 777 so you can create new stylesheets from the admin section).
Note: The only files that are necessary at this point are main.inc.php, config.inc.php and theme.inc.php. If any of the non-critical files fail you can continue the installation and change the permissions on these once the program is installed.


Main Directory
main.inc.php PASSED
config.inc.php PASSED
theme.inc.php PASSED
filters/all files PASSED
includes/.php files PASSED
stylesheets/all files PASSED
All checks passed.


Connecting to server PASSED
Connecting to database PASSED
Creating a table PASSED
Dropping a table PASSED
All test passed


Checking all path/url information. Please make sure you have all files uploaded, or you will get false reporing. NOTE: The first 3 might fail if PHP is unable to open files via a URL. If that is the case you may continue to the next step.

phpurl (http://andrew-07n4xy6x/test/ubbthreads) PASSED
images (http://andrew-07n4xy6x/test/ubbthreads/images) PASSED
styledir (http://andrew-07n4xy6x/test/ubbthreads/stylesheets) PASSED
path (D:\Inetpub\wwwroot\test\ubbthreads) PASSED
imagepath (D:\Inetpub\wwwroot\test\ubbthreads\images) PASSED
stylepath (D:\Inetpub\wwwroot\test\ubbthreads\stylesheets) PASSED

All checks passed


All config files have been created. You may now proceed to creating the database tables.

This is the confusing part to me. Why does it cut off \t in that opening statement. What you see below is a cut and paste and it pushes est\ubbthreads/ubbt to the nest line. If I look at the view source from that page what you see is this:
Failed opening 'D:\Inetpub\wwwroot est\ubbthreads/ubbt.inc.php' for inclusion (include_path='c:\php4\pear') in <b>d:\inetpub\wwwroot\test\ubbthreads\main.inc.php

Warning: Failed opening 'D:\Inetpub\wwwroot est\ubbthreads/ubbt.inc.php' for inclusion (include_path='c:\php4\pear') in d:\inetpub\wwwroot\test\ubbthreads\main.inc.php on line 8

Fatal error: Call to a member function on a non-object in d:\inetpub\wwwroot\test\ubbthreads\createtable.php on line 63

#23142 03/23/2002 11:25 AM
Anonymous
Unregistered
Anonymous
Unregistered
Check the main.inc.php file to make sure that it's permissions allow it to be writeable via the browser - see what that path has to say for itself inside there, too.

Regards,

Brett Harris
Infopop Corporation

#23143 03/23/2002 7:52 PM
Anonymous
Unregistered
Anonymous
Unregistered
I installed, removed, installed, removed several times. Those foolish permissions in 2000. Blah!

Needless to say the last one went extremly smooth, The only problems I have now are sendmail, which I think also is a premission problem and a cookie problem.

I run Zona Alarm Pro as a firewall and have the following checked, Block 3rd party cookies, disable web bugs, and remove private header information. The cookie control is set to medium. But if I change it to off then everything works fine. Does the cookies UBB creates fall under one of those three?

But other than that, it all appears to be running smooth. Opps, sorry, one more problem. Now that I have a local copy I can no longer post on any other boards. The invalid host problem. I have read here that it has something to so with the reefer <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" /> or something like that. Is that a way to get rid of that or should I just edit it out?

#23144 03/24/2002 9:50 PM
Anonymous
Unregistered
Anonymous
Unregistered
Can you post to other boards with Zone Alarm Pro turned OFF? Try that first - Also, yes, do check the referrer as you will need to have that set correctly. Glad that you have it working. No, you will not be able to set the Mail to work correctly unless you have the ability to have an SMTP Gateway listen to your local machine for outgoing mail. That could be tricky at best.

Regards,

Brett Harris
Infopop Corporation

#23145 03/25/2002 2:34 PM
Anonymous
Unregistered
Anonymous
Unregistered
Nope! <img border="0" title="" alt="[Razz]" src="images/icons/tongue.gif" /> Running Zone Alarm Pro I cannot post to any other UBBThreads boards, but......

Me and my foolish ways, I installed Windows 2000 Professional and upgraded to the retail version at the same time. I then installed MySQL, PHP, IIS and proceded to get it all to run as a local copy to play with.

I thought it was something that I was doing that was really stupid and in a way it was. But most of my problems were with Zone Alarm.

By modifying the setup in cookie control and unchecking 3rd party cookies and remove header information everything began to work as expected. So I guess UBBThreads is classifed as a 3rd party cookie, and the header information is the same as the referrer statement.

It was actually two fold. The first time I disabled the header information and that allowed me to post without the invalid host message. But if I remember correctly, after logging in my boards as an admin I could not get to the admin prompt. It told me I needed to log in. So I went back to Zone Alarm and enabled 3rd party cookies and it then allowed me to get to the admin section.

#23146 03/25/2002 3:51 PM
Anonymous
Unregistered
Anonymous
Unregistered
FWIW, Zone Alarm Pro 3.x's privacy settings are way too strict and unintelligent. You will find yourself having a lot of problems with mainstream web sites if you use them. I recommend that the cookie control, ad blocking, and mobile code control be set to off. And instead use a separate program to filter cookies and block ads as even the lowest rated program of that type is much more powerful, customizable, and intelligent.

For cookies I recommend Cookie Pal available from Kookaburra Software or Cookie Wall from AnalogX and for ads POW, also from AnalogX

----------------------
<img src="http://www.bowlingfans.com/ubb/icons/icon911.gif" alt=" - " /> Steve
Moderator - UBBâ„¢Central's Advanced UBB Forum

BowlingFans.comâ„¢ | BowlingCommunity.comâ„¢
Sorry, I won't answer support questions by e-mail, PM, or IM.


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
1 members (Nightcrawler), 639 guests, and 217 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)