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: 28
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 27
Total: 27

Author Topic: Error received when updating stock  (Read 5647 times)

0 Members and 1 Guest are viewing this topic.

Offline mandomercs

  • Newbie
  • *
  • Posts: 35
    • View Profile
Error received when updating stock
« on: November 09, 2011, 11:41:36 am »
I'm running version 1.4.2, when I go to update the stock on an item I'm getting an error.

The item is a shirt, I had entered the sizes into the "extra optional custom fields" and it has been working for some time.  For some reason though, I went to update one of the sizes to show 1 extra piece of stock and I get the following error:

Quote
8: Undefined index: import
File: /home/firespr/public_html/mercs/forum/Sources/Store.php
Line: 8112

I'm not sure what's causing it...never had it happen before.

Any ideas?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15123
    • View Profile
Re: Error received when updating stock
« Reply #1 on: November 09, 2011, 12:11:32 pm »
Is that error breaking anything in how the store functions?
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 mandomercs

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: Error received when updating stock
« Reply #2 on: November 11, 2011, 01:33:51 pm »
Well, it's not letting me update the stock of that item.  I just get a white page with that error and no option to move on.  When I go back, the quantity hasn't been updated.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15123
    • View Profile
Re: Error received when updating stock
« Reply #3 on: November 11, 2011, 01:43:16 pm »
Will take a look at it.
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 SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15123
    • View Profile
Re: Error received when updating stock
« Reply #4 on: November 11, 2011, 07:55:51 pm »
Attached file let me know the results
Copy to Sources/Store.php
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 mandomercs

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: Error received when updating stock
« Reply #5 on: November 14, 2011, 01:11:59 pm »
After copying the new file, I'm now getting the following error:

Quote
8: Undefined index: selectvalue
File: /home/firespr/public_html/mercs/forum/Sources/Store.php
Line: 8121

When I try to modify the quantity of one of the values of the selection.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15123
    • View Profile
Re: Error received when updating stock
« Reply #6 on: November 14, 2011, 03:18:53 pm »
Retry this file and let me know what happens
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 mandomercs

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: Error received when updating stock
« Reply #7 on: November 15, 2011, 09:24:39 am »
Success!  Thank you!   ;D

 

Related Topics

  Subject / Started by Replies Last post
8 Replies
7997 Views
Last post June 17, 2007, 10:25:00 am
by SMFHacks
3 Replies
4119 Views
Last post November 12, 2007, 07:37:14 pm
by SMFHacks
4 Replies
3583 Views
Last post July 05, 2008, 07:22:13 pm
by johno69
0 Replies
2424 Views
Last post May 01, 2009, 02:31:33 pm
by Senkusha
1 Replies
3044 Views
Last post November 28, 2009, 03:19:43 pm
by SMFHacks

+- 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