Author |
Message |
angloswede
Hangin' Around

Joined: Feb 10, 2007
Posts: 27
|
Posted:
Mon Jan 03, 2011 11:16 am |
|
My website users have asked me to put up a paypal 'Donate' link, which I did.
Installed 'Treasury', set it all up etc etc, worked very well.
However.......it's decided to play around and mess up the Site Info block
Ater install
Before
Is there another PayPal type script that I can use instead.
I also tried to use InfoBox CSS with gave me the same results
Cheers |
|
|
|
 |
spasticdonkey
RavenNuke(tm) Development Team

Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Mon Jan 03, 2011 12:18 pm |
|
There are so many version of treasury floating around, it's hard to say. I can't even remember where I got the one I've used for years... lol
Did you modify the site info block? or it only breaks when the donation block is active? Sounds like there is some strange database stuff going on. I actually use a separate db just for my donations so you may want to try that if you have one available thru your host. |
|
|
|
 |
angloswede

|
Posted:
Mon Jan 03, 2011 12:33 pm |
|
Hi,
Thanks for your reply.
I got this version of treasury from the download section here.
I installed a seperate database just for the four tables outside of my RN db.
Didn't modify anything except to get rid of some of the donation statistics
I have checked the databases, no tables in use.
I repaired all the databases anyway, just incase there was a problem. None found.
At first I thought it was a file permission error, but it does sound as though your right - stange goings on in the database. |
|
|
|
 |
nuken
RavenNuke(tm) Development Team

Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Mon Jan 03, 2011 12:38 pm |
|
code-authors.com has one that has been updated in their Digital Shop that works good. It's only $5. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
 |
spasticdonkey

|
Posted:
Mon Jan 03, 2011 12:38 pm |
|
Set $display_errors = true; in config.php and see what is happening. You may also want to try the unmodified donation block in case you broke something there.
Another option is CA PHP Debugger
http://www.code-authors.com/shop/view-item/16-CA-PHP-Debugger-v103.html
which will display info about broken queries and undeclared variables which are likely the cause of the problem(s)
Update: lol, looks like we are posting at the same time. That's a good idea nuken, you should probably just buy both scripts  |
|
|
|
 |
angloswede

|
Posted:
Mon Jan 03, 2011 1:02 pm |
|
Thanks for your help
I set $display_errors = true; in the config.php file - nothing showed
code-authors sounds like a good bet, can't go wrong at $5
Cheers
Mark
Just have to try to remove all traces of treasury now without wrecking anything even more.....  |
|
|
|
 |
angloswede

|
Posted:
Tue Jan 04, 2011 7:13 am |
|
In the end, I just did this:
No frills, I didn't want running totals or monthly stats, targets names etc.
Created a new block and added the following code in the editor
Code:<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="YOUR EMAIL ADDRESS">
<input type="hidden" name="lc" value="GB">
<input type="hidden" name="item_name" value="YOUR EMAIL ADDRESS">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
<input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
|
Alined it to center and activated it, feel rather chuffed with myself now  |
|
|
|
 |
|