givanz / Vvveb

Powerful and easy to use cms to build websites, blogs or ecommerce stores.
https://www.vvveb.com
GNU Affero General Public License v3.0
239 stars 49 forks source link

Plugin Market page 404 #88

Open jeromeatneotek opened 4 months ago

jeromeatneotek commented 4 months ago

PLugin market page does not load on pgsql with following error Probably missing settings page C:\Domains\myweb\wwwroot\plugins\plugin-market\admin\controller\settings.php on line

I was trying to see if the database managment plugin was there as when I download from https://plugins.vvveb.com/product/database-management I get this error: plugin slug database-management does not match folder database-management-main/!

givanz commented 4 months ago

Plugin market plugin does not have a settings page I forgot to remove the menu entry from the code.

The plugin is very basic it only adds a custom product type plugin and generates the download link for the plugin page, it's used on https://plugins.vvveb.com

It's included only as example for custom product type registration from plugin.

I installed the database plugin from the admin dashboard and I don't get the slug mismatch error.

This error is generated if the plugin folder plugins/database-management/ does not match the slug in plugins/database-management/plugin.php.

I see a strange bug with the plugin folder duplicated /plugins/database-management/database-management/ I will investigate this bug, maybe this bug manifests differently on windows and is not unzipping all files?

jeromeatneotek commented 4 months ago

If I manually download the database-managment zip and extract the folder into the plugins folder it appears correctly and can be activated. So this would indicate and issue with installing a plugin via the upload option. However when I try using it I get the following error Warning: Trying to access array offset on null in C:\Domains\myweb\wwwroot\plugins\database-management\adminer\include\design.inc.php on line 179 Or one similar whenever I try and select from a table

givanz commented 4 months ago

Thanks for the bug report, I updated adminer code from a fork https://github.com/adminerevo/adminerevo and now it works also on pgsql.

https://github.com/Vvveb/database-management/commit/1e5f7427ff217d6f9bc0cff0e73620babeb5e09e