 |
 |
 |
 |
#247941 - 01/28/04 07:18 PM
Re: TLD Bv1.5 Released - Threads Links Directory
[Re: netguard]
|
Enthusiast
Registered: 06/19/02
Posts: 307
Loc: Fernandina Beach, FL
|
Actually, I never even thought about https for secure connection! I'll consider this a bug, and will look into it further. Meanwhile, if you have a link with the https, you should be able to add it directly via phpmyadmin. When the links are called from the database, it does not check for https or http, etc. Only when a link is submitted is it checked for valid URL, and as I said, I never took this into consideration when I started TLD. <br /> <br /> edit <br /> <br />Just a note, it's just a matter of changing the regexp on the submit_link.php script.
Edited by fishtails (01/28/04 07:20 PM)
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#247947 - 02/29/04 06:11 AM
Re: TLD Bv1.5 Released - Threads Links Directory
[Re: 10k]
|
Member
Registered: 01/30/03
Posts: 285
Loc: Amsterdam, The Netherlands
|
This my first installation of this add-on. I installed it from the attachment on page 1, but when I bring up links.php, I get the following errors: <br /> <br /> []SQL ERROR: Sun, Feb 29 2004 14:01:06 +0100 Unable to do_query: SELECT lid,cat_id FROM w3t_links_links WHERE approved = '1' <br />Table 'pasqual_cznet.w3t_links_links' doesn't exist <br />Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/pasqual/tsjechie.net/forum/links_show_cat.php on line 46 <br />SQL ERROR: Sun, Feb 29 2004 14:01:06 +0100 Unable to do_query: SELECT * FROM w3t_links_categories WHERE parent_id = '0' ORDER BY 'cat_order' <br />Table 'pasqual_cznet.w3t_links_categories' doesn't exist <br />Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/pasqual/tsjechie.net/forum/links_show_cat.php on line 66[/] <br /> <br />Ok, I understand.. no tables have been created so far, so I follow the admin link... <br /> <br />Another SQL error comes up: <br /> <br /> []SQL ERROR: Sun, Feb 29 2004 14:03:01 +0100 Unable to do_query: SELECT * FROM w3t_links_links WHERE approved = '0' ORDER BY 'date_added' <br />Table 'pasqual_cznet.w3t_links_links' doesn't exist <br />Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/pasqual/tsjechie.net/forum/links_admin.php on line 74 [/] <br /> <br />Ok, since this is my first installation of this add-on, I click you can do so by clicking here. <br /> <br />The following 2 errors come up: <br /> <br /> []SQL ERROR: Sun, Feb 29 2004 14:05:08 +0100 Unable to do_query: SELECT * FROM w3t_links_links WHERE approved = '0' ORDER BY 'date_added' <br />Table 'pasqual_cznet.w3t_links_links' doesn't exist <br />Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/pasqual/tsjechie.net/forum/links_admin.php on line 74 [/] <br /> <br />and <br /> <br /> []SQL ERROR: Sun, Feb 29 2004 14:05:08 +0100 Unable to do_query: CREATE TABLE w3t_links_categories ( cat_id int(11) NOT NULL auto_increment, parent_id int(11) default NULL, title varchar(50) NOT NULL default '', cat_desc varchar(60) default NULL '', cat_order tinyint(10) NOT NULL default '0', PRIMARY KEY (cat_id) ) <br />You have an error in your SQL syntax near ''', cat_order tinyint(10) NOT NULL default '0', ' at line 8Database tables have been created. You can now add categories and links. <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /> [/] <br /> <br />Not exactly a smooth installation! <img src="http://www.ubbdev.com/forum/images/graemlins/laugh.gif" alt="" /> <br /> <br />Anything I miss here ? <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" />
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#247951 - 03/03/04 03:47 PM
Re: TLD Bv1.5 Released - Threads Links Directory
[Re: 10k]
|
Member
Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
|
Your tables do not exist try these through phpmyadmin <br /> <br />CREATE TABLE `w3t_links_categories` ( <br /> `cat_id` int(11) NOT NULL auto_increment, <br /> `parent_id` int(11) default NULL, <br /> `title` varchar(50) NOT NULL default '', <br /> `cat_order` tinyint(10) NOT NULL default '0', <br /> `cat_desc` varchar(60) default NULL, <br /> PRIMARY KEY (`cat_id`) <br />) TYPE=MyISAM AUTO_INCREMENT=0 ; <br /> <br />CREATE TABLE `w3t_links_favorites` ( <br /> `num` int(9) unsigned NOT NULL auto_increment, <br /> `lid` int(9) unsigned NOT NULL default '0', <br /> `uid` int(9) unsigned NOT NULL default '0', <br /> PRIMARY KEY (`num`), <br /> KEY `FAV_indx1` (`uid`) <br />) TYPE=MyISAM AUTO_INCREMENT=0 ; <br /> <br />CREATE TABLE `w3t_links_links` ( <br /> `lid` int(11) NOT NULL auto_increment, <br /> `cat_id` int(11) default NULL, <br /> `approved` tinyint(4) NOT NULL default '1', <br /> `title` varchar(100) NOT NULL default '', <br /> `url` varchar(100) NOT NULL default '', <br /> `description` text NOT NULL, <br /> `date_added` int(11) unsigned NOT NULL default '0', <br /> `name` varchar(100) NOT NULL default '', <br /> `email` varchar(100) NOT NULL default '', <br /> `hits` int(11) NOT NULL default '0', <br /> `user_number` int(11) NOT NULL default '0', <br /> `member` char(2) NOT NULL default '', <br /> `linkratingsummary` double(6,4) NOT NULL default '0.0000', <br /> `totalvotes` int(11) NOT NULL default '0', <br /> PRIMARY KEY (`lid`) <br />) TYPE=MyISAM AUTO_INCREMENT=0 ; <br /> <br />I dumped these from my working install
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|