Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
It's possible that the following problems may be related to one another. I'm installing UBBThreads licensed version for the first time. I was able to successfully install UBBThreads to the point where I recieved an e-mail with my registered username and user defined password.

For your info, my hardware and software configuration.
- UBBThreads PHP version 5.5.1
- PHP 4.1.2
- MySQL 3.23
- Windows NT Server 4.00.1381 SP6
- IIS 4
- IE 5.5.50.4807.2300

I then proceeded to view ubbthreads.php and categories.php which displayed blank pages and/or an error message. The error message is typically the same throughout all pages whether they are blank or where I see a prompt that I should login.

The error message displayed is as follows.


__________

Warning: Failed opening 'D:InetPubsyscon.bc.casysconversation/languages/english/generic.php' for inclusion (include_path='c:\php4\pear') in D:\InetPub\syscon.bc.ca\sysconversation\ubbt.inc.php on line 98

Warning: Failed opening 'D:InetPubsyscon.bc.casysconversation/includes/header.php' for inclusion (include_path='c:\php4\pear') in D:\InetPub\syscon.bc.ca\sysconversation\ubbt.inc.php on line 213
__________

At first I only got blank pages when trying to view ubbthreads.php and categories.php but after making different changes to main.inc.php and config.inc.php I now see the above messages on pages that were original blank.

I was also able to login at first with my admin username and password, but after making some changes in main.inc.php and config.inc.php and deleting my cookies. I am now not able to login, when I try to login I keep getting a new password. The login page doesn't even display the 'sumbit/login' text in the button.

The following is a copy and paste of my main.inc.php and config.inc.php.


__________
main.inc.php


<?

// THIS NEEDS TO BE SET, OTHERWISE ADMIN SCRIPTS WILL NOT WORK
// THIS IS THE ACTUAL PATH TO YOUR PHP INSTALLATION
$thispath = "D:\Inetpub\syscon.bc.ca\sysconversation";

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

?>


__________


For "$thispath" I've also tried without success substituting "\" with "\" and "\".

__________
config.inc.php


<?
/*
# UBBThreads, Version 5
# Official Release Date for UBBThreads Version5: December 12, 2000.

# First version of UBBThreads created July 30, 1996 (by Rick Baker).
# This entire program is copyright Infopop Corporation, 2001.
# For more info on the UBBThreads and other Infopop
# Products/Services, visit: http://www.infopop.com

# Program Author: Rick Baker.

# You may not distribute this program in any manner, modified or otherwise,
# without the express, written written consent from Infopop Corporation.

# Note: if you modify ANY code within UBBThreads, we at Infopop Corporation
# cannot offer you support-- thus modify at your own peril <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />
# ---------------------------------------------------------------------------
*/

$VERSION = "5.5.1";

// ------------------
// Database Variables

// What type of database are you running
// current options
// mysql, (postgres, sybase are available but untested)
$config['dbtype'] = "mysql";

// Server hosting the database
$config['dbserver']= "dotsyscon";

// Username that has permissions to the database
$config['dbuser'] = "passwordhere";

// Password for the database
$config['dbpass'] = "passwordhere";

// Name of the database
$config['dbname'] = "passwordhere";

// If you are using mysql do you want to use persistent connections?
// Note that on some hosted servers you may not be allowed to do this
// so contact your host before setting this to "on"
// Options: 1 - Use persistent: 0 - Don't use persistent
$config['persistent'] = 1;

// ----------------------
// Path and Url variables

// Url to the main UBBThreads php install
$config['phpurl'] = "http://dotsyscon/sysconversation";

// Relative Url containing the images
$config['images'] = "/images/sysconversation/images";

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

// Url to your stylesheets directory
$config['styledir'] = "/stylesheets";

// Path to your UBBThreads php install
$config['path'] = "/inetpub/syscon.bc.ca/sysconversation";

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

