Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12382
Latest: ImportedPotato
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 40254
Total Topics: 7090
Most Online Today: 30
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 36
Total: 36

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

0 Members and 1 Guest are viewing this topic.

Offline shuban

  • Hero Member
  • *****
  • Posts: 657
    • 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: 15123
    • 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: 657
    • 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: 15123
    • 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
12377 Views
Last post April 26, 2009, 10:01:52 pm
by SMFHacks
2 Replies
3599 Views
Last post November 08, 2007, 07:48:49 pm
by SMFHacks
2 Replies
2645 Views
Last post January 26, 2008, 11:35:04 am
by astring
7 Replies
5494 Views
Last post December 02, 2008, 10:13:42 pm
by SMFHacks
2 Replies
4106 Views
Last post November 18, 2008, 12:00:46 pm
by Riley

+- Recent Topics

Moving pictures to another user personal gallery by Hatshepsut
August 10, 2020, 11:07:26 pm

Rebuild related images time too long by SMFHacks
August 09, 2020, 01:52:57 pm

Call to undefined function mysql_num_rows() by SMFHacks
July 30, 2020, 07:45:29 am

Problem with one videosite embedding by Hatshepsut
July 24, 2020, 01:25:08 am

Download System Lite by Rock Lee
June 03, 2020, 07:34:24 pm

Font question by SMFHacks
May 27, 2020, 08:15:26 am

Error message with latest SMF 2.1 Github build by Hatshepsut
May 25, 2020, 01:43:26 am

smfblog not working on 2.0.17 by tech9
May 20, 2020, 01:44:34 pm

Copyright removal by stbc
May 18, 2020, 01:27:57 am

Mod Verified User i can't square the image by Rock Lee
May 07, 2020, 07:56:10 pm

Powered by EzPortal