Facebook 

SMFHacks.com - Celebrating 20 Years!

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4341
Latest: jmac32here
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 44306
Total Topics: 7676
Most Online Today: 365
Most Online Ever: 27044
(May 30, 2026, 09:10:16 pm)
Users Online
Members: 0
Guests: 258
Total: 258

Author Topic: Pro 4  (Read 7011 times)

0 Members and 1 Guest are viewing this topic.

Pro 4
« on: »
Hi

Today I installed the V4 and there is an error on the site when someone goes to add a download.

The error is

Code: [Select]
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 'f.ID_CAT = 0)' at line 4
 File: /home5/********/public_html/Sources/Downloads2.php
 Line: 1675

I have removed the new 'Downloads2.php' v4 file and replaced it with the v3.0.3 and the add download works Ok with that.

Any idea what might be the cause?

NOTE: I have just tested this on my test site and it has exactly the same error. These are 2 different servers in different countries too.

« Last Edit: November 03, 2014, 11:34:01 am by davejo »

Re: Pro 4
« Reply #1 on: »
Posted update to fix issue
4.0a
!Fixed bug in SMF 2.0 on add download
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: Pro 4
« Reply #2 on: »
Many thanks.

All tested and working OK on both sites

Regards

Dave

Re: Pro 4
« Reply #3 on: »
I was a bit to quick there.

Sorry VB but the same error happens when you edit a download too.

Code: [Select]
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 'f.ID_CAT = 0)' at line 4
File: /home/********/public_html/Sources/Downloads2.php
Line: 2243

Re: Pro 4
« Reply #4 on: »
4.0b
!Fixed bug in SMF 2.0 on edit download
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: Pro 4
« Reply #5 on: »
Many thanks, any further issues and I'll let you know

Dave

 

+- Recent Topics

Registration - anti bot pattern matching by SMFHacks
November 01, 2026, 07:20:17 pm

EZPortal 8 by davejo
October 21, 2026, 01:01:54 pm

Downloads Pro 7.0 Released by SMFHacks
October 07, 2026, 07:35:30 pm

[Mod]ActivityPub Federation for SMF 2.1 by SMFHacks
October 01, 2026, 05:03:45 pm

Newsletter Pro 4.0 Released by SMFHacks
September 23, 2026, 08:08:24 pm

Can't remove or restore any item from the recycle bin by SMFHacks
September 22, 2026, 11:01:51 am

MCP Server for SMF 2.1 - let Claude, ChatGPT or Cursor run your admin chores by SMFHacks
September 12, 2026, 02:50:45 pm

Suggestions for improvements to Ultimate Shoutbox & Chatroom by davejo
September 02, 2026, 01:35:09 am

Automatic Sorting of Categories by Kiwi
August 31, 2026, 12:36:09 am

' appears as ' in Most Viewed (and Recent Items ?) by SMFHacks
August 22, 2026, 11:01:56 pm

Powered by EzPortal