Webmastersite.net
Register Log In

Error adding new database table

Title Error adding new database table
Message Text Hi Paul, I've been playing around with the 5 series and was having some issues with the "Adding Database Tables" tutorial. I've successfully create the table in mysql and can be seen from within the Toplist Generator feature in the Admin panel. Though when i initate the page via the link "generics.php?action=add&classname=widgets" i get the following error message. Fatal error: Class 'widgets' not found in /home/firstbyt/public_html/test_5/generics.php on line 69 Any idea where i might have gone wrong? below is the database query. regards FBM CREATE TABLE IF NOT EXISTS `wsnlinks_widgets` ( `id` int(11) NOT NULL auto_increment, `time` timestamp NOT NULL default CURRENT_TIMESTAMP, `lastedit` time NOT NULL default '00:00:00', `amount` int(11) NOT NULL default '0', `ownerid` int(11) NOT NULL default '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership FirstByteMedia
Views 312 views. Averaging 0 views per day.
Similar Topics
Submission Date Oct 28, 2008 - 11:21 AM