SimplePortal
Customization => Custom Coding => Topic started by: gaffeyM on January 17, 2016, 10:03:55 AM
-
Hello im trying to install the Treasury donate block onto my forum.
I have added this code to the php block. When i preview it it comes up fine but when i try to add the block i get this message Database error in block code. Please check the code.
global $sourcedir, $settings;
include("$sourcedir/DonationBlock.php");
wonder if someone could help me with this thank you
-
Is this topic solved?
It has the check mark as if it was.
-
Can't access the topic solved log, but yes it is marked as solved, for some reason. In the meantime I'll move it to custom coding.