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)

Cloudrunner 06-29-2005 11:33 PM

Quote:

Originally Posted by Trana
Cloud,

In addition to the problem I listed above, I also noticed that the users are not having the donor icon added to their posts. Perhaps the two are related. Please note I am using legacy postbit to display posts with the user name on the side.

Also, how do I remove the actual amount of the top donors from the CMPS module? I can't seem to find it in any of the templates.

Thanks.

your problem is most likely due to a missing column in your user table. Check for the 'donor' and 'showdonor' columns at the end of the table.

Cloudrunner 06-29-2005 11:34 PM

Quote:

Originally Posted by caimakale
CR,

Sorry to report but the same error is still sticking around. Maybe somebody else using a webhost with CPanel can confirm this error on their site.

Here is the specific error:

PHP Warning: Cannot modify header information - headers already sent by (output started at /home/********/public_html/includes/pp_image.php:45) in /home/********/public_html/includes/pp_image.php on line 46

Not sure why its doing this, but this shows up a million times in my logs. Everytime somebody visits the site this shows up. But no errors are displayed on the site itself.

ROFLMAO

I figured it out I think, but I have to now figure out the work around....gimme abit to fix the issue.

And btw, I'm running cpanel, and my error logs show nothing for pp_image.php...

Here's what's happening though, pp_image.php send a header telling the browser what type of image it is outputting to the donation script for the bar graph (in this case a .PNG file). But it is called AFTER global.php is called, therefore, the headers have alredy been sent for the system. Here's my question to you, what version of PHP is your server running?

Cloudrunner 06-29-2005 11:53 PM

Please, everyone, DL this interrim bug fix file to ppverify.php. It addresses a missing single quote preventing proper posting of the donors to the database.

This should fix a few problems...just unzip and upload to your server overwriting the old one.

It goes in ./ppverify.php

*kicks back to wait and see what happens...*

caimakale 06-30-2005 02:11 AM

Quote:

Originally Posted by Cloudrunner
ROFLMAO

I figured it out I think, but I have to now figure out the work around....gimme abit to fix the issue.

And btw, I'm running cpanel, and my error logs show nothing for pp_image.php...

Here's what's happening though, pp_image.php send a header telling the browser what type of image it is outputting to the donation script for the bar graph (in this case a .PNG file). But it is called AFTER global.php is called, therefore, the headers have alredy been sent for the system. Here's my question to you, what version of PHP is your server running?


4.3.11

artonex 06-30-2005 07:34 AM

Quote:

Originally Posted by Cloudrunner
I don't know, I'd ahve to look at your system to find out. at this point I can only speculate that the user is not "deleted" as vb is still finding their username (instead of simply Guest).

Well the user who was deleted never even made a donation.

Hit me up on msn to take alook at my forums.

guvner 06-30-2005 09:23 AM

Man Oh Man!!

I just installed 1.07 - I got all the way to the end and all seemed well then BANG - it brought my whole site down!

The error I received was as follows:

Code:

Database error in vBulletin 3.0.6:

Invalid SQL: SELECT donor.userid, donor.total, user.username
                                                                                                                                FROM vb3_donation_donators AS donor
                                                                                                                                LEFT JOIN vb3_user AS user ON(user.userid = donor.userid)
                                                                                                                                WHERE donor.userid != '0'
                                                                                                                                ORDER BY total DESC
                                                                                                                                LIMIT 0,5

mysql error: Table database_name.vb3_donation_donators' doesn't exist

mysql error number: 1146

Date: Thursday 30th of June 2005 05:08:59 AM
Script: http://www.xpmediacentre.com.au/
Referer:
Username: Removed
IP Address: xxx.xxx.xxx.xxx

Thankfully - the uninstall removed the offending code and my my site came back, but I was really panicked for a few minutes there.

Why could have happened that the donations module caused such a huge disruption to my database calls?

Of course I had already backed up, so I was well covered - but now - because I had to uninstall my previous version, I have no donations module at all.

I'm currently getting around 25 new members and 80 to 100 new posts a day and now I'm pretty nervous about reinstalling unless you have a concrete idea about what caused it.

I really need to get this back online since I'm currently getting quite a few donations coming in and all I have now is a blank page - HELP!

Mike :ermm:

Cloudrunner 06-30-2005 10:42 PM

Quote:

Originally Posted by guvner
Man Oh Man!!

I just installed 1.07 - I got all the way to the end and all seemed well then BANG - it brought my whole site down!

The error I received was as follows:

Code:

Database error in vBulletin 3.0.6:

Invalid SQL: SELECT donor.userid, donor.total, user.username
                                                                                                                                FROM vb3_donation_donators AS donor
                                                                                                                                LEFT JOIN vb3_user AS user ON(user.userid = donor.userid)
                                                                                                                                WHERE donor.userid != '0'
                                                                                                                                ORDER BY total DESC
                                                                                                                                LIMIT 0,5

mysql error: Table database_name.vb3_donation_donators' doesn't exist

mysql error number: 1146

Date: Thursday 30th of June 2005 05:08:59 AM
Script: http://www.xpmediacentre.com.au/
Referer:
Username: Removed
IP Address: xxx.xxx.xxx.xxx

Thankfully - the uninstall removed the offending code and my my site came back, but I was really panicked for a few minutes there.

Why could have happened that the donations module caused such a huge disruption to my database calls?

Of course I had already backed up, so I was well covered - but now - because I had to uninstall my previous version, I have no donations module at all.

I'm currently getting around 25 new members and 80 to 100 new posts a day and now I'm pretty nervous about reinstalling unless you have a concrete idea about what caused it.

I really need to get this back online since I'm currently getting quite a few donations coming in and all I have now is a blank page - HELP!

Mike :ermm:

Delete all the donation files from your server (do not uninstall), and then upload them ALL again out of the 1.07 archive.

What has happened here is that you are running an older version of your donate.php file in the modules directory, don't ask me how, I don't know, but the word donator has not been in use there since 1.03.

I have verified that the files in the 1.07 do not contain this error / query at all...

Cloudrunner 06-30-2005 10:45 PM

Quote:

Originally Posted by TheWebJunkie
Well the user who was deleted never even made a donation.

Hit me up on msn to take alook at my forums.

You need to go into your database and run the query that I post earlier on a few pages back to reset your numbers for donor and showdonor. Then go one by one with the donors in your admincp -> donation administration by simply editing each donor individually and then saving them from there without changing anything. Please let me know if you have already done this (if you have then don't do it again...I've an idea, but I need to rule out whether you did this already or not...did you by chance get a donoation from a guest donor?).

dsboyce8624 06-30-2005 10:53 PM

Quote:

Originally Posted by Cloudrunner
the word donator has not been in use there since 1.03.

Aww, but I miss it so!

artonex 07-01-2005 07:30 AM

Quote:

Originally Posted by Cloudrunner
You need to go into your database and run the query that I post earlier on a few pages back to reset your numbers for donor and showdonor. Then go one by one with the donors in your admincp -> donation administration by simply editing each donor individually and then saving them from there without changing anything. Please let me know if you have already done this (if you have then don't do it again...I've an idea, but I need to rule out whether you did this already or not...did you by chance get a donoation from a guest donor?).


Well the user who was deleted never even made a donation.

Hit me up on msn to take alook at my forums.


All times are GMT. The time now is 11:24 AM.

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.01561 seconds
  • Memory Usage 1,766KB
  • 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
  • (2)bbcode_code_printable
  • (8)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