vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   uCash & uShop (https://vborg.vbsupport.ru/forumdisplay.php?f=100)
-   -   uCash & uShop old support and thank you thread (https://vborg.vbsupport.ru/showthread.php?t=73736)

hitmanuk2k 06-27-2004 01:09 PM

I need to know why items are appearing out of stock even though the quantity says there is some available???

SmasherMaster 06-27-2004 02:31 PM

Problem, I had installed the v3 arcade. And now when I tried to install the ushop on another board, here's the error it always says above the banner.

Warning: Invalid argument supplied for foreach() in
/home/****/public_html/ozone/forums/global.php on
line 628

Now here's line 628: foreach ($storeactions as $actionid => $theaction) {

Here's what happens when someoen tries to view a thread:

Warning: Cannot modify header information - headers already sent by (output started at /home/****/public_html/ozone/forums/global.php:628) in /home/****/public_html/ozone/forums/includes/functions.php on line 2836

Line 2836 of functions.php: header("Location: $url");

And finally, it says this when attempting to access the admincp:

Unable to add cookies, header already sent.
File: /home/****/public_html/ozone/forums/global.php
Line: 628

What has gone wrong! I can't install ushop and I can't rebuild the database, because these errrors pop up! What's going on!

Roxie 06-27-2004 03:25 PM

I get this error once I confirm that I want to steal:

Quote:

Invalid SQL: UPDATE user SET uttpoints=uttpoints+5, reputation=reputation- WHERE userid='1'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE userid='1'' at line 1

Link14716 06-27-2004 03:35 PM

Quote:

Originally Posted by SmasherMaster
Problem, I had installed the v3 arcade. And now when I tried to install the ushop on another board, here's the error it always says above the banner.

Warning: Invalid argument supplied for foreach() in
/home/****/public_html/ozone/forums/global.php on
line 628

Now here's line 628: foreach ($storeactions as $actionid => $theaction) {

Here's what happens when someoen tries to view a thread:

Warning: Cannot modify header information - headers already sent by (output started at /home/****/public_html/ozone/forums/global.php:628) in /home/****/public_html/ozone/forums/includes/functions.php on line 2836

Line 2836 of functions.php: header("Location: $url");

And finally, it says this when attempting to access the admincp:

Unable to add cookies, header already sent.
File: /home/****/public_html/ozone/forums/global.php
Line: 628


What has gone wrong! I can't install ushop and I can't rebuild the database, because these errrors pop up! What's going on!

Did you happen to edit includes/init.php?

Link14716 06-27-2004 03:37 PM

Quote:

Originally Posted by hitmanuk2k
I need to know why items are appearing out of stock even though the quantity says there is some available???

This is a confirmed bug. It says out of stock when you don't have enough points to buy it. It'll be fixed in the next release, or you can apply this fix:

Quote:

Originally Posted by dstruct2k
IN TEMPLATE "uttstore_main_actionbits":

Find:
Code:

    <td class="thead"><span style="float: right;"><if condition="$points >= $cost && $action['quantity'] != 0"><a style="text-decoration: none;" href="ushop.php?do=a&aid=$action[actionid]">[ Buy ]</a><else /> Out of Stock </if></span>Cost: $cost - <a href="ushop.php?do=actionhistory&aid=$action[actionid]">Recent Purchases?</a></td>
Replace with:
Code:

    <td class="thead"><span style="float: right;"><if condition="$points >= $cost && $action['quantity'] != 0"><a style="text-decoration: none;" href="ushop.php?do=a&aid=$action[actionid]">[ Buy ]</a><else /><if condition="$points >= $cost"> Out of Stock <else /> Insufficient Funds! </if></if></span>Cost: $cost - <a href="ushop.php?do=actionhistory&aid=$action[actionid]">Recent Purchases?</a></td>


Link14716 06-27-2004 03:39 PM

Quote:

Originally Posted by b4ne
Hi

I have this error that I have no links nowher in my Admin CP or anywhere else on the page, also when I check permission, there is no mention of this .

If I got to the ushop.php page : No Actions found.

Otherwise :
Installation : Manual (did a deinstall and reinstall)

Board vb 3.0.1

Also the very first time I try to connect to ushop.php I get some error in ushop.php on line 144 ?

But this error disapears.

And I wanted to also mention that I run the betting hack.

Any idea ?

For the first problem, you didn't edit admincp/index.php.

For the second error, are you sure you edited global.php and includes/init.php correctly? Do any actions show in the navbar drop-down?

Roxie 06-27-2004 04:04 PM

Quote:

Originally Posted by Roxie
I get this error once I confirm that I want to steal:

It looks like maybe there is an error when subtracting reputation??

Zachery 06-27-2004 04:12 PM

Quote:

Originally Posted by Matt Bush
If you couldn't already tell I'm new with this vB stuff. When I click install, what does it do?

:) it lets us keep a running count of how many sites youve installed, it also lets you know that youve installed the mod, come down the road you jneed to upgrade and forget what mods yo8ur running ;)

Link14716 06-27-2004 04:41 PM

Quote:

Originally Posted by Roxie
It looks like maybe there is an error when subtracting reputation??

Yes, it appears that way. The only thing I can think of is a bad action specific variable for the Thief action.

Edit the Thief action in the admincp and make sure these two options exist and have a (numerical) value entered into them:

Quote:

Reputation Lost On Successful Thievery?
Set this to the amount of reputation points that are lost when a member successfully steals money from another user. Make it negative you gice reputation.
Quote:

Reputation Lost On Failed Thievery?
Set this to the amount of reputation points that are lost when a member attempts and fails to steal money from another user. Make it negative you gice reputation.
EDIT: Hah, nothing like giving support to find typos in things. ;)

House_of_Crazed 06-27-2004 04:49 PM

Hm, I'm starting to wonder if I'm being ingored on purpose.

And FYI - Your license hash thingy on GeekyDesigns isn't working. I verified myself last night, then checked this morning, still don't have access. O_o

HoC


All times are GMT. The time now is 06:13 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.04938 seconds
  • Memory Usage 1,756KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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