SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 25, 2012, 06:50:50 am

Login with username, password and session length
Members
Total Members: 10073
Latest: makablue
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 81
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 47
Total: 47
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Error received when updating stock  (Read 627 times)
mandomercs
SMF Store Customer
Newbie
*****
Offline Offline

Posts: 35



View Profile
« 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?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #1 on: November 09, 2011, 12:11:32 pm »

Is that error breaking anything in how the store functions?
Logged
mandomercs
SMF Store Customer
Newbie
*****
Offline Offline

Posts: 35



View Profile
« 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.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #3 on: November 11, 2011, 01:43:16 pm »

Will take a look at it.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #4 on: November 11, 2011, 07:55:51 pm »

Attached file let me know the results
Copy to Sources/Store.php
Logged
mandomercs
SMF Store Customer
Newbie
*****
Offline Offline

Posts: 35



View Profile
« 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.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #6 on: November 14, 2011, 03:18:53 pm »

Retry this file and let me know what happens
Logged
mandomercs
SMF Store Customer
Newbie
*****
Offline Offline

Posts: 35



View Profile
« Reply #7 on: November 15, 2011, 09:24:39 am »

Success!  Thank you!   Grin
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 24, 2012, 08:02:50 am]

[May 24, 2012, 04:11:41 am]

[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 4.723 seconds with 21 queries.