marcelolinhares / magento-modulo-pj

Módulo Pessoa Jurídica para Magento
2 stars 7 forks source link

Desinstalar o modulo #1

Open phdiegues opened 10 years ago

phdiegues commented 10 years ago

oi Marcelo. Como faço para desinstalar completamente este seu modulo? Ao desinstala-lo, quando vou abrir o cadastro de um cliente a loja me retorna um daqueles erros numericos. obrigado antecipadamente aos que puderem me ajudar.

diogobruno commented 9 years ago

@phdiegues também tive esse problema você vai ter que olhar nessa tabela eav_attribute e pegar os os attribute_id dos atributos criados pelos modulo e deletar dos atributos do cliente que ficam na tabela customer_eav_attribute assim DELETE FROM customer_eav_attribute where attribute_id in (id_atributo_criado_pelo_modulo, id_atributo_criado_pelo_modulo);

igarcez commented 9 years ago

Obrigado @diogobr07, fiz aqui e deu certo

FilipeSilvaCtba commented 8 years ago

Olá pessoal, como saber na tabela eav_attribute quais atributos foram criados pelo módulo e quais não foram?

diogobruno commented 8 years ago

@FilipeSilvaCtba eles devem ser os últimos registros da tabela, olha pela coluna 'frontend_label' e procura pelos campos que o módulo deveria adicionar no cadastro do cliente: Tipo de Pessoa, CNPJ e Razão Social.

FilipeSilvaCtba commented 8 years ago

Consegui @diogobr07 ! Muito Obrigado.

fulviusguelfi commented 8 years ago

Por favor alguém aqui pode me ajudar

eu lembro de ter instalado e desinstalado este módulo. Hj não tenho nada dele no server ocorre que ao tentar criar um cliente ou acessar via admin o problema acima ocorre segue meu log:

a:5:{i:0;s:68:"Source model "pj/source_types" not found for attribute "type_person"";i:1;s:3746:"#0 /home/guelf679/public_html/guiase/espelhoe$

1 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(201): Mage_Eav_Model_Entity_Attribut$

2 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/Addresses.php(135): Mage_Adminhtml$

3 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tabs.php(64): Mage_Adminhtml_Block_Cus$

4 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Core/Block/Abstract.php(918): Mage_Adminhtml_Block_Customer_Edit_Tab$

5 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()

6 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Text_List->_toHtml()

7 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()

8 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtm$

9 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/design/adminhtml/default/default/template/page.phtml(58): Mage_Core_Block_Abstract-$

10 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Core/Block/Template.php(241): include('/home/guelf679/...')

11 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('$

12 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()

13 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml$

14 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Template->_toHtm$

15 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()

16 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->get$

17 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Adminhtml/controllers/CustomerController.php(151): Mage_Core_Contro$

18 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_CustomerCont$

19 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controll$

20 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_ControllerVarien$

21 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatc$

22 /home/guelf679/public_html/guiase/espelhoespelhomeu/app/Mage.php(684): Mage_Core_Model_App->run(Array)

23 /home/guelf679/public_html/guiase/espelhoespelhomeu/index.php(87): Mage::run('', 'store')

24 {main}";s:3:"url";s:79:"/index.php/admin/admin/customer/edit/id/2/key/a3b34b62ae78ee860f6c041720a9c0cc/";s:11:"script_name";s:10:"/index.p$

Por favr me ajudem não consigo acessar meus clientes

Já procurei os atributos do módulo na tabeal eav_attribute e não encontrei nada...

não sei mais a quem recorrer, agradeço imensamente a ajudad e vcs antecipadamente Grato

fulviusguelfi commented 8 years ago

verifiquei que tenho a tabela customer_eav_attribute_website que contem alguns ids de attributo que não estão na tabela eav_attribute, achei estranho e não encontrei em lugar nenhum as labels ou qualquer referencia a grupo para estes atributos...