Zum Foreninhalt wechseln

www.punbb-forum.de

Das Forum für punBB- Anwender und -Entwickler

Sie sind nicht angemeldet. Bitte melden Sie sich an oder registrieren Sie sich.


Seiten 1

Sie anmelden oder registrieren um eine Antwort zu verfassen

Pun Tags

No tags.

RSS Thema Feed

Beiträge [ 13 ]

Thema: Mod User Stat

Hallo Tobi,
habe eine Frage zu Deinem Mod User_stat und Deinem Kommentar:

3. As long as your statistics tables in the database are not filled
with user entries you will of course receive some errors ;-)

Meinst Du damit nacfolgende Meldung ?
http://www.galopp-sport.eu/forumgalopp/upload/img/error_code_user_stat.jpg

Die kann ich nämlich mit einem Refresh im Browser überspringen.
Bekommen andere User diese Meldung auch, oder nur System Admins?

Gibt es ev. ein parr Zeilen gedruckte Doku/Screenshoots über den Mod ?

Wann verschwindet diese Meldung, endgültig ?

Gruß
Jürgen

P.S. das Forum wächst von Tag zu Tag, zumindest was die Funktionen angeht, aber das ist ja auch noch in der Entwicklungsphase.

2

Re: Mod User Stat

Damit meine ich eher das Auslesen von Informationen, denn wo nichts drinsteht, kann nichts ausgegeben werden.
Inserts aber sollten funktionieren, bist Du sicher, dass Du da bei der Installation alles korrekt gemacht hast?
PS:Abseits der Installationsanleitung gibt es keine Doku, ich dachte das wäre eigentlich selbsterklärend.... eas fehlt denn?

Re: Mod User Stat

Hallo,
jetzt hab ich den Insert Befehl zum x.ten Masse getestet, es wird nichts in die DB geschrieben In "Online" wird alles geschrieben, allerdings erst wenn der User von der Indexseite in die nächste wechselt, wenn er dann zurückkommt auf Index wird das protokolliert.

Hier nochmals die Insertzeilen, vielleicht sieht Du auf einen Blick, was falsch laufen könnte:

// Update the online list
// MOD USERSTATS CHANGE
            if (!$pun_user['logged'])  {
                $db->query('INSERT INTO '.$db->prefix.'online (user_id, ident, logged) VALUES('.$pun_user['id'].', \''.$db->escape($pun_user['username']).'\', '.$now.')') or error('Unable to insert into online list', __FILE__, __LINE__, $db->error());
                $db->query('INSERT INTO'.$db->prefix.'statuser (user_id, user_ip) VALUES('.$pun_user['id'].','.$db->escape(get_remote_address()).')') or error('Unable to insert into user statistics', __FILE__, __LINE__, $db->error());
                }
// END MOD USERSTATS CHANGE

bin im Moment, liegt vielleicht auch an der Uhrzeit nicht in der Lage das Problem ein zu kreisen.

4

Re: Mod User Stat

Es muss heissen

                $db->query('INSERT INTO '.$db->prefix.'statuser (user_id, user_ip) VALUES('.$pun_user['id'].',\''.$db->escape(get_remote_address()).'\')') or error('Unable to insert into user statistics', __FILE__, __LINE__, $db->error());

Also mit quotes um die $db->escape(get_remote_address()) Geschichte.
Das sollte gehen.

Re: Mod User Stat

Danke jetzt geht es,
es ist halt für einen Autodidakten doch etwas schwerer solche Fehler zu finden, wobei ich gestern es auch mal geschafft hatte in die Datei etwas zu schreiben, hatte aber da noch nicht parallel in der My-Sql Datenbank geschauft, da kann man ja immer sehen welche Daten wo stehen, aber wie gesagt hatte ich dann zwischenzeitlich neue Fehler eingebaut und dann war ich zu müde. Wobei solche Fehlersuche ja immens hilft alle sbesser zu verstehen.

gruß
Jürgen

Zuletzt bearbeitet von jlangrock (2006-11-20 07:43:28)

6

Re: Mod User Stat

Eben.
Wenn man ein paarmal solche Naechte hatte, wird man sich hueten, denselben Fehler nochmal zu machen
Ich lerne so auch immer am besten....:)

Re: Mod User Stat

cheap nfl jerseys Different response   
discount coach bags   brand loud
coach bags outlet High quality
coach handbags outlet  Different response 
coach outlet online best choice
coach outlet store online  Very stylish
replica designer handbags style a lot
coach bags on sale with konw trends
cheap coach handbags url] best choice
nfl jerseys suppliers  promotion
replica designer handbags  force promotion

Re: Mod User Stat

