Webmastersite.net
Register Log In

Adding category fields - Error
database.php error at line 108

Comments on Adding category fields - Error

hyperal2
Member

Usergroup: Customer
Joined: Apr 12, 2005

Total Topics: 3
Total Comments: 15
Posted Sep 18, 2005 - 1:12 AM:

Hi,

I get the following error appearing on the add category page and I also get this error when I try to log back into admin so I can't access admin. I get around the error by going into phpmyadmin and deleteing the extra fields I have just added via wsnlinks from the wsnlinks_catogories table

The error occurs after I have added additional category fields from the add field page within admin.

Basicly, when a new category is added, I need 3 additional fields to be added to the database from the add category input page.

How do I add these 3 category fields. It appears that when I add fields to category some other item must need to be changed, what is it? Does the number of fields in category have to be specified somewhere?

The error is

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /content/DesignerPlus/p/r/www.propertyport.co.uk/web/classes/database.php on line 108

Best regards

Hyper Al
hyperal2
Member

Usergroup: Customer
Joined: Apr 12, 2005

Total Topics: 3
Total Comments: 15
Posted Sep 19, 2005 - 10:55 AM:

Stil add new fields to the category table.

When some adds a new category, I need ann additional 3 fields of input on the category request form. For some reason I get the error as described in my previous post.

Can anyone tell me how to add these fields?

Thanks
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 20, 2005 - 1:16 AM:

As the pinned thread states, you need to post debug output for mysql warnings.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.