xoops forums

preachur

Just can't stay away
Posted on: 2008/7/3 9:51
preachur
preachur (Show more)
Just can't stay away
Posts: 525
Since: 2006/2/4 4
#11

Re: Donations Module SQL Errors under PHP5 & MySQL4

I had the same problem, so I just removed the option to list names and removed that table from the donations page. Now it is simply the text, the radio buttons, and the submit button. 25 minutes later someone donated $25, so I must have done something right.
Magick can never be restrained, but when freely given is thrice regained!

stevenbinion

Just popping in
Posted on: 2008/7/3 10:39
stevenbinion
stevenbinion (Show more)
Just popping in
Posts: 10
Since: 2008/3/12
#12

Re: Donations Module SQL Errors under PHP5 & MySQL4

Thats great, in anycase, I switched from PHP 5 to PHP 4 and it's been working, well for the donations, but I want to be able to list the donors to give them credit. I'm playing with the newer 2.3 xoops. going to see if the module works better in that version, I read it works fine, so I'm going to see.

swata

Just popping in
Posted on: 2009/1/23 11:17
swata
swata (Show more)
Just popping in
Posts: 8
Since: 2008/8/8 2
#13

Re: xdonations Module SQL Errors under PHP5 & MySQL4

Think I have the settings save issue solved for PHP5 in 2.3.2 XOOPS with xdonation 1.9. It worked for me anyways. Hope this helps some others.

First I was getting the "Fatal error: Call to undefined static function: xoopserrorhandler::getinstance() in .../modules/xdonations/includes/common.php on line 36" so I used This Fix by LucaNet and rewrote the common.php to the previous version.

That let the module function. I still could not save any settings. After some searching I found this error in the xdonations/admin/index.php file line 764:

if(!isset($HTTP_POST_VAR['op'])) {


And changed it to:

if(!isset($_POST['op'])) {


IT WORKED. I can now edit and save my configuration changes from the xdonation module. Not bad for a newbie.