|
categorie problem 2 Years, 5 Months ago
|
Karma: 0
|
|
I have installed version 0.4.1, but I have (also had in earlier versions) a problem with the categories in the backend. I can add new categories, but they don't show in the list. So because of this the list is empty. But when I want to add a track I can normally choose the categorie.
I add the categorie without an image, because I don't need the image. That also gives a warning (couldn't copy file). Maybe that is what causes the problem?
|
|
|
|
|
|
|
Re:categorie problem 2 Years, 5 Months ago
|
Karma: 3
|
|
The warning is a thing you can ignore. The other thing is bit strange, cause nobody else have this problem. Only to get you right, you can't see the category list in backend? In frontend the list is shown? Can you set the site to debug mode and tell me if any error occurs.
|
|
|
|
it`s not a bug, it`s a feature
|
|
|
Re:categorie problem 2 Years, 5 Months ago
|
Karma: 0
|
|
I connot see the list in the backend (so I cannot edit or delete as well). When I set the site in debug mode I don't see any failures about this.
It seems that the database entries are not fetched properly. Maybe there is something wrong in my database?
|
|
|
|
|
|
|
Re:categorie problem 2 Years, 5 Months ago
|
Karma: 3
|
This is possible, but normaly you would get an error in debug mode if you save a new categorie. And if you see the list in frontend, i don`t see the problem why not in backend. This is very weird.
The structure of the cats table looks like this. If yours look different...
| Code: |
id int(10)
parent int(10)
title varchar(30)
description varchar(255)
image varchar(60)
ordering int(10)
published int(10)
checked_out int(10)
|
Did you made the database table updates after installing v0.4 and v0.4.1?
|
|
|
|
it`s not a bug, it`s a feature
|
|
|
Re:categorie problem 2 Years, 5 Months ago
|
Karma: 0
|
There structure seems OK. Maybe you an SQL dump makes something clear?
| Code: |
REATE TABLE `jos_gps_cats` (
`id` int(10) NOT NULL auto_increment,
`parent` int(10) NOT NULL default '0',
`title` varchar(30) NOT NULL,
`description` varchar(255) NOT NULL,
`image` varchar(60) NOT NULL,
`ordering` int(10) NOT NULL,
`published` int(10) NOT NULL,
`checked_out` int(10) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
--
-- Gegevens worden uitgevoerd voor tabel `jos_gps_cats`
--
INSERT INTO `jos_gps_cats` (`id`, `parent`, `title`, `description`, `image`, `ordering`, `published`, `checked_out`) VALUES (1, 0, 'Fietsen', '', '', 0, 1, 0),
(2, 0, 'Lopen', '', '', 0, 1, 0),
(3, 2, 'Scouting', '', '', 0, 1, 0),
(4, 1, 'training', '<p>trainingsrondjes</p>', '', 0, 1, 0),
(5, 0, 'Joost', '<p>Tracks van joost</p>', 'joost.png', 0, 1, 0);
|
|
|
|
|
|
|
|
Re:categorie problem 2 Years, 5 Months ago
|
Karma: 3
|
|
Looks normal. Maybe it helps if you clear the table with phpMyadmin or delete it and install it new. Thats realy a funny problem.
|
|
|
|
it`s not a bug, it`s a feature
|
|
|