Status: Banned

gtgillis

Forum User
Full Member
Registered: 11/05/03
Posts: 121
I installed Forum 2.2 and added a Catagory Name, description and order then clicked save. The order and description are entered into the table but the catagory name is changed to "undefined". I tried editing the newly created catagory through the forum admin but it always stays "undefined". I can edit the table directly with phpMyAdmin, changing undefined to the correct name.

The same thing happens when I add a forum. The forum name show as "undefined". Again, I edit the table to change the name.

I add a new topic and now the topic author shows "undefined". If I click on the author name I am shown the correct user profile.

Anyone have an idea what is going on?

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Well this is a new one for me

The problem did not make sense to me so I scanned all my source for the word undefined and nope - don't get 1 match.

I don't doubt you are getting this error, I just don't understand how. Can anyone duplicate this ?
Geeklog components by PortalParts -- www.portalparts.com

Status: Banned

gtgillis

Forum User
Full Member
Registered: 11/05/03
Posts: 121
I was thinking the same thing. You should be able to duplicate the undefined by manually inserting a record into table gl_forum_catagories with phpMyAdmin and leave the cat_name field blank. When you browse the contents of the table you should see it.

Example
cat_order cat_name cat_dscp id
1 Hardware Hardware Topics 1
2 Software Software Topics 2
3 undefined Test Desc 3
4 Test 4

Now the question is why. I thought it might be a database error so I copied an entire database from a working GL installation from another site I administer but I get the same error. I also tried uninstalling and reinstalling the plugin. I also re-copied all of the files and checked the permission against the working site but no joy.


Status: Banned

gtgillis

Forum User
Full Member
Registered: 11/05/03
Posts: 121
OK now I am really stumped.
I removed all geeklog related files, plugins,extras,database, everything. I then reinstalled geeklog 1.3.8-1sr2 and forum 2.2RC1 and I am getting the same undefined error when I add a catagory or forum.


Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
Just curious, how are you adding the category?

Status: Banned

gtgillis

Forum User
Full Member
Registered: 11/05/03
Posts: 121
I used the Forum Admin, click on Board Admin, then Add A Catagory. After the undefined catagory is created I click on Add A Forum and get a forum name of undefined.


Status: Banned

gtgillis

Forum User
Full Member
Registered: 11/05/03
Posts: 121
I am totally freaking out now.

I normally administer geeklog from my main PC since I have a nice comfortable chair and dual monitors. But, I needed to work from another PC to compile a program and while waiting I popped over to the site and tried it again. I'll be a son of a *^$%#@ if it didn't work. I'll update this thread again when I figure out what it is with my PC that caused this problem.

Status: Banned

gtgillis

Forum User
Full Member
Registered: 11/05/03
Posts: 121
Got It!!

I got to thinking about the symptoms of this problem and it looks almost like a cached version of a problem file. I doubted that anything was cached but I killed all of the temp internet files anyway but that didn't take care of it.

Then I thought it might be a cookie problem. I never changed the default cookie name so I am administering two sites on the same server that are using the same cookie name. But changing the cookie names on both sites didn't do it either.

Finally, I deleted all cookies through IE's Tools->Internet Options and viola! It works as expected.