Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12372
Latest: AllMassive
New This Month: 8
New This Week: 3
New Today: 3
Stats
Total Posts: 39810
Total Topics: 7016
Most Online Today: 132
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 43
Total: 44

Author Topic: Getting an error in the main store page  (Read 3098 times)

0 Members and 1 Guest are viewing this topic.

Offline shuban

  • Hero Member
  • *****
  • Posts: 649
    • View Profile
    • Homework Clinic - Your Academic Lifeline
Getting an error in the main store page
« on: April 17, 2014, 05:25:13 pm »
This error:

2: mysql_fetch_assoc(): 81 is not a valid MySQL result resource
File: ...l/Themes/default/Store.template.php
Line: 281


Corresponds to:

Code: [Select]
while($row = mysql_fetch_assoc($dbresult))
{

if ($row['view'] == '0')

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14919
    • View Profile
Re: Getting an error in the main store page
« Reply #1 on: April 17, 2014, 05:29:30 pm »
Did you make any changes to that file? Or have you done something new recently?
That would be part of this query
Code: [Select]
SELECT
c.ID_CAT, c.title, c.roworder, c.description, c.imagefilename, c.imageurl, p.view
FROM {$db_prefix}store_cat as c
LEFT JOIN {$db_prefix}store_catperm AS p ON (p.ID_GROUP = $groupid AND c.ID_CAT = p.ID_CAT)
WHERE c.ID_PARENT = 0 ORDER BY roworder ASC
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 shuban

  • Hero Member
  • *****
  • Posts: 649
    • View Profile
    • Homework Clinic - Your Academic Lifeline
Re: Getting an error in the main store page
« Reply #2 on: April 17, 2014, 05:42:19 pm »
Right, I accidentally moved things around, apologies.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14919
    • View Profile
Re: Getting an error in the main store page
« Reply #3 on: April 17, 2014, 05:44:48 pm »
Glad you have it figured out.
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
12 Replies
11958 Views
Last post April 26, 2009, 10:01:52 pm
by SMFHacks
2 Replies
3541 Views
Last post November 08, 2007, 07:48:49 pm
by SMFHacks
2 Replies
2572 Views
Last post January 26, 2008, 11:35:04 am
by astring
7 Replies
5359 Views
Last post December 02, 2008, 10:13:42 pm
by SMFHacks
2 Replies
3942 Views
Last post November 18, 2008, 12:00:46 pm
by Riley

+- Recent Topics

How to AVOID SEO Hit when Implementing PrettyURLs by SMFHacks
September 12, 2019, 08:50:42 pm

theme by SMFHacks
September 12, 2019, 07:10:51 am

Picture Edit by SMFHacks
August 27, 2019, 11:52:06 am

Getting an error while installing SMF Gallery Pro by SMFHacks
August 18, 2019, 06:54:37 pm

Hashtag Mod Install Error by SMFHacks
August 15, 2019, 08:17:45 am

Rotating Image URLs by SMFHacks
August 05, 2019, 04:26:57 pm

[Mod]Block Proxy VPN On Registration by SMFHacks
August 01, 2019, 10:42:37 pm

[Mod]Nofollow Signature Links by SMFHacks
July 30, 2019, 11:52:28 am

Thinking of getting Ad Seller Pro as well by ajac63
July 28, 2019, 04:46:34 am

Just some questions about Ad Management mod by ajac63
July 26, 2019, 12:12:26 pm

Powered by EzPortal