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)
-   -   vb3 Statistic Version 1.01 (https://vborg.vbsupport.ru/showthread.php?t=65924)

insanctus 06-07-2004 06:51 PM

Looks interesting, I will click install and try her out.

bigreefer 06-07-2004 07:09 PM

Sorry but i Have many SQL Errors.

one example
Code:

SQL-Befehl : 

CREATE TABLE _statistik_zaehler(

Zaehler_f?r varchar( 80 ) NOT NULL default '',
Summe int( 10 ) NOT NULL default '0',
PRIMARY KEY ( Zaehler_f?r )
) TYPE = MYISAM COMMENT = 'Zaehler f?r Hits, Besucher, ect...'

MySQL meldet:


#1064 - 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 '?r varchar(80) NOT NULL default '',
          Summe int(10) NOT NULL

don?t use ? ? ? :)

I have change it to "ue" but if I go to http//www.mydomain.de/statistik.php
It shwow me this

Code:

Datenbankfehler in vBulletin 3.0.1:

Ungueltige SQL-Abfrage:
                        UPDATE  _statistik_zaehler
                        SET Summe = Summe+1
                        WHERE Zaehler_f?r  = 'Anzahl_der_Besucher'
               
mysql error: Unknown column 'Zaehler_f?r' in 'where clause'

mysql error number: 1054

Datum: 07.06.2004 22:21:13
Skript: http://www.celebritymarkt.de/statistik.php
Referer:
Benutzername: Snatch
IP-Adresse: 213.23.58.187

I have change Zaehler_f?r to Zaehler_fuer in all files. No it runs and Big clicks install :)

bigreefer 06-07-2004 07:32 PM

I have one more problem,

the statistik line is too long, is there a way to make this short ?
I must scroll very mutch, thas not so good :disappointed:

PcFreak 06-07-2004 07:47 PM

@bigreefer

you have forgot this spell " ;" after ect...'; <-

PHP Code:

CREATE TABLE _statistik_zaehler (
          
Zaehler_f?r varchar(80NOT NULL default '',
          
Summe int(10NOT NULL default '0',
          
PRIMARY KEY  (Zaehler_f?r)
        ) 
TYPE=MyISAM COMMENT='Zaehler f?r Hits, Besucher, ect...'

The other problem.
Search in statistik.php for
PHP Code:

    $alle_avantars    =    number_format($alle_avantars['avantar']);                                    //Alle Benutzer mit Avantar 

replace it with
PHP Code:

    $alle_avantars    =    intval($alle_avantars['avantar']);                                    //Alle Benutzer mit Avantar 

and found
PHP Code:

    $alle_profilpics    =    number_format($alle_profilpics['profilpic']);                            //Alle Benutzer mit Profilbild 

replace it with
PHP Code:

    $alle_profilpics    =    intval($alle_profilpics['profilpic']);                            //Alle Benutzer mit Profilbild 

I hope this will help.

PcFreak

PcFreak 06-07-2004 08:28 PM

Some database don´t work with Umlauds (Ä,Ö, Ü) ect.
I had change a little bit code and the querys witch has use umlauts (Zaehler_für is now Zaehler_fuer)
Sorry for this mistake (zip.file is update)

Logikos 06-07-2004 08:32 PM

/me installs!!!

Thanks!!!

Vivi Ornitier 06-07-2004 09:42 PM

where's sms.php????

Vivi Ornitier 06-07-2004 09:44 PM

actually now that i look at the statistik.php code, those changes were already made but it is still stretching the tables.

PcFreak 06-07-2004 10:25 PM

Quote:

Originally Posted by Vivi Ornitier
actually now that i look at the statistik.php code, those changes were already made but it is still stretching the tables.

Whitch table is stretching ?
I think i can hlep. :o

PcFreak

PS; Sorry, i mean statistik.php

templates911 06-08-2004 12:23 AM

Is there any way this would work with vB 3.0? I havn't upgraded yet and dont plan to until more changes are made that what was in the last upgrade.


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