No Top 10 or latest 5 Posts?

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

psp-faq
Posts: 46
Joined: Fri Feb 09, 2007 10:02 am
Contact:

No Top 10 or latest 5 Posts?

Post by psp-faq »

Hi,

i have written a new Post and i can't see it in the Top 10 or last 5 post.

http://beta.psp-faq.de

All users have access to the Categories and the Post, but why is the Post not listed in these two Lists?

Can it be, which is it an error?

Regards
Bastian
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

which version do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
psp-faq
Posts: 46
Joined: Fri Feb 09, 2007 10:02 am
Contact:

Post by psp-faq »

Thorsten wrote:Hi,

which version do you use?

bye
Thorsten
I use the last CSV, therefore from this night.

bye
Bastian
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

can you post the faqdata* tables data here?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
psp-faq
Posts: 46
Joined: Fri Feb 09, 2007 10:02 am
Contact:

Post by psp-faq »

What do you mean? A SQL-Export?

bye
Bastian
psp-faq
Posts: 46
Joined: Fri Feb 09, 2007 10:02 am
Contact:

Post by psp-faq »

I dont know whether is correctly, but here you have an SQL-Export

bye
Bastian

Code: Select all

-- 
-- --------------------------------------------------------

-- 
-- Tabellenstruktur für Tabelle `faqdata`
-- 

