I have been able to register my first user, but once I have logged in, and click the "Admin" link at the top left left of the screen, I get the following error:
Warning: Failed opening './ubbt.inc.php' for inclusion (include_path='') in /home/www/massassimilation/ubbthreads/main.inc.php on line 8
Fatal error: Cannot instantiate non-existent class: user in /home/www/massassimilation/ubbthreads/admin/login.php on line 27
I am at the following URL when this occurs: /ubbthreads/admin/login.php?Cat=
FTP to your server and check your config.inc.php file for the proper paths in all the standard locations - in this case the Installation directory may be off.
Brett, thanks for the tip, but I looked, and everything is where it is supposed to be as far as I can tell. Let me know if you see anything that is "off."
// Path and Url variables
// Url to the main UBB.threads php install $config['phpurl'] = "http://www.massassimilation.net/ubbthreads";
// Absolute Url containing the images $config['images'] = "/ubbthreads/images";
// Path to your images directory, needed for calculating image sizes $config['imagepath'] = "./images";
// Url to your stylesheets directory $config['styledir'] = "/ubbthreads/stylesheets";
// Path to your UBB.threads php install $config['path'] = "./";
// Path to your stylesheets directory $config['stylepath'] = "./stylesheets";
// Domain that ubbthreads is running under. $config['referer'] = "http://www.massassimilation.net";
I'm trying not to be a half-witt, but I think I am failing.
I replaced my relative paths with the path in the directory structure of the server to the files. That path on my server is /home/www/massassimilation/ubbthreads/ . that didn't quite work either.
I guess I am missing something really obvious here.
In my trials this time, I decided to stick a "/" at the end of the path, and got this error message on the page previous to the Admin page [that I am not getting to].
Warning: readfile("/ubbthreads//includes/header-insert.php") - No such file or directory in /home/www/massassimilation/ubbthreads/ubbt.inc.php on line 144
This is really interesting (while clearly also not being the solution), because this time, it references "/home/www/massassimilation" which I have not specified in config.inc.php. As you can see, I am just grasping for straws here.
I would just shut up and buy the product right away except that I need to make sure it works with my hosting situation.
When I try (/ubbthreads , /ubbthreads/stylesheets, and /ubbthreads/images ) I get the following error message:
Warning: readfile("/ubbthreads/includes/header-insert.php") - No such file or directory in /home/www/massassimilation/ubbthreads/ubbt.inc.php on line 144.
I'm having the same proble also "Warning: Failed opening './ubbt.inc.php' for inclusion (include_path='') in /home/www/massassimilation/ubbthreads/main.inc.php on line 8 " My config file looks like this // Url to the main UBBThreads php install $config['phpurl'] = "http://192.168.123.22/ubbthreads";
// Relative Url containing the images $config['images'] = "./images";
// Path to your images directory, needed for calculating image sizes $config['imagepath'] = "./images";
// Url to your stylesheets directory $config['styledir'] = "./stylesheets";
// Path to your UBBThreads php install $config['path'] = "./";
// Path to your stylesheets directory $config['stylepath'] = "./stylesheets";
// Domain that ubbthreads is running under. $config['referer'] = "http://192.168.123.22";
I have the "sessions" folder above the root directory. with everyone full access.
Why oh why oh why don't Infopop tell people to use the "realpath" function to determine their correct path settings????????
How many times do I have to suggest this? <img border="0" title="" alt="[Confused]" src="images/icons/confused.gif" /> Or do you guys enjoy seeing folk have the same problems with path settings time after time after time ...........?
Running the following: <? $path = realpath ("./"); print $path; ?> gets the system to tell you what the path is to the folder from which the script is run.
Thanks for that - for the most part that's not that hard to do - however sometimes the folders are virtual so the remaining paths can be a trick.
Turk - you may want to start a new thread on this subject unless you have already done so - that will assure that we know that it's only you on that thread.
Paths were the one thing that I had problems with when I first installed UBBT. Furthermore, for those of us on a hosted server, it can be a very difficult question to get answered. I guess the number of queries you guys get on the subject is testimony to that.
The PHP "realpath" function was my salvation - I figured it might be to many others too!