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)

mikaelweb1 09-14-2004 04:12 PM

i have problems to get this Hack to work i use vBulletin Version 3.0.3 error mess is in funktion.php

Zachery 09-14-2004 04:32 PM

funktion.php is not one of our files, try contacting the author of that file, or at least SHOW us the error so we can attemtp to help

Link14716 09-15-2004 08:08 PM

Quote:

Originally Posted by mariannet
I ran the standalone installer.
When donating and pressing the final confirmation button I get mySQL error if the donate text (reason) contains a ' character (ex. isn't).

*******
Database error in vBulletin 3.0.3:

Invalid SQL: INSERT INTO utt_store_history
(historyid, userid, timestamp, actionid, action, normalcost, discount, tax, totalcost, touserid, touser, points, newtitle)
VALUES
(NULL, '1', '1095085856', '1', 'Doner GuldM?nter [MSGM]', '0', 'test'er', '0', '100.00', '1730', 'Bj?lken', '100', '')

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 'er', '0', '100.00', '1730', 'Bj?lken', '100', '')' at line 4

mysql error number: 1064
************

If I write without the ' (ex. isnt) then everything is fine.
There are no other errors with uShop and uCash.

I'm running vb ver. 3.0.3

There is no donate reason in uCS 0.93 or 0.95. I'm guessing this is a hack - might want to contact the author of it.

I can still tell you with 100% certainty that the problem is a missing addslashes(); though.

TJFweb 09-16-2004 01:36 AM

Quote:

Originally Posted by Zachery
Very odd, are you sure you've done all your file hacks correctly

I've fixed this :-) Accidentally overwrote the init.php file lol

TJFweb 09-16-2004 04:17 AM

Is there a patch for the bank somewhere? It seems to be quite buggy. I'm using 0.95b.

Sanni 09-16-2004 10:15 AM

sorry for the newbie question but in the requirements doco it says that ucash and ushop must be installed....but i dont really want to use ucash and ushop on my boards (not because they arnt good hacks but simply because i dont need or use their features)....i simply want the rpg hack. Is there any way that I can install ucash and ushop but disable it from being seen by users, that way all the database tables and functionality is there for the RPG hack to use but the ucash and ushop stuff is hidden when not using the rpg system?

kall 09-16-2004 10:27 AM

Quote:

Originally Posted by Sanni
sorry for the newbie question but in the requirements doco it says that ucash and ushop must be installed....but i dont really want to use ucash and ushop on my boards (not because they arnt good hacks but simply because i dont need or use their features)....i simply want the rpg hack. Is there any way that I can install ucash and ushop but disable it from being seen by users, that way all the database tables and functionality is there for the RPG hack to use but the ucash and ushop stuff is hidden when not using the rpg system?

You could achieve that by just not doing any of the template edits..

Or, just add a new column to your user table called 'uttpoints'.

Sanni 09-16-2004 10:36 AM

thanks kall! :)

edit: sorry, when you say just add a new column to my users table called UTTpoints...does that mean that if i do so that i dont have to install ucash and ushop?

i havent thoroughly gone through all the various hacks documentation so i am just feeling my way around the mud atm :)

Sanni 09-16-2004 10:50 AM

seems as though i had too many threads open in new windows and posted this in the wrong thread, i didnt mean to clutter the ushop thread with my questions regarding the rpg hack :( ....mods/admins can you please move my posts to the RPG integration hack thread: https://vborg.vbsupport.ru/showthread.php?t=68440

sorry :(

mikaelweb1 09-16-2004 10:53 AM

Parse error: parse error, unexpected ',' in /home/codersla/public_html/includes/init.php on line 593

HTML Code:

'stylecache'
HTML Code:

// ## <ucs>
                        'stylecache',
                        'utt_store_act'
// ## </ucs>

what to do whit this one

HTML Code:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/codersla/public_html/includes/functions.php on line 1893


All times are GMT. The time now is 05:49 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.05762 seconds
  • Memory Usage 1,753KB
  • 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
  • (3)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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