vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Paypal Donations for vBulletin 3.0.7 (https://vborg.vbsupport.ru/showthread.php?t=82978)

insanekelso 07-17-2005 09:08 PM

getting an error when viewing ppverify.php

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /global.php on line 329

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 2290

any idea, this was after a reinstall. installed ok after a full uninstall.
First "real" donation created a mysql database error (which i forgot to not..doh!) and was held in the invalid transactions area, all values for this transaction where zero.

found error output:
Database error in vBulletin 3.0.7:

Invalid SQL: INSERT INTO donation_paypalipn (
`txn_id`, `userid`, `test_ipn`, `notify_version`, `verify_sign`,
`first_name`, `last_name`, `payer_business_name`, `address_name`,
`address_street`, `address_city`, `address_state`, `address_zip`,
`address_country`, `address_status`, `payer_email`, `payer_id`,
`payer_status`, `business`, `receiver_email`, `receiver_id`,
`item_name`, `ip_address`, `quantity`, `invoice`,
`memo`, `tax`, `option_name1`, `option_selection1`, `option_name2`,
`option_selection2`, `payment_date`, `parent_txn_id`, `txn_type`,
`payment_type`, `payment_status`, `pending_reason`, `reason_code`,
`mc_gross`, `mc_fee`, `mc_currency`, `mc_handling`, `mc_shipping`,
`settle_amount`, `settle_currency`, `exchange_rate`, `case_id`,
`case_type`, `case_creation_date`, `valid`
) VALUES (
'', '0', '0', '0', '',
'', '', '', '',
'', '', '', '',
'', '', '', '',
'', '', '', '',
'', '', '0', '',
'', '0', '', '', '',
'', '', '', '',
'', '', '', '',
'0', '0', '', '0', '0',
'0', '', '0', '',
'', '', '0'
);
mysql error: Duplicate entry '' for key 1

mysql error number: 1062

Date: Sunday 17th of July 2005 11:08:43 PM
Script:
Referer:

Cloudrunner 07-17-2005 09:15 PM

Quote:

Originally Posted by insanekelso
getting an error when viewing ppverify.php

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /global.php on line 329

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 2290

any idea, this was after a reinstall. installed ok after a full uninstall.
First "real" donation created a mysql database error (which i forgot to not..doh!) and was held in the invalid transactions area, all values for this transaction where zero.

found error output:
Database error in vBulletin 3.0.7:

Invalid SQL: INSERT INTO donation_paypalipn (
`txn_id`, `userid`, `test_ipn`, `notify_version`, `verify_sign`,
`first_name`, `last_name`, `payer_business_name`, `address_name`,
`address_street`, `address_city`, `address_state`, `address_zip`,
`address_country`, `address_status`, `payer_email`, `payer_id`,
`payer_status`, `business`, `receiver_email`, `receiver_id`,
`item_name`, `ip_address`, `quantity`, `invoice`,
`memo`, `tax`, `option_name1`, `option_selection1`, `option_name2`,
`option_selection2`, `payment_date`, `parent_txn_id`, `txn_type`,
`payment_type`, `payment_status`, `pending_reason`, `reason_code`,
`mc_gross`, `mc_fee`, `mc_currency`, `mc_handling`, `mc_shipping`,
`settle_amount`, `settle_currency`, `exchange_rate`, `case_id`,
`case_type`, `case_creation_date`, `valid`
) VALUES (
'', '0', '0', '0', '',
'', '', '', '',
'', '', '', '',
'', '', '', '',
'', '', '', '',
'', '', '0', '',
'', '0', '', '', '',
'', '', '', '',
'', '', '', '',
'0', '0', '', '0', '0',
'0', '', '0', '',
'', '', '0'
);
mysql error: Duplicate entry '' for key 1

mysql error number: 1062

Date: Sunday 17th of July 2005 11:08:43 PM
Script: http://arpclan.gaming.multiplay.co.u...s/ppverify.php
Referer:

ppverify is not designed to be viewable from any browser. The only thing that will view ppverify without an error (as designed) is paypal's server.

As far as the DB error goes, you have a conflicting txn_id. You will need to remove the empty txn_id row. i.e. the row that contains the empty txn_id field. That field should NEVER be empty. Ever, if it is, then you will get a invalid marker and the system will give you notice of the invalidity of the transaction. This is an indicator of an attempt at compromising the system.

Clean out that specific transaction, and the system *should* again work. Lemme know what you come up with.

:Judge: 07-17-2005 10:08 PM

I was half asleep and reverted all my templates, got everything back together now except one bug.

The % Bar is not going up now after I add a donor.
What should I be looking at to repair this?

Cloudrunner 07-17-2005 10:12 PM

Quote:

Originally Posted by :Judge:
I was half asleep and reverted all my templates, got everything back together now except one bug.

The % Bar is not going up now after I add a donor.
What should I be looking at to repair this?

If you manually add a donor then to get the goals percentage to increase you will need to manually add that to the goal itself, just edit the goal and input the total amount collected.

This is by design, but I am looking at rearranging that setup.

:Judge: 07-17-2005 10:22 PM

Quote:

Originally Posted by Cloudrunner
If you manually add a donor then to get the goals percentage to increase you will need to manually add that to the goal itself, just edit the goal and input the total amount collected.

This is by design, but I am looking at rearranging that setup.

Cloud I am sorry to have wasted your time with that question, granted it isn't super obvious but common sense should have told me that..... I need some rest.

Thanks again!

KTBleeding 07-18-2005 01:38 AM

I just want to say that this is one of the coolest hacks I've ever seen.

/me installs and thanks Couldrunner

Cloudrunner 07-18-2005 02:08 AM

Quote:

Originally Posted by KTBleeding
I just want to say that this is one of the coolest hacks I've ever seen.

[high]* KTBleeding installs and thanks Couldrunner[/high]

No problem, not only does it do a service, but it's good eye candy as well for a site...

I've been toying with a few ideas on the system here for both 3.0.7 and 3.5 that I'll be working on shortly...namely special reward functions for donations over X amount...but I am still working on that.

mkdevo 07-18-2005 10:59 AM

currently running away with the HOTM!! :up::up:

Cloudrunner 07-18-2005 09:42 PM

Quote:

Originally Posted by mkdevo
currently running away with the HOTM!! :up::up:

*blushes heavily*

Honestly folks, it's just something that people were asking for, and I needed it as well, so I did it...it's not a big deal...

I've suspended work for a little bit for a project for my own site where I'm putting together some videos to show my users the intricacies of the new vB so that they have a basic knowledge of how to use the site. When that is finished, I'll get back on the ball...

mkdevo 07-19-2005 11:34 AM

Quote:

Originally Posted by mkdevo
also (not sure if it's been asked), any chance of getting .psd's of the trophy guys?

cloud - not sure if you saw this before... ^^


All times are GMT. The time now is 05:05 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01614 seconds
  • Memory Usage 1,754KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete