Jump to content

Erreur 'Prestashop Exception' suite à migration vers un nouveau serveur


Recommended Posts

Bonjour à tous. J'ai repris un site qui date de 2014 sous Prestashop 1.6. Je suis chargé de le faire migrer vers un nouveau serveur, j'ai fait transiter les fichiers et la base de donnée, tout semble ok sauf que... lorsque je veux accéder à l'admin du site voici le message qui s'affiche (le module 70 est le module Atos) :

[PrestaShopException]

No access reference in table module_access for id_module 70.
at line 2030 in file classes/module/Module.php

2024. self::$cache_permissions[$employee->id_profile][$row['id_module']]['configure'] = $row['configure']; 2025. } 2026. } 2027. 2028. if (!isset(self::$cache_permissions[$employee->id_profile][$id_module])) 2029. throw new PrestaShopException('No access reference in table module_access for id_module '.$id_module.'.'); 2030. 2031. return (bool)self::$cache_permissions[$employee->id_profile][$id_module][$variable]; 2032. } 2033. 2034. /**

ModuleCore::getPermissionStatic - [line 2764 - classes/controller/AdminController.php] - [2 Arguments]

AdminControllerCore->getModulesList - [line 1914 - classes/controller/AdminController.php] - [1 Arguments]

AdminControllerCore->renderModulesList - [line 1757 - classes/controller/AdminController.php]

AdminControllerCore->initContent - [line 121 - controllers/admin/AdminLoginController.php]

AdminLoginControllerCore->initContent - [line 180 - classes/controller/Controller.php]

ControllerCore->run - [line 373 - classes/Dispatcher.php]

DispatcherCore->dispatch - [line 54 - admin/index.php]

Link to comment
Share on other sites

Tables que vous devriez avoir au minimum dans votre 1.6:

 

select ps_access

select ps_accessory

select ps_address

select ps_address_format

select ps_advice

select ps_advice_lang

select ps_alias

select ps_attachment

select ps_attachment_lang

select ps_attribute

select ps_attribute_group

select ps_attribute_group_lang

select ps_attribute_group_shop

select ps_attribute_impact

select ps_attribute_lang

select ps_attribute_shop

select ps_badge

select ps_badge_lang

select ps_blocklink

select ps_blocklink_lang

select ps_blocklink_shop

select ps_carrier

select ps_carrier_group

select ps_carrier_lang

select ps_carrier_shop

select ps_carrier_tax_rules_group_shop

select ps_carrier_zone

select ps_cart

select ps_cart_cart_rule

select ps_cart_product

select ps_cart_rule

select ps_cart_rule_carrier

select ps_cart_rule_combination

select ps_cart_rule_country

select ps_cart_rule_group

select ps_cart_rule_lang

select ps_cart_rule_product_rule

select ps_cart_rule_product_rule_group

select ps_cart_rule_product_rule_value

select ps_cart_rule_shop

select ps_category

select ps_category_group

select ps_category_lang

select ps_category_product

select ps_category_shop

select ps_cms

select ps_cms_block

select ps_cms_block_lang

select ps_cms_block_page

select ps_cms_block_shop

select ps_cms_category

select ps_cms_category_lang

select ps_cms_category_shop

select ps_cms_lang

select ps_cms_shop

select ps_compare

select ps_compare_product

select ps_condition

select ps_condition_advice

select ps_condition_badge

select ps_configuration

select ps_configuration_kpi

select ps_configuration_kpi_lang

select ps_configuration_lang

select ps_connections

select ps_connections_page

select ps_connections_source

select ps_contact

select ps_contact_lang

select ps_contact_shop

select ps_country

select ps_country_lang

select ps_country_shop

select ps_currency

select ps_currency_shop

select ps_customer

select ps_customer_group

select ps_customer_ip

select ps_customer_message

select ps_customer_message_sync_imap

select ps_customer_thread

select ps_customization

select ps_customization_field

select ps_customization_field_lang

select ps_customized_data

select ps_date_range

select ps_delivery

select ps_emc_tracking

select ps_employee

select ps_employee_shop

select ps_favorite_product

select ps_feature

select ps_feature_lang

select ps_feature_product

select ps_feature_shop

select ps_feature_value

select ps_feature_value_lang

select ps_gender

select ps_gender_lang

select ps_group

select ps_group_lang

select ps_group_reduction

select ps_group_shop

select ps_guest

select ps_hook

select ps_hook_alias

select ps_hook_module

select ps_hook_module_exceptions

select ps_image

select ps_image_lang

select ps_image_shop

select ps_image_type

select ps_import_match

select ps_info

select ps_info_lang

select ps_lang

select ps_lang_shop

select ps_lengow_product

select ps_linksmenutop

select ps_linksmenutop_lang

select ps_log

select ps_mail

select ps_mailalert_customer_oos

select ps_manufacturer

select ps_manufacturer_lang

select ps_manufacturer_shop

select ps_memcached_servers

select ps_message

select ps_message_readed

select ps_meta

select ps_meta_lang

select ps_mobile_menu_tabs

select ps_mobile_menu_tabs_lang

select ps_mobile_menu_tabs_shop

select ps_module

select ps_module_access

select ps_module_country

select ps_module_currency

select ps_module_group

select ps_module_preference

select ps_module_shop

select ps_newsletter

select ps_oasl_identity

select ps_oasl_user

select ps_operating_system

select ps_orders

select ps_order_carrier

select ps_order_cart_rule

select ps_order_detail

select ps_order_detail_tax

select ps_order_history

select ps_order_invoice

select ps_order_invoice_payment

select ps_order_invoice_tax

select ps_order_message

select ps_order_message_lang

select ps_order_payment

select ps_order_return

select ps_order_return_detail

select ps_order_return_state

select ps_order_return_state_lang

select ps_order_slip

select ps_order_slip_detail

select ps_order_slip_detail_tax

select ps_order_state

select ps_order_state_lang

select ps_pack

select ps_page

select ps_page_type

select ps_page_viewed

select ps_product

select ps_product_attachment

select ps_product_attribute

select ps_product_attribute_combination

select ps_product_attribute_image

select ps_product_attribute_shop

select ps_product_carrier

select ps_product_comment

select ps_product_comment_criterion

select ps_product_comment_criterion_category

select ps_product_comment_criterion_lang

select ps_product_comment_criterion_product

select ps_product_comment_grade

select ps_product_comment_report

select ps_product_comment_usefulness

select ps_product_country_tax

select ps_product_download

select ps_product_group_reduction_cache

select ps_product_lang

select ps_product_sale

select ps_product_shop

select ps_product_supplier

select ps_product_tag

select ps_profile

select ps_profile_lang

select ps_quick_access

select ps_quick_access_lang

select ps_range_price

select ps_range_weight

select ps_rec_smush

select ps_referrer

select ps_referrer_cache

select ps_referrer_shop

select ps_request_sql

select ps_required_field

select ps_risk

select ps_risk_lang

select ps_scene

select ps_scene_category

select ps_scene_lang

select ps_scene_products

select ps_scene_shop

select ps_search_engine

select ps_search_index

select ps_search_word

select ps_sekeyword

select ps_shop

select ps_shop_group

select ps_shop_url

select ps_smarty_cache

select ps_specific_price_priority

select ps_specific_price_rule

select ps_specific_price_rule_condition

select ps_specific_price_rule_condition_group

select ps_state

select ps_statssearch

select ps_stock

select ps_stock_available

select ps_stock_image

select ps_stock_image_content

select ps_stock_mvt

select ps_stock_mvt_reason

select ps_stock_mvt_reason_lang

select ps_store

select ps_store_shop

select ps_supplier

select ps_supplier_lang

select ps_supplier_shop

select ps_supply_order

select ps_supply_order_detail

select ps_supply_order_history

select ps_supply_order_receipt_history

select ps_supply_order_state

select ps_supply_order_state_lang

select ps_tab

select ps_tab_advice

select ps_tab_lang

select ps_tab_module_preference

select ps_tag

select ps_tax

select ps_tax_lang

select ps_tax_rule

select ps_tax_rules_group

select ps_tax_rules_group_shop

select ps_theme

select ps_themeconfigurator

select ps_theme_meta

select ps_theme_specific

select ps_timezone

select ps_warehouse

select ps_warehouse_carrier

select ps_warehouse_product_location

select ps_warehouse_shop

select ps_webservice_account

select ps_webservice_account_shop

select ps_webservice_permission

select ps_web_browser

select ps_zone

select ps_zone_shop

  • Thanks 1
Link to comment
Share on other sites

Bon ben c'est résolu, c'est parce que la base n'avait pas été importée complètement. ATTENTION AVEC LES TABLES DE TYPE 'CONNEXION' ELLES PRENNENT BEAUCOUP DE PLACE DANS LA BDD.

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...