Dolke Posted January 31, 2014 Share Posted January 31, 2014 (edited) Hi, This is error that I'm seeing every time I want to edit some product through Prestashop BO:http://prntscr.com/2o6031I tried searching the forums and found quite a lot discussions regarding this issue but more or less all of them are related when Prestashop has been updated from the earlier version.This was working well on my 1.5.4.1 Prestashop and now, due to some unknown issues, is not working.Btw, we are using Store Manager for Prestashop developed by eMagicOne but sometimes we need to make quick edit from the BO and this is not working.Any suggestions? Edited January 31, 2014 by Dolke (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted January 31, 2014 Share Posted January 31, 2014 Might be that module. What is the error saying exactly? Have you tried enabling error reporting? Link to comment Share on other sites More sharing options...
Dolke Posted January 31, 2014 Author Share Posted January 31, 2014 Hi Nemo1, Thank you for replaying.Error is saying there is been an error while trying to update the product. Product ().I was reading the topics related to this issue: http://www.prestashop.com/forums/topic/255064-upgraded-from-1520-to-1541-cant-edit-products/http://www.prestashop.com/forums/topic/291166-cannot-edit-products-after-upgrade/but the problem is I didn't update and it was working fine for a year or so...I didn't turn on the error reporting. I will do that and paste the log not a problem. Link to comment Share on other sites More sharing options...
Dolke Posted January 31, 2014 Author Share Posted January 31, 2014 I turned on the error reporting and reloaded my website.Here is what it showed me...http://prntscr.com/2o6h3z Link to comment Share on other sites More sharing options...
NemoPS Posted January 31, 2014 Share Posted January 31, 2014 no that's just a warning. Uhm, what happens if you save the product in the back office now? do you get any other error? Link to comment Share on other sites More sharing options...
Dolke Posted January 31, 2014 Author Share Posted January 31, 2014 Oh yes... exception is thrown...http://prntscr.com/2o6k9d Link to comment Share on other sites More sharing options...
NemoPS Posted January 31, 2014 Share Posted January 31, 2014 You are missing this column named internal name, not sure where it's supposed to be though, you must inspect the query by opening those links in the exceptions page Link to comment Share on other sites More sharing options...
Dolke Posted January 31, 2014 Author Share Posted January 31, 2014 That is custom field that I added to the BO. Please take a look at screenshot and explination:http://prntscr.com/2o6rd2Btw this is link to Vekias article:http://mypresta.eu/en/art/developer/new-field-product-backoffice.html Link to comment Share on other sites More sharing options...
NemoPS Posted January 31, 2014 Share Posted January 31, 2014 yes, but you must add it to the database as well Link to comment Share on other sites More sharing options...
Dolke Posted January 31, 2014 Author Share Posted January 31, 2014 Its added Nemo...http://prntscr.com/2o6tdrThis same error is happening when I want to add new product and I even dont put anything in the internal_name field. Link to comment Share on other sites More sharing options...
NemoPS Posted January 31, 2014 Share Posted January 31, 2014 Can you see from which query the error is coming from, by opening the boxes in the exception page? Link to comment Share on other sites More sharing options...
Dolke Posted January 31, 2014 Author Share Posted January 31, 2014 Sure:http://prntscr.com/2o6u75http://prntscr.com/2o6ubkhttp://prntscr.com/2o6ug4http://prntscr.com/2o6ujb Link to comment Share on other sites More sharing options...
NemoPS Posted January 31, 2014 Share Posted January 31, 2014 Add the column to ps_product_lang too Link to comment Share on other sites More sharing options...
vekia Posted January 31, 2014 Share Posted January 31, 2014 Dean, do you remember guide where you want to add internal_name field ? this field doesn't use lang table, only internal_name in ps_product table Link to comment Share on other sites More sharing options...
vekia Posted January 31, 2014 Share Posted January 31, 2014 + can you show your product.php object definition ? (there where you added internal_name field) Link to comment Share on other sites More sharing options...
Dolke Posted January 31, 2014 Author Share Posted January 31, 2014 Here is the situation now. I added the column as Nemo suggested to that other table as well. It seems that this fixed the issue and now Im able to modify the product and save them but that opened another issue.All product lost their internal names and each has this string written: http://prntscr.com/2o7mx2What ever I write there and save it will always stay Array Vekia Im confused now can you guys be more clear as I dont know what is going on atm Dean, do you remember guide where you want to add internal_name field ? this field doesn't use lang table, only internal_name in ps_product table Yes, but suggestion that Nemo1 provided solved the original issue but opened another... Link to comment Share on other sites More sharing options...
vekia Posted January 31, 2014 Share Posted January 31, 2014 this is why i asked about product object definition if there is a "lang" field, remove it. as far as i remember this field hasn't got translations and "lang" definition, because it was only for back office purposes Link to comment Share on other sites More sharing options...
Dolke Posted January 31, 2014 Author Share Posted January 31, 2014 Yes it is only for a BO purposes. OK I will remove it now and see what happens. Link to comment Share on other sites More sharing options...
Dolke Posted January 31, 2014 Author Share Posted January 31, 2014 OK I deleted Nemo1 suggestion.Now I got my internal_name back: http://prntscr.com/2o7q09But I got my old issue back as well: http://prntscr.com/2o7qaj Link to comment Share on other sites More sharing options...
vekia Posted January 31, 2014 Share Posted January 31, 2014 any chance to get an access to bo and ftp? i feel sick that this doesnt work Link to comment Share on other sites More sharing options...
Dolke Posted January 31, 2014 Author Share Posted January 31, 2014 (edited) Sure thing Vekia I will send you the access on a PM if that ok?Update: PM sent Edited January 31, 2014 by Dolke (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 31, 2014 Share Posted January 31, 2014 internal name fixed, problem was related to Product object definition, just removed the lang=>true, as it is described in the guide Link to comment Share on other sites More sharing options...
Dolke Posted January 31, 2014 Author Share Posted January 31, 2014 (edited) Nice work Milos, but Im not sure why that was even there in the first place???I never created field under that table until today when Nemo1 suggested I should do it. Error was displaying prior me adding and then deleting that field but never mind.. let go forward.Thank you.What do you say about the comments issue? This is very very bad practice. PS offered me as well as other users to update the module and then after the update we obviously got ourselfs new version which is not compatible with the 1.5.4.1 PS.P.S. This topic is solved Edited January 31, 2014 by Dolke (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 31, 2014 Share Posted January 31, 2014 regarding to internal name: i have no idea... maybe someone has got an access to your ftp ? or maybe your prestashop manager (desktop soft) changed this field definition? who knows... and regarding to the comments module, i think that it will be the best to use old compatibile with 1.5.4.1 version, i will upload it asap Link to comment Share on other sites More sharing options...
Dolke Posted January 31, 2014 Author Share Posted January 31, 2014 OK thank you. I will check that with the developers of the Store Manager... P.S. Im still not sure why label is not accepting serbian characters...http://prntscr.com/2o9b07Btw, I'm trying to install older version 2.3 but it doesn't let me to do that either. Link to comment Share on other sites More sharing options...
JeffV Posted February 4, 2014 Share Posted February 4, 2014 I have both of these issues as well: 1. Cannot save product information in the BO of 1.5.6.1 (i'm using multiple languages) 2. Product Comments Module missing after upgrade. Reset, but still not working. Any help would be greatly appreciated. J Link to comment Share on other sites More sharing options...
vekia Posted February 4, 2014 Share Posted February 4, 2014 1) you also added internal name field as Dean? i don't think so Link to comment Share on other sites More sharing options...
Dolke Posted March 13, 2014 Author Share Posted March 13, 2014 Hi to all,I have the same issue but with the different error this time. I think this should remain in this topic so I didn't want to open new one.Here is the screenshot of the error that I'm getting when I want to edit and then save the changes to any product in my BO:http://prntscr.com/30ekipIt have something to do with the URL rewrite for the languages but I only use one language on my store... others are disabled. Any suggestion?Dean Link to comment Share on other sites More sharing options...
Recommended Posts