WHAT'S----456own peopleCoach Outlet,
just opened a Twitter aCoach Outlet
ccount, and in the pastChanel Handbags
week they have been wrCoach Outlet
iting up a storm, braggCoach Outlet
ing about recent attackChanel Bags
s and taunting their enCoach Factory Outlet
emies.“Your inexperieCoach Outlet Online
ced boys flee from confrCoach Outlet
ontation & flinch in thCoach Outlet
e face of death,” theCoach Outlet Online
Shabab wrote in a post Louis Vuitton Bags
to the Kenyan Army.iCoach Factory Outlet
s an odd, almost downriLouis Vuitton Bags
ght hypocritical move fCoach Factory Store
rom brutal militants inCoach Outlet
one of world’s mosCoach Factory Outlet
roken-down countrie,Coach Outlet Store
where millions of peCoach Factory Outlet
e do not have enough foCoach Outlet
od to eat, let alone aChanel Bags
laptop. The Shabab havChanel Bags
e vehemently rejected WLouis Vuitton
estern practices — banCoach Factory Store
ning Western music, movChanel Handbags
ies, haircuts and bras,Coach Outlet
and even blocking WestChanel Bags
ern aid for famine vicLouis Vuitton
tims, all in the nameCoach Factory Online
oBut terrorism expertsCoach Outlet
say that Twitter terroChanel Bags
rism is part of an emeCoach Outlet
rging trend and thatLouis Vuitton Bags
several other QaedaCoach Factory Outlet
anchises — a few yearChanel Bags
s ago the Shabab pledgCoach Factory

9

Re: Mod User Stat

Cheap Mac Makeup Choose good quality makeup to be sure longer wear. Test the cosmetics you think that you need to buy to make sure you won’t damage the skin. And remember, quality cosmetics are certainly not necessarily expensive. Cosmetics alert:y should be purchased in reputable companies.Cheap Mac Makeup
Mac Makeup Wholesale
wholesale mac makeup
Discount Mac Makeup
Mac Eyeshadow
Mac Makeup Brushes
mac brushes
Canada Goose Jakke
Canada goose tilbud
Canada Goose Trillium
Canada Goose Chilliwack

10

Re: Mod User Stat

motorcycle clothing Told myself, happy.
coach outlet store Happily with a smile too
coach outlet online Melodious flying romantic
motorcycle jackets You gave me a hug.
nike heels But also for a long time than a long, long time
coach factory outlet When excited
motorcycle clothing The last Empress Dowager
nike dunk high heels Fu Sheng Guo Love Xuxu brilliance
coach factory outlet I understand that, just the way you love
motorbike clothing Care about the feeling is the best romantic
nike heels australia Those gentle belongs only to you
motorcycle clothing Very interesting things.
nike high heels You smiled at me in front of me
superdry outlet A touch of feeling beautiful
superdry clothing You are not the best, but I love you

11

Re: Mod User Stat

superdry sale A better life for themselves his
coach factory outlet We will do better
nike high heels Laugh and a good sleep.
coach outlet online Inspire your future.
air max tn The smile is always the best things to see.
coach outlet store Self-confidence and a smile.

12

Re: Mod User Stat

nike air max 2012 Love me long.
griffey shoes I belong to you, forever and ever.
ken griffey jr shoes Happiness comes from itself
jordan heels My world the moment the flowers blooming.
ken griffey shoes Beautiful a necessary condition for
air max 2012 action speak louder than words.     
nike heels Time away from the success of the near
nike dunk heels Led me out of loneliness.
nike air max 2011 Friends as possible

Re: Mod User Stat

The Coach Factory certificate qualifies you to independently plan, deliver and evaluate a series of cycling activity sessions to groups of beginner and intermediate level children or adults.One key role of any leader is to coach team members to achieve their best. Look closely at the Coach Factory Online logos on the outside of the bag. They should all be symmetrical, especially at the seams. Notice whether any of the logos are cut off at any of the bag?ˉs edges or seams.  An authentic Coach handbag does not display a logo that has been severed or partially sewn into a seam. No matter how slight the compromise may be, the coach should be completely in tact. Below are some great Coach Outlet Handbags that will fit with your personal style and for all occasions.Coach Outlet Handbags, was founded in 1941, the family business seminars. Six generations of Coach Outlet masters manufactured in the United States from the loft of leather technology manually.
<P><P>

Beiträge [ 13 ]

Seiten 1

Sie anmelden oder registrieren um eine Antwort zu verfassen



Currently used extensions: pun_tags, pun_quote, pun_repository, pun_antispam, pun_bbcode, pun_poll. Copyright © 2008 PunBB

[ Generated in 0.028 seconds, 7 queries executed ]