php forum
php mysql forum
php mysql smarty
 
Page 2 of 3 < 1 2 3 >
Topic Options
#315730 - 09/17/07 02:22 PM Re: TLD 7.2 - Link Directory [Re: GEN]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 806
Loc: Berlin, Germany
There are 2 little bugs in links.inc.php:

line 141 and line 1167 contains a double }
change it to a single }

what the first }} do .. I dont now but the second break the breadcrumb link

The same problem in links_admin.php on line 805 and links_redirect.php line 157
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#315731 - 09/17/07 03:54 PM Re: TLD 7.2 - Link Directory [Re: Zarzal]
GEN Offline
Power User

Registered: 01/01/07
Posts: 52
Loc: UK
I tried running Blasskaaks query

Code:
CREATE TABLE ubbt_links_links
			(
				lid int(11) NOT NULL auto_increment,
				cat_id int(11) default NULL,
				approved tinyint(4) NOT NULL default '1',
				title varchar(100) NOT NULL default '',
				url varchar(100) NOT NULL default '',
				description text NOT NULL,
				date_added int(11) unsigned NOT NULL default '0',
				name varchar(100) NOT NULL default '',
				email varchar(100) NOT NULL default '',
				hits int(11) NOT NULL default '0',
				user_number int( 11 ) NOT NULL default '0',
				member char(2) NOT NULL default '',
				linkratingsummary double(6,4) NOT NULL default '0.0000',
				totalvotes int(11) NOT NULL default '0',
				PRIMARY KEY  (lid)
			)


			CREATE TABLE ubbt_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)
			)


			CREATE TABLE ubbt_links_favorites
			(
				num int(9) unsigned NOT NULL auto_increment,
				lid int(9) unsigned NOT NULL default '0',
				uid int(9) unsigned NOT NULL default '0',
				PRIMARY KEY  (num),
				KEY FAV_indx1 (uid)
			)


to create the table - as I get this:

We encountered a problem. The reason reported was

Script:
Line#:
SQL Error: Table 'galactiF.ubbt_links_links' doesn't exist
SQL Error #: 1146
Query: SELECT lid,cat_id FROM ubbt_links_links WHERE approved = '1'


but it says :

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CREATE TABLE ubbt_links_categories
_________________________
GEN
Give Yourself to the Dark Side @ http://www.galacticempire.net
Give Yourself to the Geek Side @ http://www.movingimagetoys.com
"Anakin, duck!"
"What's a duck?"

Top
#315802 - 09/24/07 03:02 PM Re: TLD 7.2 - Link Directory [Re: GEN]
GEN Offline
Power User

Registered: 01/01/07
Posts: 52
Loc: UK
Anyone know what I'm doing wrong to get this error ? I REALLY want to get this working.

smile
_________________________
GEN
Give Yourself to the Dark Side @ http://www.galacticempire.net
Give Yourself to the Geek Side @ http://www.movingimagetoys.com
"Anakin, duck!"
"What's a duck?"

Top
#315810 - 09/24/07 11:54 PM Re: TLD 7.2 - Link Directory [Re: Zarzal]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Originally Posted By: Zarzal
There are 2 little bugs in links.inc.php:


If I remember right there's a good number of little bugs here and there in the code this is based on. If I ever get time I'll look at updating it.
_________________________
- Allen wavey
- What Drives You?

Top
#315811 - 09/24/07 11:55 PM Re: TLD 7.2 - Link Directory [Re: GEN]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Originally Posted By: GEN
Anyone know what I'm doing wrong to get this error ? I REALLY want to get this working.

smile


?? What platform are you running on?
_________________________
- Allen wavey
- What Drives You?

Top
#315813 - 09/25/07 12:06 AM Re: TLD 7.2 - Link Directory [Re: AllenAyres]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
It looks like you didn't create all the tables, or they are of a different prefix
_________________________
- Allen wavey
- What Drives You?

Top
#315830 - 09/25/07 12:18 PM Re: TLD 7.2 - Link Directory [Re: AllenAyres]
GEN Offline
Power User

Registered: 01/01/07
Posts: 52
Loc: UK
Oh, the prefix is the same.

It's just every time I run the query to create the tables it doesn't do it in phpMyAdmin
_________________________
GEN
Give Yourself to the Dark Side @ http://www.galacticempire.net
Give Yourself to the Geek Side @ http://www.movingimagetoys.com
"Anakin, duck!"
"What's a duck?"

Top
#315831 - 09/25/07 01:21 PM Re: TLD 7.2 - Link Directory [Re: GEN]
mikey81 Offline
Lurker

Registered: 09/20/07
Posts: 5
I have allmost the same problem. Centos 5.0 latest mysql.

SQL-query:

