TinyPortal

Development => Support => Topic started by: ed_m2 on April 08, 2008, 09:45:36 AM

Title: linktree - additional -no name- ?
Post by: ed_m2 on April 08, 2008, 09:45:36 AM

Did the 1.05 upgrade last night... smooth.

I have a top level category called 'Articles' for.... the majority of my site articles to go in.. with sub cats.
Under the racing sub category I have previews  & reports sub cats.. so 3 levels.

The only article I have copied across at present is in race reports so I'd expect the link tree to look like:

ultrarunner.co.uk > Articles > Racing > Race Reports > TITLE

instead it appears as:

ultrarunner.co.uk > -no name- > Articles > Racing > Race Reports > TITLE

the spare no name links to cat 9999 !

Link to my site: http://www.ultrarunner.co.uk/forum/index.php?page=14 (test site only!)
SMF version: 1.1.4
TP version: 1.05
Theme name and version: modified default
Mods installed: zilch
Related Error messages: Error message heren/a


.....heeeeyelp  :D
Title: Re: linktree - additional -no name- ?
Post by: G6Cad on April 08, 2008, 11:03:56 AM
<you have to assign the articles to categories,
On some servers we have seen that it's not working as it should, and Bloc is looking into it.
Title: Re: linktree - additional -no name- ?
Post by: ed_m2 on April 08, 2008, 12:01:24 PM
all my articles are in categories......  (correct me if i'm wrong!)

unless you mean my 'articles' category needs to be in a category.... which would be a little bizarre.
Title: Re: linktree - additional -no name- ?
Post by: mymistake on October 08, 2009, 11:55:21 AM
Sorry for raising this old topic again, but

I have exactly the same issue in SMF 1.1.10 & TP v1.0 beta 4 -->  "cat=9999" haunts in the linktree as "-no name-" even though all my categories have names and all articles belong to a category.

Is there anything I can directly edit/modify to make the "no name-" category disappear - or is this issue still being looked into? Thanks.
Title: Re: linktree - additional -no name- ?
Post by: G6Cad on October 08, 2009, 12:21:54 PM
If you have this issue, you eather have a bad install of tp ( or bad upgrade ) or even if you say you have named all categories and articles one are still named - no name -  :-\
Keep checking your install and article categories and articles
Title: Re: linktree - additional -no name- ?
Post by: mymistake on October 08, 2009, 12:43:39 PM
I tried to uninstall, delete and reinstall TP (default theme) but the "no name" still keeps haunting there... I wonder should just I uninstall TP, delete all smf_tp tables from the database and install it again then and recreate the articles...
Title: Re: linktree - additional -no name- ?
Post by: G6Cad on October 08, 2009, 12:53:11 PM
First check your categories and then articles and find the one that say no name. it will not show a noname if you dont have one
Title: Re: linktree - additional -no name- ?
Post by: mymistake on October 08, 2009, 01:16:42 PM
Yes, every article and category have a name... luckily I have just one category with one article and one sub category with three articles so it's easy to validate at this point. I have previously created empty articles and categories but have deleted them all from the admin panel. It seems that something obviously went wrong there and this "no-name" didn't get erased 100% - even if there is no sign of it anymore in the admin section.
Title: Re: linktree - additional -no name- ?
Post by: G6Cad on October 08, 2009, 01:19:10 PM
You can check your tp-articles table in your database through phpmyadmin and see if ( and what ) article still holds the -no name - and delete it from there
Title: Re: linktree - additional -no name- ?
Post by: IchBin on October 08, 2009, 02:49:03 PM
Link?
Title: Re: linktree - additional -no name- ?
Post by: mymistake on October 08, 2009, 03:30:07 PM
Quote from: G6 on October 08, 2009, 01:19:10 PM
You can check your tp-articles table in your database through phpmyadmin and see if ( and what ) article still holds the -no name - and delete it from there

Unfortunately there are only those four articles - all with names (subject and shortname).

But anyway, thanks for trying to help. I will probably next try to uninstall tp, delete the tp tables from db, reinstall and recreate those articles by scratch (luckily I don't have too much to lose!).
Title: Re: linktree - additional -no name- ?
Post by: mymistake on October 08, 2009, 04:48:23 PM
I did that now. Uninstalled tp, deleted tables, reinstalled.

Now when I went straight to the admin panel --> articles and categories --> articles, what I see is

Category     Child categories     Articles
Ã,«-no name-Ã,»    0    0

But when I click "categories" (in the menu between articles and settings), there's nothing. No categories.

I seem to be unable to delete this no name category which has now appeared in the "articles" page. It's linked to index.php?action=tpadmin;sa=articles;artcat=9999. When I click it, it opens the empty page with "-no name- Pages: [1]  [save]".

tp_articles and tp_variables tables have no data in them.
Title: Re: linktree - additional -no name- ?
Post by: G6Cad on October 08, 2009, 05:21:13 PM
Have you replaced all the TP files and also made sure ( Manually ) all the file edits are correctly made ?

And please add a link as IchBin asked you to in his post  :up:
Title: Re: linktree - additional -no name- ?
Post by: mymistake on October 08, 2009, 05:36:28 PM
I just deleted everything from the server and db, installed SMF and TP again, and the problem is the same - there it is, "no name". With older TP (0.983) it works. I have no idea what's going on. Maybe I should try with the manual installation... No links, sorry, it's not a public project at this stage.
Title: Re: linktree - additional -no name- ?
Post by: ZarPrime on October 16, 2009, 03:30:30 PM
mymistake,

I tried to check the link you had in your OP in this topic but it looks like you dumped it.  Are you still having a problem with this issue or has the problem been fixed?  If you fixed it, please tell us what you did so that we can mark this topic solved.  If you didn't get it fixed please tell us how we can help you fix it.

ZarPrime
Title: Re: linktree - additional -no name- ?
Post by: mymistake on October 18, 2009, 10:57:37 AM
Hi ZarPrime, unfortunately I wasn't able to get it to work. I made complete reinstallation (+deleted TP tables from db) of both SMF 1.1.10 and TP v1.0 beta 4, but the issue remained (also in default core theme), which was really strange. Well, then I just went back to TP 0.983, where it was fine.
Title: Re: linktree - additional -no name- ?
Post by: ZarPrime on October 18, 2009, 05:17:49 PM
mymistake,

There is really no common sense reason why we could solve this issue for everyone else that has had it but not for you.  If you ever decide to setup another test forum and the problem manifests itself again, please setup a temp Admin account for me and I will look at it to see if I can figure it out for you.  Just PM me the details on the url, username and password.

In the meantime, you might want to check to be sure that your site meets all of the minimum requirements for running SMF properly.  Click me for SMF client and Server Requirements (http://docs.simplemachines.org/index.php?topic=9).  Download the attached file and upload it to the /public_html folder (root folder) of your site and run it.  Once it's up, compare the settings to the SMF requirements.  More is always better.  Once you have uploaded it to the correct location, the url to run it for your site should be ---> http://YourSite.com/info.php

ZarPrime

Edit:  Sorry, forgot to attach file.  Attached now.
Title: Re: linktree - additional -no name- ?
Post by: ZarPrime on October 22, 2009, 04:28:40 PM
mymistake,

I got your PM on the fact that your host has disabled your ability to run info.php because they think it's a security issue.  I've never heard of a host that wouldn't allow you to run that, but I'll ask some others on the Team Board to be sure.  What host are you using?

ZarPrime
Title: Re: linktree - additional -no name- ?
Post by: mc on October 22, 2009, 06:59:04 PM
Some hosts disable phpinfo(), as it can reveal information that could be used to compromise the server.
Title: Re: linktree - additional -no name- ?
Post by: IchBin on October 22, 2009, 07:56:56 PM
Quote from: mc on October 22, 2009, 06:59:04 PM
Some hosts disable phpinfo(), as it can reveal information that could be used to compromise the server.

Most of the time it's because they don't know how to secure the server in the first place. ::) I've seen it a few times where peoples user account info is in the phpinfo() page. Simply making the apache server start up without including the environmental variables of the user that it is running as solves that issue though.
env - ./apachectl start

Title: Re: linktree - additional -no name- ?
Post by: bloc on October 23, 2009, 06:24:44 PM
Ok, this whole "no name"(which is string showing if a category doesn't have a name) comes from the need to have AT LEAST one category. Category 9999 doesn't exist, its just way to show "root" for the sorting to work. Add one category and the 9999 should disappear.

In TP 1.0 beta5 this is rewritten so no need for the shadow category anymore.
Title: Re: linktree - additional -no name- ?
Post by: ZarPrime on October 24, 2009, 12:39:12 AM
Ah, didn't know that about at least 1 category required.  Actually, never even thought about it.  Good to know.

Thanks Bloc. :up:

ZarPrime
Title: Re: linktree - additional -no name- ?
Post by: BLueSS on January 03, 2010, 11:10:50 PM
I just tried reading through this thread, but still can't resolve the -no name- error from coming up ONLY on any article with more than one category.

Site > category > article  = works fine.
http://www.pnwbemani.net/page/proper-ddr-arcade-etiquette/

Site > -no name- > category > sub-category > article  = the error.
http://www.pnwbemani.net/page/dance-game-flat-foot-technique/

I've searched the article table in the sql database, no errors there.
Using 1.0 b4 on the site.

Are there any other things I should try?
Title: Re: linktree - additional -no name- ?
Post by: ZarPrime on January 15, 2010, 04:04:34 PM
This topic is 12 days old now since the last post but, so the issue may be fixed.  If not, then the issue is probably because of the subcategory being in a category that doesn't have an article in it.  Or does it?

Try putting an article in the parent category and see if this solves the problem.

ZarPrime
Title: Re: linktree - additional -no name- ?
Post by: BLueSS on January 16, 2010, 01:59:32 PM
Issue is not fixed yet, I just try to be patient instead of users who spam their problem every hour until it's fixed. :)

There actually are articles in both the parent and child categories. I've also tried moving the folders into other article folders to see if any combo would go away, but it still would show up.

I'm pretty sure I'm using an older version of beta 4 of TP, not sure if this error is related. I haven't updated out of lack of need to yet, but might be doing that soon...

But yeah, all folders have at least one article, and it'll still show up. Also, it's not replacing a category name, it's an additional one before the first folder.
Title: Re: linktree - additional -no name- ?
Post by: BLueSS on January 16, 2010, 07:28:01 PM
Is this related? From the SMF Error Log:

http://www.pnwbemani.net/index.php?cat=9999
8: Undefined index: options
File: /public/Sources/TPortal.php
Line: 1348
Title: Re: linktree - additional -no name- ?
Post by: BLueSS on January 21, 2010, 07:41:33 AM
Gonna bump this time...
Title: Re: linktree - additional -no name- ?
Post by: bloc on January 21, 2010, 09:16:38 AM
You need to check the categories' parent field in the editing screen, and save it. They may have the older value of 9999, when they should be just 0.

If that doesn't work, it may be a mix of old and new template files, so try upload both TPadmin.template.php and TPadmin.php yet again, just to be sure, and save once more.