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)

U-Dox 05-17-2004 10:39 PM

I Gotta Problem. For Some Reason Tha "Thief" Option Isnt Workin Anymore.

it says "There seems to have been a slight problem with the database"

i dont know what to do. it was workin very well yesterday and my members love it. i didnt make any changes to the site at all to make it not work. What should i do?

Zachery 05-17-2004 10:40 PM

Right click and view source, we need to view the error message to see whats wrong.

U-Dox 05-18-2004 01:08 AM

Aight This Is What It Said


<html><head><title>StreetVerbz Database Error</title><style type="text/css"><!--.error { font: 11px tahoma, verdana, arial, sans-serif; }--></style></head>
<body></table></td></tr></table></form>
<blockquote><p class="error">&nbsp;</p><p class="error"><b>There seems to have been a slight problem with the StreetVerbz database.</b><br />
Please try again by pressing the <a href="javascript:window.location=window.location;" >refresh</a> button in your browser.</p><p class="error">An E-Mail has been dispatched to our <a href="mailto:dbmaster@example.com">Technical Staff</a>, who you can also contact if the problem persists.</p><p class="error">We apologise for any inconvenience.</p><form><textarea class="error" rows="15" cols="100" wrap="off">Database error in vBulletin 3.0.1:

Invalid SQL: UPDATE user SET uttpoints=uttpoints+5.00, 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

mysql error number: 1064


Can You See The Problem?

Flow Fusion 05-18-2004 04:27 AM

How do I update the users money in the richest members info? My members are still getting very little money for each post even though I updated every forum?

Zachery 05-18-2004 04:29 AM

Quote:

Originally Posted by Flow Fusion
How do I update the users money in the richest members info? My members are still getting very little money for each post even though I updated every forum?

Did you edit the money per posts view thread settings? the forum settings are just multipliers, nothing more.

Flow Fusion 05-18-2004 02:46 PM

Quote:

Originally Posted by Zachery
Did you edit the money per posts view thread settings? the forum settings are just multipliers, nothing more.

I did edit that but this is what I get


http://www.giftedsouls.com/gs/ushop.php?do=richestusers

I also want to know about the errors I get when I upload the functions_showthread.php

as well as the showthread.php

I will post them later because I want to figure this out first.

Intex 05-18-2004 05:18 PM

** BUMP - Any help ? **

Quote:

Originally Posted by Intex
I've run the install file 'ushop_install.php' and eveything installed ok. I then completed all the file edits as instructed. However when I came to do the template updates, as soon as I went into AdminCP (or anywhere else on the site), I now get an error:

Code:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in C:\Apache2\htdocs\forum\includes\init.php on line 508

Here is the PHP code (I've highlighted line 508 in the code *** below ***)

PHP Code:

        // add default special templates
        
$specialtemplates array_merge(array(
            
'options',
            
'cron',
            
'forumcache',
            
'usergroupcache',
            
'stylecache',
            
'arcadesettings'
        
), $specialtemplates);
*** 
THIS IS LINE 508 ***
        
$datastoretemp $DB_site->query("
            SELECT title, data
            FROM " 
TABLE_PREFIX "datastore
            WHERE title IN ('" 
implode("', '"$specialtemplates) . "')
        "
);
        unset(
$specials$specialtemplates); 

I've only got a few hacks installed (vbadvanced, v3 arcade and htl (which I didn't use to install this hack btw).

Any ideas?


sabret00the 05-18-2004 05:21 PM

Quote:

Originally Posted by Intex
I've run the install file 'ushop_install.php' and eveything installed ok. I then completed all the file edits as instructed. However when I came to do the template updates, as soon as I went into AdminCP (or anywhere else on the site), I now get an error:

Code:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in C:\Apache2\htdocs\forum\includes\init.php on line 508

Here is the PHP code (I've highlighted line 508 in the code *** below ***)

PHP Code:

          // add default special templates
          
$specialtemplates array_merge(array(
              
'options',
              
'cron',
              
'forumcache',
              
'usergroupcache',
              
'stylecache',
              
'arcadesettings'
          
), $specialtemplates);
  *** 
THIS IS LINE 508 ***
          
$datastoretemp $DB_site->query("
              SELECT title, data
              FROM " 
TABLE_PREFIX "datastore
             WHERE title IN ('" 
implode("', '"$specialtemplates) . "')
          "
);
          unset(
$specials$specialtemplates); 

I've only got a few hacks installed (vbadvanced, v3 arcade and htl (which I didn't use to install this hack btw).

Any ideas?

do this
PHP Code:

           // add default special templates
           
$specialtemplates array_merge(array(
               
'options',
               
'cron',
               
'forumcache',
               
'usergroupcache',
               
'stylecache',
               
'arcadesettings',
           ), 
$specialtemplates);
  
// *** THIS IS LINE 508 ***
           
$datastoretemp $DB_site->query("
               SELECT title, data
               FROM " 
TABLE_PREFIX "datastore
             WHERE title IN ('" 
implode("', '"$specialtemplates) . "')
           "
);
           unset(
$specials$specialtemplates); 

and tell me if it fixes the problem

Intex 05-18-2004 05:25 PM

sabret00the - Thx for the reply.

From what I can see you've put the $specialtemplates); on it's own line. Would this really make that much difference? BTW: the line where I said THIS IS LINE 508 was only put in there for posting here. It's not in the template at all.

Flow Fusion 05-18-2004 06:40 PM

Ok here are the errors I'm getting from the includes/functions.php

Parse error: parse error in /home/giftedso/public_html/gs/includes/functions.php on line 1871

Fatal error: Call to undefined function: is_browser() in /home/giftedso/public_html/gs/global.php on line 59

And this is the last file I need to upload. This is the mofo that is causeing the points to not move correctly I assume?


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