Jump to content

[PrestaShopException]


PapaDoc
 Share

Recommended Posts

Ezt az üzenetet küldi, ha a bo-ba akarok lépni, a front megy. Mi lehet az oka? Van valami ötleted Attila? [PrestaShopException]

No access reference in table module_access for id_module 63.

at line 1783 in file classes/module/Module.php

1777.                 self::$cache_permissions[$employee->id_profile][$row['id_module']]['configure'] = $row['configure'];

1778.             }

1779.         }

1780.

1781.         if (!isset(self::$cache_permissions[$employee->id_profile][$id_module]))

1782.             throw new PrestaShopException('No access reference in table module_access for id_module '.$id_module.'.');

1783.

1784.         return (bool)self::$cache_permissions[$employee->id_profile][$id_module][$variable];

1785.     }

1786.

1787.     /**

Share this post


Link to post
Share on other sites

  • 5 months later...

Költözöm 1.5.2 - ről 1.5.5 - re (gazda rendelte így) és az employee tábla nem volt szinkronban még a profile táblával, ez okozta a galibát (nem létező rekordra mutatott az id) :-)

Köszi, bocsi .. 

 

Hi Papadoc

 

I have your same problem, how do you solve it?

 

Thanks

Angela

Share this post


Link to post
Share on other sites

Hi Angela,

 

In the `employee` table was an ID (id_profile)  which does not exist in table `profile`. 

I have expanded manually the table `profile` to match the requirements (and `profile_lang`).

 

 

 :-)

  • Like 1

Share this post


Link to post
Share on other sites

Hi Angela,

 

In the `employee` table was an ID (id_profile)  which does not exist in table `profile`. 

I have expanded manually the table `profile` to match the requirements (and `profile_lang`).

 

 

 :-)

 

I will try.

Thanks

Angela

Share this post


Link to post
Share on other sites

Hi Angela,

 

In the `employee` table was an ID (id_profile)  which does not exist in table `profile`. 

I have expanded manually the table `profile` to match the requirements (and `profile_lang`).

 

 

 :-)

 

Hi Papadoc

 

the data in these table are all ok, but I have always this error when i click on the tab module with all the employes ( if the profile is SuperAdmin is all ok )

 

[PrestaShopException]

No access reference in table module_access for id_module -1.

at line 1814 in file classes/module/Module.php

1808. 				self::$cache_permissions[$employee->id_profile][$row['id_module']]['configure'] = $row['configure'];1809. 			}1810. 		}1811. 1812. 		if (!isset(self::$cache_permissions[$employee->id_profile][$id_module]))1813. 			throw new PrestaShopException('No access reference in table module_access for id_module '.$id_module.'.');1814. 1815. 		return (bool)self::$cache_permissions[$employee->id_profile][$id_module][$variable];1816. 	}1817. 1818. 	/**

thanks

Angela

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More