Customizing SMF > Modifications and Packages

Quick Spoiler

<< < (29/30) > >>

Saiy:
Dear friends, I'm sorry, but I can't make it work on my forum -->  bit . ly / 2MrY7dw
I just updated on SMF 2.1 RC2, and I upgraded to Quick Spoilers 2.1.
... Any idea please ? The "spoilers" are indeen hidden, but the click to open the spoiler doesn't work with me...

Gandrel:
Under "Modification Settings" when I try to change anything, like set the colour to Red and click the Save button, I'm getting the following error message:


--- Code: ---DATABASE ERROR

Duplicate entry '0-view_spoiler' for key 'PRIMARY'
File: /home/outerrim/public_html/forums/Sources/ManagePermissions.php
Line: 1843
--- End code ---

Has anyone seen this before and if there's a fix? I'm running 2.0.15 with the Sunrise theme and PHP 7.1.

Gandrel:
Here's my ManagePermissions.php file as well

Bugo:
Open phpMyAdmin, run this SQL script:

--- Code: ---DELETE FROM smf_permissions
WHERE permission = "view_spoiler"

--- End code ---

Then set spoiler permissions again.

Gandrel:

--- Quote from: Bugo on January 08, 2020, 05:58:34 AM ---Open phpMyAdmin, run this SQL script:

--- Code: ---DELETE FROM smf_permissions
WHERE permission = "view_spoiler"

--- End code ---

Then set spoiler permissions again.

--- End quote ---

Does this permission get set during the mod installation and if so, does it not get removed when the mod is uninstalled? I've tried to reinstall and uninstall it with no luck.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version