[SOLVED] Install/uninstall buttons on Plugins/Themes pages are not working

Ask for help or provide support to other members.
Post Reply
hominid
Posts: 6
Joined: Sat Mar 25, 2023 11:02 pm

[SOLVED] Install/uninstall buttons on Plugins/Themes pages are not working

Post by hominid »

WonderCMS v3.4.1
Windows 11
Apache 2.4.54.2
php 8.2.0

The install/uninstall Theme/Plugin buttons don't work in my installation because the urls for the links associated with these buttons contain "%5C".

Examples:

Code: Select all

https://wonder.test%5C/?deleteModule=sky&type=themes&token=...

Code: Select all

https://wonder.test%5C/?installModule=https://github.com/robiso/essence/archive/master.zip&directoryName=essence&type=themes&token=...
I believe %5C is an encoded backslash, so perhaps somewhere WonderCMS is escaping the forward slash in the url string?

I got things to install/uninstall by removing the %5C from the url.

Example:

Code: Select all

https://wonder.test/?deleteModule=sky&type=themes&token=...

Code: Select all

https://wonder.test/?installModule=https://github.com/robiso/essence/archive/master.zip&directoryName=essence&type=themes&token=...
But then I got some PHP Notices (it still worked though):

Code: Select all

Deprecated: str_ireplace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in ...index.php on line 906

Code: Select all

 Deprecated: str_ireplace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in ...index.php on line 911
I reported this on github also...

User avatar
wiz
Admin
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: install/uninstall buttons on Plugins/Themes pages are not working

Post by wiz »

Hello hominid, it seems the issue was resolved (also posted by you) in another thread: viewtopic.php?t=1267

Do you still have any issues?

Post Reply