Hello, Guest |
| Register
Remember me Forgot password ?
Site Map Site Map Contact us Contact us
PrestaShop
  536 users online

Bug tracker



Customized products : problem with configuring a customized product in BO
Last modified : 22 Dec 2008 at 14:55

Severity: Minor
Version: SVN
Installation type: Full (with sample data)
Theme: Default
Project: Back Office
Reporter: votreprestashop
Report #: 1059
Date created: 18 Dec 2008 at 22:58 (UTC+1)
Related to Report #:

Hosting service: LOCALHOST
Server OS: Windows
Web server: Apache 1.3 or later
PHP version: PHP 5.0 or later
5.2.3
MySQL: 5.0
Client computer OS: Windows
Web browser(s) tested: Firefox 2
 
Details:
I had intalled a new SWN PRESTASHOP so it's clean...
In BO when trying to configure a customized product PRESTA an error occurs : "Tentative de piratage (Product -> customizable = 1)". So that's impossible to set a customizable product.
Thanks.
 
Comments :

I think its the same error:
Hack attempt (Product -> customizable = 1)

I am getting this error with PrestaShop 1.1.0.5 - with final fresh install and also with upgraded version from 1.1.0.4

By spott on 20 Dec 2008 at 10:45 (UTC+1)


Hi I also get it.
But I get it when changing a categorys name:
I get this error:
Hack attempt (Category->link_rewrite = new books for language 1)

By mobimob on 21 Dec 2008 at 01:25 (UTC+1)


When You hit refresh with this error - Hack attempt (Product -> customizable = 1) then it shows still this error - but field is greated/or deleted as needed. You need go back to product and then again to customization - then you can see it.

Filed name modifying works fine.

By spott on 21 Dec 2008 at 10:01 (UTC+1)


Hi, yes. Thanks.
But what about this:
Hack attempt (Category->link_rewrite = new books for language 1)
It dosent seem to correct my category, when I try to change the name.

I have to delete the category and then create it again....that cant be right.

Can anyone tell us what to do?
I’m running 1.1 final.

By mobimob on 21 Dec 2008 at 13:20 (UTC+1)


Hi everyone!

You’re right, a boolean was given to a isUnsignedInt controler.
I just fixed it wink
(AdminProduct.php line 422: replacing true by 1 and false by 0).

Best regards,

By Matthieu Biart on 22 Dec 2008 at 14:57 (UTC+1)


Thanks

It solved the problem.

By spott on 22 Dec 2008 at 18:53 (UTC+1)


Hi Mattieu,
does it solve my problem also?

Thanks for your answer.

Best regards,

By mobimob on 22 Dec 2008 at 19:56 (UTC+1)


$product->customizable = (intval($_POST[’uploadable_files’]) > 1 OR intval($_POST[’text_fields’]) > 0) ? true : false;

I have put so I just created a text field, if you get a different number I get the error made before the change, only updated 1 text field. Thank you

By riopar10 on 15 Jan 2009 at 15:24 (UTC+1)


Rookie here, I would appreciate some information on how to find AdminProduct.php file and how complete instructions on how to fix this bug with the Hack attempt result for adding fields.

Thank you in advance.

By unitedproducts on 30 Mar 2009 at 20:51 (UTC+1)


admin folder then TAB you will find it that files

By tunilove on 09 Apr 2009 at 22:50 (UTC+1)


Cant find AdminProduct.php , can you point me to where should be please.

John

By Snol on 18 Jun 2009 at 22:52 (UTC+1)


is AdminProducts.php “S” end…

By p1r4t0s on 03 Jul 2009 at 23:46 (UTC+1)


hey it work fine, tankyou.

By p1r4t0s on 03 Jul 2009 at 23:55 (UTC+1)


getting this mistake:
Hack attempt (Product -> reduction_from = 0000-00-00)

i cannot find where to update this as described here - see

http://shindigDada.com/slips/AdminProducts-php.jpg

By shindigDADA on 11 Sep 2009 at 21:29 (UTC+1)


Notify me of follow-up comments?

<< Previous | Next >>