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.
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
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
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.
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.
*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?
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" />
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
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:
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 \.
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.
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
// 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");
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.
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
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.
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?
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.
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.
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'sAdvanced UBB Forum