vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   uCash & uShop (https://vborg.vbsupport.ru/forumdisplay.php?f=100)
-   -   Updated to 0.95b - Bank and Donate not working (https://vborg.vbsupport.ru/showthread.php?t=75076)

CarlitoBrigante 01-25-2005 11:40 AM

Updated to 0.95b - Bank and Donate not working
 
Hi,

we have just updated our ushop from version 0.93 to version 0.95. We uploaded the new actions compatible with the new version, but we have problems with bank and donate.

When we try to donate something to another user (including with admin donate), we get the message "user do not exist". It's like ushop isn't passing the user variable across all steps.

The problem seems similar in the Bank. When you enter the Bank action and press the button continue, the user is brought back to the same page with the continue button.

We tried reupdating all templates, reediting all files, and re-running the installer, with no success. We have a vbulletin 3.0.5 patched to 3.0.6.

Thank you.

Zachery 01-25-2005 11:43 AM

Did you revert the template?

CarlitoBrigante 01-25-2005 11:56 AM

Quote:

Originally Posted by Zachery
Did you revert the template?

Sorry, we forgot to revert one of the templates. Thank you Zachery!

Quote:

Originally Posted by CarlitoBrigante
Sorry, we forgot to revert one of the templates. Thank you Zachery!

Update: donate seems to work now, but we get this warning at the end of the donation: Warning: Division by zero in /uttstore/action.donate.php on line 112

Quote:

Originally Posted by CarlitoBrigante
Sorry, we forgot to revert one of the templates. Thank you Zachery!


Update: donate seems to work now, but we get this warning at the end of the donation: Warning: Division by zero in /uttstore/action.donate.php on line 112

On a note, this doesn't happen with admindonate.

Link14716 01-25-2005 07:02 PM

I haven't seen that error in a long time. I believe it has something to do with the action specific variables for Donate.

There should be a setting for Donate (go to your Admin CP, then Action Manager, then edit donate) called something like "Points for Reputation". Make sure that is not 0.

CarlitoBrigante 01-26-2005 09:28 PM

yes, this was the problem. Anyhow, for some reason, during the upgrade the two variables where added in the database but weren't shown in the admin cp. I had to create a temporary variable in the donate cp (debug mode) and the system rebuilt it, showing also the new two variables. By the way, there is no way in debug mode to delete the temporary variable I added.

Link14716 01-26-2005 10:01 PM

Quote:

Originally Posted by CarlitoBrigante
yes, this was the problem. Anyhow, for some reason, during the upgrade the two variables where added in the database but weren't shown in the admin cp. I had to create a temporary variable in the donate cp (debug mode) and the system rebuilt it, showing also the new two variables. By the way, there is no way in debug mode to delete the temporary variable I added.

Good point. If you delete it in phpMyAdmin or something and click the "Rebuild Datastore" link in the action manager with debug mode, it should get rid of it.

I plan on doing some major changes to the ASVS system in the major release coming up sometime before hell freezes over. ;)

Cyricx 02-19-2005 03:12 PM

You've lost me with the explanation on how to fix this...

Guessing it has something to do with me turning off reputation on my board?


All times are GMT. The time now is 07:33 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.01017 seconds
  • Memory Usage 1,724KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete