Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
2 registered members (mmkk, JAISP), 60 guests, and 413 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Gizmo
Gizmo
Portland, OR; USA
Posts: 16,784
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 14
FREAK 11
M4TT 8
mmkk 5
isaac 4
Ruben 3
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
PHP3 install problem #27602
10/19/01 06:54 PM
10/19/01 06:54 PM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


Thought I would give the php3 version a try but getting nowhere fast whats this error all about ?

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in c:\Turbosport\BBS\config.inc.php on line 54

Help please

Regards
Clint

Re: PHP3 install problem #27603
10/19/01 07:00 PM
10/19/01 07:00 PM
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
UBBThreads requires a non-beta of PHP4 to work properly. PHP3 does not support enough of the necessary functions to operate the software.

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

Re: PHP3 install problem #27604
10/19/01 07:01 PM
10/19/01 07:01 PM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


Cheers Rick changing that now <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

Regards
Clint

Re: PHP3 install problem #27605
10/19/01 07:03 PM
10/19/01 07:03 PM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


Ah sorry rick y mistake I have downloaded the latest its 4 thats installed (just found it with a 3 link)

Regards
Clint

Re: PHP3 install problem #27606
10/19/01 07:05 PM
10/19/01 07:05 PM
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
Ok, then it is probably a problem with changes to the config.inc.php file. Take a look at around line 54 of this file. Could be something as simple as a missing ; or quote.

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

Re: PHP3 install problem #27607
10/19/01 07:07 PM
10/19/01 07:07 PM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


Im getting this now <img border="0" title="" alt="[Frown]" src="images/icons/frown.gif" />

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in c:\Turbosport\BBS\config.inc.php on line 54

Warning: Undefined variable: config in c:\Turbosport\BBS\ubbt.inc.php on line 24

Warning: Failed opening 'c:/Turbosport/BBS/.inc.php' for inclusion (include_path='') in c:\Turbosport\BBS\ubbt.inc.php on line 24

Warning: Use of undefined constant availablestyles - assumed 'availablestyles' in c:\Turbosport\BBS\theme.inc.php on line 30

Warning: Use of undefined constant tracking - assumed 'tracking' in c:\Turbosport\BBS\ubbt.inc.php on line 43

Warning: Undefined variable: config in c:\Turbosport\BBS\ubbt.inc.php on line 43

Warning: Undefined variable: w3t_language in c:\Turbosport\BBS\ubbt.inc.php on line 48

Warning: Use of undefined constant language - assumed 'language' in c:\Turbosport\BBS\ubbt.inc.php on line 49

Warning: Undefined variable: config in c:\Turbosport\BBS\ubbt.inc.php on line 49

Warning: Failed opening 'c:/Turbosport/BBS/languages//generic.php' for inclusion (include_path='') in c:\Turbosport\BBS\ubbt.inc.php on line 51

Fatal error: Cannot instantiate non-existent class: sql in c:\Turbosport\BBS\ubbt.inc.php on line 53

Regards
Clint

Re: PHP3 install problem #27608
10/19/01 07:09 PM
10/19/01 07:09 PM
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
Looks like you still have a config error somewhere in there. Can you paste everything from between about lines 40-60 of your config.inc.php file here? If there are any syntax errors in it, you will get the errors you are receiving.

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

Re: PHP3 install problem #27609
10/19/01 07:11 PM
10/19/01 07:11 PM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


Rick I have just re downloaded the package and put a different copy of the file in there, I think its getting worse hehe

trying to run create table give this:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

Regards
Clint

Re: PHP3 install problem #27610
10/19/01 07:12 PM
10/19/01 07:12 PM
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
Looks like you have it in your cgi-bin now <img border="0" title="" alt="[Big Grin]" src="images/icons/grin.gif" /> You don't want it there. You want to put it in a standard directory. One thing about PHP is it's not executed like PERL, it's just parsed like HTML pages.

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

Re: PHP3 install problem #27611
10/19/01 07:16 PM
10/19/01 07:16 PM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


well I have speant ages on this and folowed the new instructions limited as they are, all i can say is i am glad i decided not to try and upgrade my perl version.

I am getting this now !
Warning: Use of undefined constant stripcodes - assumed 'stripcodes' in c:\Turbosport\BBS\config.inc.php on line 150

Warning: Use of undefined constant anonnames - assumed 'anonnames' in c:\Turbosport\BBS\config.inc.php on line 167

Warning: Use of undefined constant allowfiles - assumed 'allowfiles' in c:\Turbosport\BBS\config.inc.php on line 225

Warning: Use of undefined constant availablestyles - assumed 'availablestyles' in c:\Turbosport\BBS\theme.inc.php on line 30

Warning: Use of undefined constant tracking - assumed 'tracking' in c:\Turbosport\BBS\ubbt.inc.php on line 43

Warning: Undefined variable: w3t_language in c:\Turbosport\BBS\ubbt.inc.php on line 48

Warning: Use of undefined constant language - assumed 'language' in c:\Turbosport\BBS\ubbt.inc.php on line 49

Warning: Use of undefined constant THIS_FILE - assumed 'THIS_FILE' in c:\Turbosport\BBS\languages\english\generic.php on line 2

Warning: Use of undefined constant NEW_POST_ICON - assumed 'NEW_POST_ICON' in c:\Turbosport\BBS\languages\english\generic.php on line 8

Warning: Use of undefined constant PREV_ICON - assumed 'PREV_ICON' in c:\Turbosport\BBS\languages\english\generic.php on line 9

Warning: Use of undefined constant INDEX_ICON - assumed 'INDEX_ICON' in c:\Turbosport\BBS\languages\english\generic.php on line 10

