Jump to content

Fatal error (StockMvt -> id_stock_mvt_reason = -1)


Recommended Posts

Hello there,
i haw the same problem like most user wit configuration Stock Movement!

I added a product to my store everything is fine but when i try to add an image to product i am getting the followin message

Fatal error (StockMvt -> id_stock_mvt_reason = -1)

i have tried several images that i have used on other products but they will not load on 1.4.0.17
I can view the product on the website but obviouslly there is no image on the product

So, how can I resolve this problem...?!

In the back office Stock Movement, I haw in the menue folow options:

"Choose the reason and fill the quantity that you want to increase or decrease in your stock"
Oprion 1:
Missing Stock Movement 2:
Restocking 3:
Increase 4:
Desincrease 5:

Which of these 5 options mast be clicked ON and qwantity:=(?)

Thaks, in advance.
Best regards,
Rosalinni

Link to comment
Share on other sites

Hello,

This is the common solution :
-> Go to ps_stock_mvt_reason, remove "auto increment" on the 'id_stock_mvt_reason' field,
-> Create a record with id_stock_mvt_reason = 0 and sign = 1 like this :
insert into ps_stock_mvt_reason VALUES(0,1,now(),now()) ;

I hope this help.
Mike

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...