Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11779
Latest: jeremycstrange@gmail.com
New This Month: 2
New This Week: 1
New Today: 0
Stats
Total Posts: 40981
Total Topics: 7173
Most Online Today: 97
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 29
Total: 29

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

0 Members and 1 Guest are viewing this topic.

Offline shuban

  • Hero Member
  • *****
  • Posts: 660
    • 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: 15464
    • 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: 660
    • 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: 15464
    • 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
12656 Views
Last post April 26, 2009, 10:01:52 pm
by SMFHacks
2 Replies
3744 Views
Last post November 08, 2007, 07:48:49 pm
by SMFHacks
2 Replies
2779 Views
Last post January 26, 2008, 11:35:04 am
by astring
7 Replies
5639 Views
Last post December 02, 2008, 10:13:42 pm
by SMFHacks
2 Replies
4267 Views
Last post November 18, 2008, 12:00:46 pm
by Riley

+- Recent Topics

Where are original uploaded files stored? by robgratt
June 20, 2021, 12:41:48 pm

Errors for nonexistent members by Krash
June 14, 2021, 09:51:47 pm

Error message: cannot access upload path by SMFHacks
June 08, 2021, 10:06:22 am

How to change order of the Classifieds board by SMFHacks
May 31, 2021, 09:57:36 am

Standard version of Downloads mod value missing by SMFHacks
May 25, 2021, 11:32:48 pm

Privacy Link by SMFHacks
May 14, 2021, 11:11:51 am

Gallery font by SMFHacks
May 13, 2021, 09:58:02 am

Mod Using Google App Script by T7i
May 09, 2021, 08:19:03 pm

Guest has high bid? by Shades
May 06, 2021, 01:36:08 pm

Simple Portal Block - Classifieds by Shades
May 06, 2021, 12:24:32 pm

Powered by EzPortal