Warning: Use of undefined constant NEXT_ICON - assumed 'NEXT_ICON' in c:\Turbosport\BBS\languages\english\generic.php on line 11

Warning: Use of undefined constant EXP_ICON - assumed 'EXP_ICON' in c:\Turbosport\BBS\languages\english\generic.php on line 12

Warning: Use of undefined constant COL_ICON - assumed 'COL_ICON' in c:\Turbosport\BBS\languages\english\generic.php on line 13

Warning: Use of undefined constant FLAT_ICON - assumed 'FLAT_ICON' in c:\Turbosport\BBS\languages\english\generic.php on line 14

Warning: Use of undefined constant THREAD_ICON - assumed 'THREAD_ICON' in c:\Turbosport\BBS\languages\english\generic.php on line 15

Warning: Use of undefined constant EDIT_ICON - assumed 'EDIT_ICON' in c:\Turbosport\BBS\languages\english\generic.php on line 16

Warning: Use of undefined constant REPLY_ICON - assumed 'REPLY_ICON' in c:\Turbosport\BBS\languages\english\generic.php on line 17

Warning: Use of undefined constant FORUM_RETURN - assumed 'FORUM_RETURN' in c:\Turbosport\BBS\languages\english\generic.php on line 18

Warning: Use of undefined constant TEXT_BY - assumed 'TEXT_BY' in c:\Turbosport\BBS\languages\english\generic.php on line 23

and it goes on and on

I just cant create my tables !

Regards
Clint

Re: PHP3 install problem #27612
10/19/01 07:19 PM
10/19/01 07:19 PM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


heres my config file see anything wrong ?

<?
/*
# 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" />
# ---------------------------------------------------------------------------
*/

// ------------------
// 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']= "localhost";

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

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

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

// 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://213.210.30.158";

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

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

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

// Path to your UBBThreads php install
$config['path'] = "c:/turbosport/bbs/";

// Path to your stylesheets directory
$config['stylepath'] = "c:/turbosport/bbs/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'] = "c:/turbosport/bbs/sessions";

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

// --------------------------
// 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'] = "UBBThreads PHP Demo / Support";

// Your Home page URL
$config['homeurl'] = "http://www.infopop.com";

// Title of Homepage link
$config['urltitle']= "Infopop.com";

// Email address
$config['emailaddy']= "you@domain.com ";

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


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

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

// 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'] = 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;

// 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'] = "/home/httpd/html/infopop.com/files";

// We also need the url to the files directory
$config['fileurl'] = "http://www.domain.com/files";

// 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] = "";
// Maximum filesize allowed
$config['filesize'] = "100000";

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

// 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;

?>

Regards
Clint

Re: PHP3 install problem #27613
10/19/01 07:21 PM
10/19/01 07:21 PM
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
Luckily these are just warnings, not errors. If you tweak your php.ini warning/error reporting you can eliminate these.

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

Re: PHP3 install problem #27614
10/19/01 07:25 PM
10/19/01 07:25 PM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


ohhhhh I could kiss you some times <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

Turned warnings off and presto !

Regards
Clint

Re: PHP3 install problem #27615
10/19/01 07:27 PM
10/19/01 07:27 PM
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
That's great! Your being happy is thanks enough, no kiss necessary <img border="0" title="" alt="[Eek!]" src="images/icons/shocked.gif" />

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

Re: PHP3 install problem #27616
10/20/01 09:40 AM
10/20/01 09:40 AM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


Hi Clint,

You noted earlier that you had followed the "new instructions"....are you referring to the installation doc that's on the website? If so, do you have any suggestions about what would've helped you avoid your issue in the first place?

I'd love to improve those instructions if I can!

Rosemary

_____________
Rosemary O'Neill
Co-Founder, Exec VP
Infopop Corporation

Re: PHP3 install problem #27617
10/20/01 09:59 AM
10/20/01 09:59 AM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


Rose Ill compile what I did in a document for you <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

Regards
Clint

Re: PHP3 install problem #27618
10/20/01 10:35 AM
10/20/01 10:35 AM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


Thanks very much! I'll work with Rick to make the info available to everyone.

Re: PHP3 install problem #27619
10/20/01 11:02 AM
10/20/01 11:02 AM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


http://users.turbosport.co.uk/cossieclint/phpinstall/phpinstall.htm

there you go full instructions to install php on win2k all my problems were caused by not entering the correct mail host that my domain was allowed to relay through and selecting the default option of showing all warning and errors !

<img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

Regards
Clint

Re: PHP3 install problem #27620
10/21/01 10:40 AM
10/21/01 10:40 AM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


Very cool...thanks Clint!

When I get into the office tomorrow, I'll pull that over.

Re: PHP3 install problem #27621
11/05/01 12:49 PM
11/05/01 12:49 PM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


Just to follow up....we've added your instructions as another resource on the UBBThreads documentation page:

http://www.infopop.com/support/ubbthreads/docs.html

Thank you very much for putting these together; I'm sure they'll help a lot of other people.

<img border="0" title="" alt="[Cool]" src="images/icons/cool.gif" />

Re: PHP3 install problem #27622
11/11/01 06:26 PM
11/11/01 06:26 PM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


Nice to see time was put to good use <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

Regards
Clint


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
I want to update forum but can't find license
by dimaninc. 11/23/17 10:51 AM
Thumbs Up/Rate Individual Posts
by M4TT. 11/22/17 01:11 PM
Forum Statistics
Forums36
Topics35,013
Posts190,528
Members12,045
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171106)