// Path to save session information
// This is only used if $config['tracking'] = "sessions"
// Needs to be a world writeable directory outside of your html tree
$config['sessionpath'] = "";

// Domain that ubbthreads is running under.
$config['referer'] = "http://dotsyscon";

// --------------------------
// Site specific / Navigation

// Do you want to do full new post tracking? Show the number of new posts on
// a board/thread and show which posts are new in a thread? This option can
// contribute to high load on forums with hundreds of users online at once due
// to the number of queries that are necessary.
$config['newcounter'] = 1;

// What groups do you want new users to belong to? THIS SHOULD ONLY
// BE CHANGED IN THE ONLINE EDITOR, UNLESS YOU REALLY KNOW WHAT YOU ARE
// DOING
$config['newusergroup'] = "-3-";

// Title of site
$config['title'] = "SYSCONversation";

// Your Home page URL
$config['homeurl'] = "http://dotsyscon/sysconversation";

// Title of Homepage link
$config['urltitle']= "SYSCONversation";

// Email address
$config['emailaddy']= "[email protected]";

// EMail Title
$config['emailtitle']= "Contact Us";

// Show privacy statement link in footer
$config['privacy'] = "0";

// Show board rules on new user screen?
$config['boardrules'] = "0";

// -----------------
// Special Functions

// Do you want to use sessions or cookies to track your users
// values = "cookies" or "sessions";
$config['tracking'] = "cookies";

// If you are using cookies you can specify a path to make them available
// to other areas of your website. If you only want them to be available
// to things within your ubbthreads installation directory leave this blank
// If you want them available to your whole website, specify a path of "/";
$config['cookiepath'] = "";

// This one variable is used to open or close your forums. Set this to
// 1 if you want to work on your forums. If this is set to 1 then your
// forums will only be accessible by the admin users. Make sure you are
// logged in as an admin before you close the forums.
$config['isclosed'] = 0;

// Show the user list in the navigation menu?
// 0 = No : 1 = Yes
$config['userlist'] = 0;

// Show moderators on the main page
$config['showmods'] = 1;

// Allow users to turn markup / html (if enabled) on or off when they post
// 0 = No : 1 = Yes
$config['markupoption'] = 0;

// Do you want users to be able to mail posts to others
// 0 = No ; 1 = Yes
$config['mailpost'] = 1;

// What type of main page do you want to use.
// 0 = all categories and forums - mainpage = ubbthreads.php
// 1 = categories only - mainpage = categories.php
$config['catsonly'] = 0;

// Allow all users to place polls in posts? If this is off, then only
// admin and moderators may use the polls feature
$config['allowpolls'] = 1;

// Do you want everyone to vote, or just registered users?
// 1 = everyone : 0 = registered
$config['whovote'] = 1;

// How long after a post has been made, can it be edited by the poster?
// This variable is in hours, so you can also use .5 for values of less
// than an hour for example
$config['edittime']= "6";

// Strip everything between < and > signs in email replies and subscriptions
$config['stripcodes'] = 0;

// Check the user's age before creating an account to be compliant with the
// COPPA law found at http://www.ftc.gov/opa/1999/9910/childfinal.htm
// Values = 1 or 0
$config['checkage']= 0;

// If you are checking the user's age and they are under 13 can they register // with the parent consent form?
$config['under13'] = 0;

// Allow special characters in usernames
// Values = 1 or 0
$config['specialc']= 0;

// Allow moderators to edit/delete regular users
// Values = 1 or 0
$config['modedit'] = 1;

// Allow users that are not logged in to choose an unregistered name
// for their post instead of the default Anonymous
$config['anonnames'] = 1;

// Default language. Options can be found in the languages directory
$config['language']= "english";

// Censored replacement word. If you have anything in your filters/badwords
// file then any words matched when adding a new post will be replaced with
// this word. Set this to "" if you do not want to censor words.
$config['censored']= "[censored]";

// Max length of subjects
$config['subjectlength']= "50";

