myparcelnl / prestashop

PrestaShop module to integrate with MyParcel NL and BE
https://developer.myparcel.nl/nl/documentatie/11.prestashop.html
10 stars 5 forks source link

After installation, default controller [MyParcelNLAdminSettings] is not found #251

Open JJFeenstra opened 7 months ago

JJFeenstra commented 7 months ago

Version check

PrestaShop version

8.1.4

PHP version

8.1.25

What went wrong?

After installation, default controller [MyParcelNLAdminSettings] is not found. Installation goes OK, but then - also after clicking the configure button on the module - the message is shown:

De controller MyParcelNLAdminSettings ontbreekt of is niet geldig.

Reproduction steps

  1. Navigate to Module Manager
  2. Make sure MyParcel module does not exist yet
  3. Click on "Upload module" button and select myparcelnl-prestashop-4.0.0-beta.2.zip
  4. Wait for installation to finish
  5. Click on the "configure" button

Relevant log output

No response

Additional context

No response

EdieLemoine commented 7 months ago

Hi @JJFeenstra, this issue is (usually) resolved upon clearing the cache. We're looking into a way to fix this ourselves, but for now I hope this workaround will suffice.

JJFeenstra commented 7 months ago

Hi @JJFeenstra, this issue is (usually) resolved upon clearing the cache. We're looking into a way to fix this ourselves, but for now I hope this workaround will suffice.

I have a feeling this is a deeper problem, since cache is disabled in this (development) instance of prestashop, and the problem still persists after having cleared the cache from the Performance page.

JJFeenstra commented 7 months ago

Update: maybe this is environment dependent. On my windows development machine, this problem occurred, yet on the linux (ubuntu) test server, the module was able to install.

EdieLemoine commented 5 months ago

Hi @JJFeenstra, does this still occur on newer versions? I feel like this is the same problem that was solved in #246 (which was released in beta.3).

JJFeenstra commented 2 months ago

Hi @EdieLemoine This still occurs. Same configuration (PHP 8.1.25, PS 8.1.4).

I did as someone in the other thread suggested, also removing the entire module (including files), removing the myparcel tables in the database, clearing the cache, then getting the latest version (beta4) and installing it. Same result, a blank settings page (and also no quick menu entry under "Delivery').

EdieLemoine commented 1 month ago

@JJFeenstra this is usually solved by clearing the cache, but I was really hoping it would be solved for good in that issue 😬