Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4219
Latest: Toddie
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 42850
Total Topics: 7463
Most Online Today: 96
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 47
Total: 47

Author Topic: Database error  (Read 1247 times)

0 Members and 1 Guest are viewing this topic.

Offline Zaphod

  • Downloads Pro Customer
  • Member
  • *****
  • Posts: 36
    • View Profile
    • Three Generals Squad
Database error
« on: March 06, 2021, 12:57:48 pm »
Hi, I installed the Downloads pro V5.0.5 after uninstalling the previous free version and updating to smf 2.0.18 from 2.0.17 No problems were encountered during this.

After installing the pro version, I added a file and once it was uploaded and the page refreshed I got the following error below.
--------------------------
Database Error
Unknown column 'money' in 'field list'
File: /home/tgsquad/public_html/smf/Sources/Downloads2.php
Line: 1915

I enclose a part screenshot of the error.
« Last Edit: March 06, 2021, 01:02:38 pm by Zaphod »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16256
    • View Profile
Re: Database error
« Reply #1 on: March 06, 2021, 01:12:56 pm »
It thinks SMFShop is still installed.,
Delete shopVersion from smf_settings database table.



Also, Uncheck this under download settings "Use SMF Shop money as credits instead of download system credits"
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/

Offline Zaphod

  • Downloads Pro Customer
  • Member
  • *****
  • Posts: 36
    • View Profile
    • Three Generals Squad
Re: Database error
« Reply #2 on: March 06, 2021, 01:56:49 pm »
Hi thanks for speedy reply, I found and removed the offending line but still get same error message, also the line "Use shop money was unchecked.

I never used to look after the downloads, but after speaking to the former operator they had tried the "Shop" but uninstalled it and used to rem out the lines in the downloads2.php when ever he installed a newer version (prior to now I never knew this) of the free download system.

Apart from searching the database, would it be easier to install the shop, then uninstall and have the mod remove the database data? Just a thought.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16256
    • View Profile
Re: Database error
« Reply #3 on: March 06, 2021, 02:10:42 pm »
It does require editing the smf_settings table and removing the row.

The uninstall for SMF Shop does not delete entries added via the smf_settings table.
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/

Offline Zaphod

  • Downloads Pro Customer
  • Member
  • *****
  • Posts: 36
    • View Profile
    • Three Generals Squad
Re: Database error
« Reply #4 on: March 06, 2021, 03:01:01 pm »
Hi again, I wrote a query and found many entries of the string in question all gone and so far so good. I did notice a message when uploading a file in the add download page but never took notice of it as i needed to see if my I love SMF database was good. All was well and no error on downloads2.php.

many thanks for the pointer, never knew what devious methods the previous op got up too.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16256
    • View Profile
Re: Database error
« Reply #5 on: March 06, 2021, 03:26:42 pm »
Glad you have it working!
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/

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
10013 Views
Last post February 09, 2008, 11:44:03 pm
by ApplianceJunk
4 Replies
4778 Views
Last post October 09, 2011, 03:59:37 pm
by SMFHacks
3 Replies
3821 Views
Last post December 01, 2013, 05:37:43 pm
by SMFHacks
New database error

Started by Mike66 « 1 2 » Support

23 Replies
8203 Views
Last post February 23, 2015, 12:41:27 pm
by Mike66
0 Replies
2428 Views
Last post June 10, 2015, 03:36:01 am
by elbeer

+- Recent Topics

Question on Completed Listing & Reserve Price by SMFHacks
May 31, 2023, 01:43:19 pm

[Mod]GDPR Helper by Nicole
May 29, 2023, 11:58:49 pm

RSS Feed Poster Database Error by SMFHacks
May 22, 2023, 06:26:18 pm

Errors With Older Version. by Ken.
May 09, 2023, 05:35:40 pm

Pretty Urls SEO Pro by SMFHacks
May 06, 2023, 03:30:11 pm

New Post Image Upload Error by Mike66
April 28, 2023, 07:30:28 am

Copyright Removal Key by SMFHacks
April 03, 2023, 02:44:28 pm

Converting from Aeva Media by sudhakar
April 02, 2023, 11:09:54 am

Using SMF's Built-in Search Algorithm by shuban
March 27, 2023, 09:15:10 am

Permissions query by davejo
March 26, 2023, 04:43:48 am

Powered by EzPortal