Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2002
Posts: 2
Lurker
Lurker
Offline
Joined: Apr 2002
Posts: 2
On the main Beta6 page, the following text is displayed to allow new users to register: "Enter your username and password to login. If you do not have a username you can register one HERE." The word 'HERE' is a link that points to https://www.ubbdev.com/threads/php/newuser.php?Cat=');

Notice the '); at the end of that URL. This will propagate to following pages, making all UBBT links look like this: https://www.ubbdev.com/threads/php/ubbthreads.php?Cat=');

Clicking such a link gives the following error:
SQL ERROR: Unable to do_query: SELECT DISTINCT Cat_Title,Cat_Number FROM w3t_Category WHERE Cat_Number = '); ORDER BY Cat_Number
You have an error in your SQL syntax near ''); ORDER BY Cat_Number ' at line 4
Warning: Supplied argument is not a valid MySQL result resource in /home/virtual/site2/fst/var/www/html/threads/php/mysql.inc.php on line 83


Sponsored Links
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Are you refering to the index page? (integrated index page) The addon's used to create this page have not been modified completely for ubbthreads 6.0 as of yet. As far as I know it was working for 5.5 but I personally haven't tried it with 5.5.1 (waiting to jump to 6.0 myself)

The "main page" or (integrated index page) is not part of any threads package. It is an unofficial addon not unlike any other "hacks" users of threads create. []/forum/images/icons/smile.gif[/]

Edit Note: I just checked my 5.5 test site and sure enough I have an error in the addon. Thanks for the tip Fixing it now []/forum/images/icons/smile.gif[/]

Last edited by JustDave; 04/04/2002 8:14 AM.
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Actually I just checked my index page link on 5.5.1. It does put the '); at the end of the URL. Indeed if that carries over to ubbthreads.php I notice the MySQL error too.

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
I uploaded the fixed version of loginpal.php to my test site. I wasn't sure if attachments are working here yet and didn't feel like checking... lol

Here is a link to the attachment list at my test site:
http://www.chattersonline.com/test/index.php?Cat=&paction=attachments


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
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
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
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 20240506)