SMFHacks.com
SMFHacks
Community Suite
SMF Gallery Pro
SMF Store
SMF Classifieds
Newsletter Pro
Downloads System Pro
Ad Seller Pro
Badge Awards
Hacks and Mods
Latest SMF Hacks
TopTen Hacks
Styles and Themes
Add a Hack
Manage Hacks
Earn Money from Your Forum with these tips
SMF Theme Generator
SMF Package Parser
Free SMF Hosting
Buy Website Traffic
Site Showcase
Email Marketing Software
Search Forums
Advanced search
User
Welcome,
Guest
. Please
login
or
register
.
May 18, 2013, 09:01:18 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Stats
Members
Total Members: 10757
Latest:
DTroup
Stats
Total Posts: 32348
Total Topics: 5473
Online Today: 56
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 47
Total: 47
SMFHacks.com
Forum
SMF Store
Support
Bugs
Database error
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: Database error (Read 4315 times)
Beltazar
Inline PM Customer
Offline
Posts: 22
Database error
«
on:
February 23, 2009, 09:37:12 pm »
Ok.. I upgraded to the 1.3 store and I am running smf 1.1.8 forum, but now the products as I goto them..
Database Error
Unknown column 'checktext' in 'field list'
File: /home/dreamsla/public_html/forum/Sources/Store.php
Line: 5914
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.8, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.
so where do I find and get this update..
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 10987
Re: Database error
«
Reply #1 on:
February 23, 2009, 09:49:01 pm »
Try running the following command on your SMF forum's database this is normally run when you install the upgrade.
Code:
ALTER TABLE smf_store_shippingconditions CHANGE `condition` checktext tinytext
Logged
Beltazar
Inline PM Customer
Offline
Posts: 22
Re: Database error
«
Reply #2 on:
February 23, 2009, 10:00:41 pm »
Not to sound really dumb.. but I am not the Database user.. so I need a bit more then that.. lol..
sorry..
and thanks in a advance..
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 10987
Re: Database error
«
Reply #3 on:
February 23, 2009, 10:19:25 pm »
This would be run on the database prompt for your smf forum.
You can use a tool such as phpMyAdmin normally built into the control panel to run this query on your forum's database
Logged
Beltazar
Inline PM Customer
Offline
Posts: 22
Re: Database error
«
Reply #4 on:
February 23, 2009, 10:34:44 pm »
ok.. did this query.. and still the same thing.. do I need to restart the database for it to take effect..
Code:
Error
SQL query:
ALTER TABLE smf_store_shippingconditions CHANGE `condition` checktext tinytext
MySQL said: Documentation
#1054 - Unknown column 'condition' in 'smf_store_shippingconditions'
This is what I get...
Code:
Error
SQL query:
ALTER TABLE smf_store_shippingconditions CHANGE `condition` checktext tinytext
MySQL said: Documentation
#1146 - Table 'dreamsla_dsv.smf_store_shippingconditions' doesn't exist
Database Error
Unknown column 'checktext' in 'field list'
File: /home/dreamsla/public_html/forum/Sources/Store.php
Line: 5914
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.8, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.
«
Last Edit: February 23, 2009, 10:41:28 pm by Beltazar
»
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 10987
Re: Database error
«
Reply #5 on:
February 23, 2009, 11:14:20 pm »
Are you inside the database of the forum. 1st error looks ok second error not so much.
If you do not have any shipping conditions you can do the following
Code:
DROP TABLE smf_store_shippingconditions;
Then run
Code:
CREATE TABLE IF NOT EXISTS smf_store_shippingconditions(
ID_CONDITION int(11) NOT NULL auto_increment,
value1 double(10,2) NOT NULL default '0',
value2 double(10,2) NOT NULL default '0',
checktext tinytext,
percent double(10,2) NOT NULL default '0',
totalamount double(10,2) NOT NULL default '0',
PRIMARY KEY (ID_CONDITION))
Logged
Beltazar
Inline PM Customer
Offline
Posts: 22
Re: Database error
«
Reply #6 on:
February 23, 2009, 11:41:20 pm »
same issue..
ran query successfully..
Code:
Database Error
Unknown column 'checktext' in 'field list'
File: /home/dreamsla/public_html/forum/Sources/Store.php
Line: 5914
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.8, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 10987
Re: Database error
«
Reply #7 on:
February 24, 2009, 07:25:32 am »
Ran both queries? Is smf_ the prefix for your forum?
Logged
Beltazar
Inline PM Customer
Offline
Posts: 22
Re: Database error
«
Reply #8 on:
February 24, 2009, 07:20:48 pm »
Fixed.. we believe it is fixed right.. hopefully.. until we put real physical stuff in the store, then maybe it will work maybe it will not.. LMAO..
Not entirely sure what has happened or exactly, cuz u database guys have a language of your own.. but something about where and what that error was, lead him to the Database and did something w/ a column.
Fix..
Code:
$result = db_query("
SELECT
percent, totalamount, value1, value2, ID_CONDITION
FROM {$db_prefix}store_shippingconditions", __FILE__, __LINE__);
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 10987
Re: Database error
«
Reply #9 on:
February 24, 2009, 07:54:07 pm »
That basically disables the shipping condition shipping system if you don't use it is is ok to do.
Logged
Beltazar
Inline PM Customer
Offline
Posts: 22
Re: Database error
«
Reply #10 on:
February 24, 2009, 08:08:08 pm »
well at the moment, we do not ship anything real, but we will in the future sometime..
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
SMFHacks.com
-----------------------------
=> News
=> Site Discussion
===> Suggestions
===> Bugs
-----------------------------
SMF Gallery Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
SMF Store
-----------------------------
=> Announcements
=> Presales
=> Support
===> Guides and Tips
===> Feature Requests
===> Bugs
-----------------------------
SMF Classifieds
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
Downloads System Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Feature Requests
===> Bugs
-----------------------------
Ad Seller Pro
-----------------------------
=> Presales
=> Support
-----------------------------
Menu Editor Pro
-----------------------------
=> Presales Menu Editor Pro
=> Bug Reports
-----------------------------
Inline Personal Messages
-----------------------------
=> Presales
=> Support
=> Bug Reports
-----------------------------
Newsletter Pro
-----------------------------
=> Presales
=> Support
===> Feature Requests
-----------------------------
Badge Awards
-----------------------------
=> Presales
=> Support
-----------------------------
Tweet Topics/FB Post System
-----------------------------
=> Presales
-----------------------------
Social Login Pro
-----------------------------
=> Presales
-----------------------------
SMF Gallery Lite
-----------------------------
=> SMF Gallery Lite
-----------------------------
Modifications/Themes
-----------------------------
=> General SMF Forum
=> Modifications Talk
===> Latest Mods
===> Modification Showcase
=> Theme Talk
===> Theme Showcase
===> Latest Themes
Recent
Feature Requests for SMF ...
by
Secure
[May 16, 2013, 10:13:46 pm]
stuck on "Processing" scr...
by
SMFHacks
[May 15, 2013, 11:32:14 pm]
[Request] - Award for any...
by
SMFHacks
[May 15, 2013, 11:31:24 pm]
SMF Gallery Pro 5.0.1 not...
by
SMFHacks
[May 12, 2013, 09:10:43 am]
Golf Theme
by
Serglike
[May 10, 2013, 03:49:55 am]
Display ads on every page...
by
SMFHacks
[May 07, 2013, 07:12:40 pm]
Edited simple ad code and...
by
ApplianceJunk
[May 07, 2013, 02:37:14 pm]
"non" error on bulk uploa...
by
SMFHacks
[May 06, 2013, 10:29:56 pm]
Can I give member an ad p...
by
fernowl
[May 04, 2013, 03:22:01 pm]
How to configure the Auto...
by
SMFHacks
[May 04, 2013, 01:08:57 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Loading...