CREATE TABLE ubbt_links_links(

lid int( 11 ) NOT NULL AUTO_INCREMENT ,
cat_id int( 11 ) default NULL ,
approved tinyint( 4 ) NOT NULL default '1',
title varchar( 100 ) NOT NULL default '',
url varchar( 100 ) NOT NULL default '',
description text NOT NULL ,
date_added int( 11 ) unsigned NOT NULL default '0',
name varchar( 100 ) NOT NULL default '',
email varchar( 100 ) NOT NULL default '',
hits int( 11 ) NOT NULL default '0',
user_number int( 11 ) NOT NULL default '0',
memberchar( 2 ) NOT NULL default '',
linkratingsummary double( 6, 4 ) NOT NULL default '0.0000',
totalvotes int( 11 ) NOT NULL default '0',
PRIMARY KEY ( lid )
) CREATE TABLE ubbt_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 )
) CREATE TABLE ubbt_links_favorites(
num int( 9 ) unsigned NOT NULL AUTO_INCREMENT ,
lid int( 9 ) unsigned NOT NULL default '0',
uid int( 9 ) unsigned NOT NULL default '0',
PRIMARY KEY ( num ) ,
KEY FAV_indx1( uid )
)

MySQL retourneerde:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CREATE TABLE ubbt_links_categories
(

cat_id int(11) NOT NULL auto_inc' at line 21



Edited by mikey81 (09/25/07 01:22 PM)

Top
#315833 - 09/25/07 03:13 PM Re: TLD 7.2 - Link Directory [Re: mikey81]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Can you try running each create table on its own and see which one it chokes on?
_________________________
- Allen wavey
- What Drives You?

Top
#315834 - 09/25/07 03:30 PM Re: TLD 7.2 - Link Directory [Re: AllenAyres]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 304
Loc: The Netherlands
Originally Posted By: AllenAyres
It looks like you didn't create all the tables, or they are of a different prefix


I did rename the w3t prefix to ubbt, I also updated the code itselve to use that new prefix.
_________________________

Top
#315836 - 09/25/07 05:37 PM Re: TLD 7.2 - Link Directory [Re: blaaskaak]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Are you having the same problems? Did anyone get it to install correctly?
_________________________
- Allen wavey
- What Drives You?

Top
#315837 - 09/25/07 05:39 PM Re: TLD 7.2 - Link Directory [Re: AllenAyres]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 304
Loc: The Netherlands
I got to install correctly...

I changed the default prefix to ubbt_
created the tables manually
_________________________

Top
#315861 - 09/26/07 03:00 AM Re: TLD 7.2 - Link Directory [Re: AllenAyres]
mikey81 Offline
Lurker

Registered: 09/20/07
Posts: 5
Originally Posted By: AllenAyres
Can you try running each create table on its own and see which one it chokes on?


Seperately the tables create with no problems!?!

Top
#315862 - 09/26/07 03:20 AM Re: TLD 7.2 - Link Directory [Re: mikey81]
GEN Offline
Power User

Registered: 01/01/07
Posts: 52
Loc: UK
Same here.

Now all I need to do is get some of the display issues sorted.
_________________________
GEN
Give Yourself to the Dark Side @ http://www.galacticempire.net
Give Yourself to the Geek Side @ http://www.movingimagetoys.com
"Anakin, duck!"
"What's a duck?"

Top
#315865 - 09/26/07 07:49 AM Re: TLD 7.2 - Link Directory [Re: GEN]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Good, if I get time I'll look at it later this week, it really needs a few issues worked out smile
_________________________
- Allen wavey
- What Drives You?

Top
#315866 - 09/26/07 08:16 AM Re: TLD 7.2 - Link Directory [Re: AllenAyres]
GEN Offline
Power User

Registered: 01/01/07
Posts: 52
Loc: UK
smile
_________________________
GEN
Give Yourself to the Dark Side @ http://www.galacticempire.net
Give Yourself to the Geek Side @ http://www.movingimagetoys.com
"Anakin, duck!"
"What's a duck?"

Top
#315868 - 09/26/07 10:20 AM Re: TLD 7.2 - Link Directory [Re: GEN]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 304
Loc: The Netherlands
Great to hear Allen!

We are kinda planning on using this, but I held it back a little after hearing about the problems in it.
_________________________

Top
#315871 - 09/26/07 03:39 PM Re: TLD 7.2 - Link Directory [Re: blaaskaak]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 806
Loc: Berlin, Germany
I use my old tables so I dont run the create process
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#315887 - 09/28/07 08:18 PM Re: TLD 7.2 - Link Directory [Re: Zarzal]
Micky Offline
Member

Registered: 02/11/04
Posts: 183
Loc: Bern, Switzerland
Hi,
if one the Line

$config['tbprefix'] = "ubbt_"; // The Prefix to the Links tables

in the files links.inc.php, links_admin.inc.php, links_redirect.inc.php by

$config['tbprefix'] = "{$config['TABLE_PREFIX']}"; // The Prefix to the Links tables

substituted, one does not need before the installation only the files with the right Prefix edit. smile
_________________________
Gruss Micky

Golf Diesel Forum

Top
#316726 - 02/17/08 05:32 AM Re: TLD 7.2 - Link Directory [Re: JoshPet]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 806
Loc: Berlin, Germany
Has someone test this under V7.3b4?
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
Page 2 of 3 < 1 2 3 >


Moderator:  sirdude 
Who's Online
0 registered (), 21 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Yesterday at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
12/03/08 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks