Werbung nur für Gäste sichtbar - Nach der Registrierung sehen sie auch keine Werbung mehr

Dear visitor, welcome to codeQuake. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

  • "Andre Leo" is male
  • "Andre Leo" started this thread

Posts: 13

ActivityPoints: 85

Date of registration: Sep 28th 2011

  • Send private message

1

Friday, January 13th 2012, 8:57am

Statistik wird nicht aktualisiert

Produkt:
Linkliste
Version:
Aktuelle

Beschreibung:
Ich habe jetzt schon mehrmals im ACP die Linkliste aktualisiert , 25 x und auch 50 x Seitenaufrufe .Die Linkliste aktualisiert sich zwar aber nach sagen wir ca. 4 Wochen ist die Besucherzahl immer auf der letzten Aktualisierung .
Stimmen die Cronjobs nicht bei mir ? Und welcher wäre dann dafür zuständig ?




Fehlermeldung:
Keine

Source code

1
Hier ggf. Fehlermeldung einfügen

  • "Andre Leo" is male
  • "Andre Leo" started this thread

Posts: 13

ActivityPoints: 85

Date of registration: Sep 28th 2011

  • Send private message

2

Friday, January 13th 2012, 10:43pm

Hi,
Es handelt sich um die Hauptstatistik in diesem Fall-
an der Linkliste oder Sprachvariablen sowie Templates oder Cronjobs habe ich nichts vorgenommen.

Sonst muss ich sie mal deinstallieren und einen neuen Import durchführen ...
PS: Wann wird ein Link gezählt ? Wenn ich den Link anklicke und das Forum verlasse ? oder wenn ich den Eintrag aufrufe ?

Jenso

Administrator

  • "Jenso" is male

Posts: 2,324

ActivityPoints: 13,975

Date of registration: Aug 15th 2010

  • Send private message

3

Saturday, January 14th 2012, 12:03am

Ein klick wird gezählt, wenn man auf "Link besuchen" klickt. Das mit der Statistik gucke ich mir mal an.

  • "Andre Leo" is male
  • "Andre Leo" started this thread

Posts: 13

ActivityPoints: 85

Date of registration: Sep 28th 2011

  • Send private message

4

Saturday, January 14th 2012, 5:58am

OK, dann warte ich mal ab .

Gruß

Black Rider

Syntax Error

  • "Black Rider" is male

Posts: 58

ActivityPoints: 390

Date of registration: Oct 5th 2011

  • Send private message

5

Saturday, January 14th 2012, 2:12pm

Wurde übrigens schon vor einiger Zeit mal gemeldet:
[Linkliste] Anzeigen aktualisieren sich teilweise nicht
Meine Projekte:
KittBlog | WCF-Support

Jenso

Administrator

  • "Jenso" is male

Posts: 2,324

ActivityPoints: 13,975

Date of registration: Aug 15th 2010

  • Send private message

6

Saturday, January 14th 2012, 2:40pm

Bin grade dabei mir das anzugucken. Also die counterUpdate klasse ruft RefreshAll() des categoryEditors auf:

PHP Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
public static function refreshAll($categoryIDs) {
		if (empty($categoryIDs)) return;
 
		$sql = "UPDATE wcf".WCF_N."_linklist_category linkList_category
			SET	links = (
					SELECT	COUNT(*)
					FROM	wcf".WCF_N."_linklist_link
					WHERE	categoryID = linkList_category.categoryID
						AND isDeleted = 0
						AND isDisabled = 0
					),
				comments = (
					SELECT	COUNT(*)
					FROM	wcf".WCF_N."_linklist_link_comment
					WHERE	categoryID = linkList_category.categoryID
					),
				visits = (
					SELECT	IFNULL(SUM(visits), 0)
					FROM	wcf".WCF_N."_linklist_link
					WHERE	categoryID = linkList_category.categoryID
						AND isDeleted = 0
						AND isDisabled = 0
					)
			WHERE	categoryID IN (".$categoryIDs.")";
		WCF::getDB()->registerShutdownUpdate($sql);
	}
Aufruf von hier:

PHP Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$categoryIDs = '';
		$sql = "SELECT		categoryID
			FROM		wcf".WCF_N."_linklist_category
			ORDER BY	categoryID";
		$result = WCF::getDB()->sendQuery($sql, $limit, $offset);
		while ($row = WCF::getDB()->fetchArray($result)) {
			if (!empty($categoryIDs)) $categoryIDs .= ',';
			$categoryIDs .= $row['categoryID'];
 
			// update last entry
			$category = new LinkListCategoryEditor($row['categoryID']);
			// refresh categories
			LinkListCategoryEditor::refreshAll($categoryIDs);
			LinkListCategory::resetCache();
 
			// call event
			$this->updated();
		}
		if (empty($categoryIDs)) {
			$this->finished = true;
			return;
		}
}
Wo genau das jetzt schief läuft ist mir unklar... Er sollte schließlich jede Kategorie abarbeiten... Wenn jemand was verdächtiges sieht: SCHREIEEEN

Social Bookmarks


Rate this thread
Werbung nur für Gäste sichtbar - Nach der Registrierung sehen sie auch keine Werbung mehr