[Patch] Asset can not be saved without choosing tax

More
9 years 2 months ago #5102 by vietvh
Hi all,

This issue is a regression in v0.8.0, if you encounter this error message, apply the below fix
Cannot add or update a child row: a foreign key constraint fails (`#__sr_reservation_assets`, CONSTRAINT `fk_jos_sr_reservation_assets_jos_sr_taxes1` FOREIGN KEY (`tax_id`) REFERENCES `#__sr_taxes` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION) SQL=INSERT INTO `hmo1k_sr_reservation_assets`  ...

Fix:

1. Download dl.dropboxusercontent.com/u/22968902/reservationasset.php

2. Copy it to: /administrator/components/com_solidres/models/

We will include this fix in v0.8.1

Cheers,

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago - 9 years 1 month ago #5245 by rfsandri
adiquiri e nao estou conseguindo lançar novos produtos

Fatal error: Call to a member function getItem() on a non-object in /home/rfsan860/public_html/nateste/administrator/components/com_solidres/models/reservationasset.php on line 273

1452 Cannot add or update a child row: a foreign key constraint fails (`rfsan860_jmln1`.`uh46v_sr_reservation_assets`, CONSTRAINT `fk_jos_sr_reservation_assets_jos_sr_taxes1` FOREIGN KEY (`tax_id`) REFERENCES `uh46v_sr_taxes` (`id`) ON DELETE NO ACTION ON UPDATE ) SQL=INSERT INTO `uh46v_sr_reservation_assets` (`category_id`,`name`,`alias`,`address_1`,`address_2`,`city`,`postcode`,`phone`,`description`,`email`,`website`,`fax`,`rating`,`geo_state_id`,`country_id`,`created_date`,`created_by`,`state`,`ordering`,`access`,`params`,`metakey`,`metadesc`,`metadata`,`xreference`,`partner_id`,`lat`,`lng`,`default`,`deposit_required`,`deposit_is_percentage`,`deposit_amount`,`currency_id`,`tax_id`) VALUES ('8','Promenade Barra First','promenade-barra-first','Avenida das Américas, 7897','','Rio de Janeiro','22793-081','','','contato@sandriweb.com.br','','','1','130','31','','','1','14','1','{\"termsofuse\":\"\",\"privacypolicy\":\"\",\"disclaimer\":\"\",\"only_show_reservation_form\":\"0\",\"enable_coupon\":\"1\",\"logo\":\"\"}','','','{\"robots\":\"\",\"author\":\"\",\"rights\":\"\"}','','36','-23.0008320','-43.3919190','0','0','1','','1','0')
Retornar ao Painel de Controle
Last edit: 9 years 1 month ago by rfsandri.

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #5248 by vietvh
Hi rfsandri,

Did you apply the patch?

If this issue persists, please create a new support ticket with your website address, super admin account and FTP account, we will check it for you.

Regards,

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?