Re: [phpodpworld-users] Phpodpworld.pl temp file not found
Status: Beta
Brought to you by:
hansfn
From: Hans F. N. <Han...@hi...> - 2007-07-09 11:52:25
|
* Nicholas Johnston <joh...@ne...> [2007-07-09]: > Oops, I hit a shortcut key... > > Thank you both for your diagnosis. > > Briefly using display_errors, it became apparent that I was missing > something. This was infact Pear DB, thanks to my lack of familiarity with > PHP. OK, glad you found the problem. (It is listed in the dependencies section - http://phpodpworld.sourceforge.net/#depend - but that might not make much sense to everyone.) > I am now on to hopefully my last issue - when viewing the index page, I am > greeted with: > > The category "" was not found. The closest matches are: > > In this case I'm trying to display all categories, in a similar way to DMOZ > does. Currently in the config.inc.php categories array, I've just got > "Top", but testing this and replacing this with "Business" for example, > creates the same effect. > > The category "Business" was not found. The closest matches are: > > Any help again would be greatly appriciated. Did you try "Top/Business"? (Just "Business" doesn't exist.) I'm guessing that the import of the RDF into your db failed or is incomplete. (What version are you using by the way - 3.0 pre1 or the latest from SVN?) You should check the db using a mysql client. (If that doesn't make any sense you could try to import a sub-sub-category and in the db perl scripts change my $single_insert = 1; to my $single_insert = 0; This will be slower, not loading the data from (temp) files, but it should work without errors. If it works, you know that you did a mistake when you tried to fix the problems you had.) In general, never work with the complete RDF/all categories, until you have it working for a small sub-sub-category. Hans |