// Max length of signatures
$config['Sig_length']= "100";

// When persistent cookies will expire (Number of seconds from current time)
$config['cookieexp']= "1036800";

// If displayed times need to be adjusted, in hours (2,1,0,-1,-2)
$config['adjusttime']= "0";

// Show the ip address of the posters
// 0 - Show to nobody
// 1 - Show to everyone
// 2 - Show to moderators and admins
// 3 - Show to admins only
$config['showip'] = 1;

// SHow the number of times a thread has been viewed
$config['showviews']= 1;

// Show the total number of registered users on the main page
$config['showreg'] = 1;

// Allow subscriptions to boards. If you allow this then you have to
// have subscriptions.php in the cron directory setup to run nightly
$config['subscriptions']= 1;

// Allow private messages. User's will still receive the welcome message
// and private messages will still be used for admin purposes, but general
// users will not be able to send private messages.
$config['private'] = 1;

// Allow the image markup tag.
$config['allowimages']= 1;

// Allow File Attachemnts. If you provide a path to a directory below
// then File Attachments will be allowed. If you leave it blank, then they
// will not. Make sure this directory is writeable by everyone
$config['files'] = "";

// We also need the url to the files directory
$config['fileurl'] = "";

// Do you want to only allow certain file types, or exclude certain file
// types? Only uncomment one of the following. Seperate your filetypes with
// a , // $config['excludefiles'] = ".php,.asp,.js,.vbs,.sht,.htm";
$config['allowfiles'] = ".gif,.jpg,.txt";
// Maximum filesize allowed
$config['filesize'] = "100000";

// Allow users to specify their password at the time of creating the userid
$config['userpass'] = 1;

// Allow multiple usernames form the same email address
// On- allow multiple usernames from same email. off - disallow
$config['multiuser'] = 0;

// Default to having a preview post screen?
$config['preview'] = 1;

// Dateslip. If this is on, when replies are made to a thread, this thread
// will be moved up to the top of the post list when sorting by descending
// date. If this is off, then threads will stay in their original spot.
$config['dateslip'] = 1;

// These are the extra fields for users to fill out in their profiles.
// If you leave these blank they will not be users. If you give them a
// title then they will show up on the user's profile page.
$config['extra1'] = "ICQ";
$config['extra2'] = "";
$config['extra3'] = "";
$config['extra4'] = "";
$config['extra5'] = "";

// Use the ICQ status indicator. Depending on the size of your user database
// you might be required to turn this off. Please read the ICQ license
// agreemtn at http://www.icq.com/legal/indicator.html
$config['ICQ_Status'] = 1;

?>


__________


Thank-you in advance for your help!

If you need more info to help with my situation please do let me know.

Leo.

Anonymous
Unregistered
Anonymous
Unregistered
Leo try the two \ for paths in both main.inc.php and in config.inc.php

Honor The Victims

Anonymous
Unregistered
Anonymous
Unregistered
D:\Inetpub\syscon.bc.ca\sysconversation

should be

D:/Inetpub/syscon.bc.ca/sysconversation

Notice this error:

Failed opening 'D:InetPubsyscon.bc.casysconversation

No \. The webserver parses them out. You have to use / in all configuration files. Only place to use \ is in php.ini.

I sent in a how-to dealing with Windows paths. Did it get lost in the shuffle?


[b]Open Directory Editor Forum -[/b] Need Help Getting Your Site Listed?

Anonymous
Unregistered
Anonymous
Unregistered
Thanks to Extrm Bob and David Dreezer!

I changed all paths in main.inc.php and config.inc.php with "D:/" and "/".

I was following the definition provided in a one-page document called "What is the Difference Between Paths and URLs?" available in PDF, HTML, MS Word downloaded from http://www.infopop.com/support/ubbthreads/install.html.

Perhaps we could include what we've learned about Windows path in this and other related documents?

Leo.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Who's Online Now
0 members (), 298 guests, and 124 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)