Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2001
Posts: 5
Lurker
Lurker
Offline
Joined: Feb 2001
Posts: 5
I am tring to install wwwthread (full version) on my machine, but I keep getting lots of warnings. I figured out the if I surround the variable that are not in single quotes, that many of these warnings go away, but, then others seem to pop up.

I am very new at php, and very new at mysql. My biggest probelm now id the following:

(When running create table script)
I am assuming the first error my be causeing the the others.



Warning: Undefined variable: w3t_language in main.inc.php on line 38

Warning: Undefined property: dbh in d:/Inetpub/wwwroot/Prototypes/wwwthreads/mysql.inc.php on line 21
Creating the tables...
Seeya! No Database Selected: 1046Board table created...
Seeya! No Database Selected: 1046Posts table created...
Adding a master poll table...
Seeya! No Database Selected: 1046Adding the poll results table...
Seeya! No Database Selected: 1046Seeya! No Database Selected: 1046Last viewed table created...
Seeya! No Database Selected: 1046Category table created...
Seeya! No Database Selected: 1046Seeya! No Database Selected: 1046Users table created...
Seeya! No Database Selected: 1046Moderator table created...
Seeya! No Database Selected: 1046Messages table created...
Seeya! No Database Selected: 1046Banned table created...
Seeya! No Database Selected: 1046Groups table created
Warning: Undefined variable: extra in D:\Inetpub\wwwroot\Prototypes\wwwthreads\createtable.php on line 422

Warning: Undefined variable: extra in D:\Inetpub\wwwroot\Prototypes\wwwthreads\createtable.php on line 434
Seeya! No Database Selected: 1046
Warning: Undefined variable: extra in D:\Inetpub\wwwroot\Prototypes\wwwthreads\createtable.php on line 438
Seeya! No Database Selected: 1046
Warning: Undefined variable: extra in D:\Inetpub\wwwroot\Prototypes\wwwthreads\createtable.php on line 442
Seeya! No Database Selected: 1046
Warning: Undefined variable: extra in D:\Inetpub\wwwroot\Prototypes\wwwthreads\createtable.php on line 446
Seeya! No Database Selected: 1046Basic groups created...
Seeya! No Database Selected: 1046Online table created...
Seeya! No Database Selected: 1046Subscribe table created...
Creating table for the address book...
Seeya! No Database Selected: 1046
All tables created.

Don't forget to visit the WWWThreads In Use section to add your site to the list of sites running WWWThreads.

Visit the newuser script to create your main admin user. Be sure to choose this name and email carefully as this will be your permanent main administrator.

Thanks,
Scream (Rick Baker [email protected])



Sponsored Links
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
I'm not real familiar with all of the config options for php yet, but it seems like you have some sort of strict setting turned on to display all warnings. So you may want to browse through your php.ini (if you have your own) and check for a setting for this.

The second one where it is displaying "No database selected" looks like maybe you have an empty $config[dbname] in your config.inc.php file.


UBB.threads Developer
Joined: Feb 2001
Posts: 5
Lurker
Lurker
Offline
Joined: Feb 2001
Posts: 5
Thanks for you reply.
Does it matter weather you use single quotes when setting array values:

example:
$config['allowfiles'] = ".zip,.txt,.gif,.jpg,.jpeg,.bmp";
OR
$config[allowfiles] = ".zip,.txt,.gif,.jpg,.jpeg,.bmp";


Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
As far as I know it doesn't matter when setting the array values, but I could be wrong.


UBB.threads Developer

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)