Closed (won't fix)
Project:
Article
Version:
5.x-2.2
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Apr 2007 at 12:01 UTC
Updated:
27 Apr 2007 at 08:40 UTC
Hi,
I've used the article module to create a news section for my site and added 17 categories to Administer » Content management » Categories, creating a News taxonomy.
In the News section, the newly created News Categories do not appear. Only 17 "General (3)" titles with the description I created for General underneath [(3) being how many articles are currently in "General", which is correct].
Is there a bug, or have I not enabled something on my side to display the other 16 News Categories, even if they don't have any articles in them?
Comments
Comment #1
msameer commentedDo you mean that the general one is repeated 17 times ?
What's tje version of php you are using ?
Did you select it in "Article Vocabularies" in admin/settings/article ?
Comment #2
Jack_Sparrow commentedHi msameer,
Thanks for the reply.
Yes, it looks like this below:
Article Categories
*
General (3)
*
General (3)
*
General (3)
*
General (3)
*
General (3)
*
General (3)
*
General (3)
*
General (3)
*
General (3)
*
General (3)
*
General (3)
*
General (3)
*
General (3)
*
General (3)
*
General (3)
*
General (3)
(I took out the description)
It comes up 17 times, & that's how many categories I added.
I went to Administer » Content management » Categories, & added vocabulary "News" with "Story type" selected.
Then I went to Administer » Site configuration » Article, & selected "News" in the Article Vocabularies.
I've enabled the Recent Articles Box.
I also changed the box title to read "Latest News", but it stays "Latest Articles" <-- Problem 2
PHP version 4.4.61
Comment #3
msameer commentedI'm sorry but the latest php version is 4.4.6!
As for problem #2, please submit another issue.
Comment #4
Jack_Sparrow commentedmsameer,
Perhaps my hosts was too eager in giving me the PHP version number & made a mistake by adding the 1.
Is there a problem if we made a mistake by adding the 1?
Is there no solution to my problem, just because we added the 1 to the PHP version?
I don't understand???
I'll repost a seperate bug report for "Problem 2" - Thank you!
BTW - I meant 16 category entries, not 17 - Just in case that's a problem too???
Comment #5
msameer commentedYou don't need to ask the support to give you the php version number. A file with
is enough.
How can I know now that it's 4.4.6 ? and not 5.0 ? not 4.0 ? not a CVS version your host is using ? Not a heavily patched php version ? How would I know ?
Comment #6
Jack_Sparrow commentedmsameer,
Thanks for the clarity.
PHP version 4.4.1
What other info is required?
Comment #7
msameer commentedThis is a php 4.4.1 regression introduced in 4.4.1 and was fixed in 4.4.2
Please check here: http://fi.php.net/releases/4_4_2.php
And here: http://fi.php.net/ChangeLog-4.php#4.4.2
What's the possibility of talking to your host ?
Comment #8
Jack_Sparrow commentedThanks msameer,
I chatted with the host & they say they unfortunately only support 4.4.1 but will be upgrading in the future...
Any chance of a patch in the meantime?
Comment #9
msameer commentedThe problem is that there's no workaround that I'm aware of. The code needs to be rewritten not to use current() and next()
I'll try to compile 4.4.1 and see what can be done.
Comment #10
msameer commentedYou can still talk to the host support and tell tell them they are using a php with a regression from the 4.4.0
Comment #11
msameer commentedI'm sorry but I'm not going to rewrite the code because of a regression that has been fixed in the next version of php.
Beside, I failed to get 4.4.1 to work.
Anyone else is welcomed to try and fix this.