Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4214
Latest: thatsjustit
New This Month: 5
New This Week: 0
New Today: 0
Stats
Total Posts: 42793
Total Topics: 7455
Most Online Today: 51
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 54
Total: 54

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

0 Members and 1 Guest are viewing this topic.

Offline shuban

  • Hero Member
  • *****
  • Posts: 663
    • 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: 16234
    • 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: 663
    • 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: 16234
    • 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
13840 Views
Last post April 26, 2009, 10:01:52 pm
by SMFHacks
2 Replies
4264 Views
Last post November 08, 2007, 07:48:49 pm
by SMFHacks
2 Replies
3071 Views
Last post January 26, 2008, 11:35:04 am
by astring
7 Replies
5981 Views
Last post December 02, 2008, 10:13:42 pm
by SMFHacks
7 Replies
549 Views
Last post May 20, 2022, 08:58:15 pm
by Michael Vail

+- Recent Topics

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

prettyurls - TroubleShooting.wiki by SMFHacks
March 25, 2023, 01:49:35 pm

Download Gallery Option by SMFHacks
March 23, 2023, 09:34:02 am

Lost attachments by pete
March 22, 2023, 10:24:17 am

Additional Permissions by mickjav
March 18, 2023, 05:21:23 am

[Mod]Discord Web Hooks by SMFHacks
March 17, 2023, 08:48:30 am

Site upgrade to 2.1 by SMFHacks
March 12, 2023, 08:51:19 am

Theme/CSS design wanted by mickjav
March 11, 2023, 12:10:11 pm

Category Images by Anmer
March 10, 2023, 06:20:04 am

DownloadsPro - Topic Link by Anmer
March 08, 2023, 03:18:05 pm

Powered by EzPortal