Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
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=

Any thoughts?

Anonymous
Unregistered
Anonymous
Unregistered
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.

Regards,

Brett Harris
Infopop Corporation

Anonymous
Unregistered
Anonymous
Unregistered
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";

Anonymous
Unregistered
Anonymous
Unregistered
These 3 will need to be changed to reflect the full path from the root directory (ie. "/home/ubbthreads"):

// Path to your images directory, needed for calculating image sizes
$config['imagepath'] = "./images";

// Path to your UBB.threads php install
$config['path'] = "./";

// Path to your stylesheets directory
$config['stylepath'] = "./stylesheets";

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

Anonymous
Unregistered
Anonymous
Unregistered
Rick,

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.

Anonymous
Unregistered
Anonymous
Unregistered
consider removing the . from the front of the paths.

Regards,

Brett Harris
Infopop Corporation

Anonymous
Unregistered
Anonymous
Unregistered
Brett,

Tried that. Was one of many tests.

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.

Anonymous
Unregistered
Anonymous
Unregistered
And of course, those files and directories are present.

Anonymous
Unregistered
Anonymous
Unregistered
Have you chmodded the directories to 777?

Regards,

Brett Harris
Infopop Corporation

Anonymous
Unregistered
Anonymous
Unregistered
Brett,

Yes, I followed the install instructions. I have subsequently tested the environment with all the directories set at 777. No luck.

Anonymous
Unregistered
Anonymous
Unregistered
I give up. I just installed it on a server that has what I perceive to be a more "forward" organization.

The install "script" picked up the paths just fine by itself.

Thanks for the assistance. I hope I never have to install this product on an server offered by that host.

Anonymous
Unregistered
Anonymous
Unregistered
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.

What am I doing wrong?

Anonymous
Unregistered
Anonymous
Unregistered
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.

Dave Anderson
http://www.pctechguide.com

Anonymous
Unregistered
Anonymous
Unregistered
Dave,

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.

Regards,

Brett Harris
Infopop Corporation

Anonymous
Unregistered
Anonymous
Unregistered
Thanks Brett

Just trying to help!

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!

Dave Anderson
http://www.pctechguide.com


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Havenofsobriety), 458 guests, and 91 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)