CREATE TABLE `faqdata` (
  `id` int(11) NOT NULL default '0',
  `lang` varchar(5) NOT NULL default '',
  `solution_id` int(11) NOT NULL default '0',
  `revision_id` int(11) NOT NULL default '0',
  `active` char(3) NOT NULL default '',
  `keywords` text NOT NULL,
  `thema` text NOT NULL,
  `content` longtext NOT NULL,
  `author` varchar(255) NOT NULL default '',
  `email` varchar(255) NOT NULL default '',
  `comment` enum('y','n') NOT NULL default 'y',
  `datum` varchar(15) NOT NULL default '',
  `links_state` varchar(7) NOT NULL default '',
  `links_check_date` int(11) NOT NULL default '0',
  `date_start` varchar(14) NOT NULL default '00000000000000',
  `date_end` varchar(14) NOT NULL default '99991231235959',
  PRIMARY KEY  (`id`,`lang`),
  FULLTEXT KEY `keywords` (`keywords`,`thema`,`content`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- 
-- Daten für Tabelle `faqdata`
-- 

INSERT INTO `faqdata` (`id`, `lang`, `solution_id`, `revision_id`, `active`, `keywords`, `thema`, `content`, `author`, `email`, `comment`, `datum`, `links_state`, `links_check_date`, `date_start`, `date_end`) VALUES (1, 'de', 1000, 2, 'yes', 'Lorem', 'Lorem Ipsum', 'Lorem Ipsum\r\n', 'Bastian', 'fragen@psp-faq.de', 'y', '20070312110206', 'nolinks', 1173693726, '00010101000000', '00000101000000');

-- --------------------------------------------------------

-- 
-- Tabellenstruktur für Tabelle `faqdata_group`
-- 

CREATE TABLE `faqdata_group` (
  `record_id` int(11) NOT NULL default '0',
  `group_id` int(11) NOT NULL default '0',
  PRIMARY KEY  (`record_id`,`group_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- 
-- Daten für Tabelle `faqdata_group`
-- 


-- --------------------------------------------------------

-- 
-- Tabellenstruktur für Tabelle `faqdata_revisions`
-- 

CREATE TABLE `faqdata_revisions` (
  `id` int(11) NOT NULL default '0',
  `lang` varchar(5) NOT NULL default '',
  `solution_id` int(11) NOT NULL default '0',
  `revision_id` int(11) NOT NULL default '0',
  `active` char(3) NOT NULL default '',
  `keywords` text NOT NULL,
  `thema` text NOT NULL,
  `content` longtext NOT NULL,
  `author` varchar(255) NOT NULL default '',
  `email` varchar(255) NOT NULL default '',
  `comment` char(1) default 'y',
  `datum` varchar(15) NOT NULL default '',
  `links_state` varchar(7) NOT NULL default '',
  `links_check_date` int(11) NOT NULL default '0',
  `date_start` varchar(14) NOT NULL default '00000000000000',
  `date_end` varchar(14) NOT NULL default '99991231235959',
  PRIMARY KEY  (`id`,`lang`,`solution_id`,`revision_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- 
-- Daten für Tabelle `faqdata_revisions`
-- 

INSERT INTO `faqdata_revisions` (`id`, `lang`, `solution_id`, `revision_id`, `active`, `keywords`, `thema`, `content`, `author`, `email`, `comment`, `datum`, `links_state`, `links_check_date`, `date_start`, `date_end`) VALUES (1, 'de', 1000, 0, 'yes', 'Lorem', 'Lorem Ipsum', 'Lorem Ipsum\r\n', 'Bastian', 'fragen@psp-faq.de', 'y', '20070312084459', 'nolinks', 1173685499, '00010101000000', '00000101000000'),
(1, 'de', 1000, 1, 'yes', 'Lorem', 'Lorem Ipsum', 'Lorem Ipsum\r\n', 'Bastian', 'fragen@psp-faq.de', 'y', '20070312084601', 'nolinks', 1173685561, '00010101000000', '00000101000000');

-- --------------------------------------------------------

-- 
-- Tabellenstruktur für Tabelle `faqdata_tags`
-- 

CREATE TABLE `faqdata_tags` (
  `record_id` int(11) NOT NULL default '0',
  `tagging_id` int(11) NOT NULL default '0',
  PRIMARY KEY  (`record_id`,`tagging_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- 
-- Daten für Tabelle `faqdata_tags`
-- 

INSERT INTO `faqdata_tags` (`record_id`, `tagging_id`) VALUES (1, 1),
(1, 2);

-- --------------------------------------------------------

-- 
-- Tabellenstruktur für Tabelle `faqdata_user`
-- 

CREATE TABLE `faqdata_user` (
  `record_id` int(11) NOT NULL default '0',
  `user_id` int(11) NOT NULL default '0',
  PRIMARY KEY  (`record_id`,`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- 
-- Daten für Tabelle `faqdata_user`
-- 
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

hm, die faqdata_user darf nicht leer sein... ich guck mir das heute abend mal an.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
psp-faq
Posts: 46
Joined: Fri Feb 09, 2007 10:02 am
Contact:

Post by psp-faq »

Hi,

ich wollte mal fragen wie es denn jetzt aussieht?

Hast du das Problem gefunden?

Bye
Bastian
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

ich hatte gestern leider keine Zeit mehr, aber das scheint ein Problem mit dem aktuellen Stand im CVS zu sein, ein anderer User hat das gleiche Problem. Wenn ich dazu komme, schau ich heute abend drauf.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
psp-faq
Posts: 46
Joined: Fri Feb 09, 2007 10:02 am
Contact:

Post by psp-faq »

Hi,

ok kein Problem!

Ich weis nicht ob es relevant ist, aber ich hatte das Problem bis jetzt in jeder Version der Beta. Wenn ich die Beta ohne eine alte Datenbank komplett neu installiert habe! Als ich die erste Beta über die alte Datenbank installiert hab, hat es funktioniert.

Bye
Bastian
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

hm, ja, irgendwo klemmt das noch ein bisschen. :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
psp-faq
Posts: 46
Joined: Fri Feb 09, 2007 10:02 am
Contact:

Post by psp-faq »

Hi,

das heist soviel wie?
Kann es noch eine weile dauern bis, du den Fehler gefixt hast?

Bye
Bastian
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

ich habe das gestern auf meiner ersten Plattform nicht nachvollziehen können, teste das aber auf meiner zweiten Plattform heute abend auch noch.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
psp-faq
Posts: 46
Joined: Fri Feb 09, 2007 10:02 am
Contact:

Post by psp-faq »

Hi Thorsten,

wie sieht´s denn aus? Hast du den Fehler schon gefunden und beheben können?

Bye
Bastian
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

ich konnte das auf beiden Plattformen nicht nachvollziehen... Welche Konfiguration hast du denn? Oder wo kann ich das angucken?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply