Current time: 03-16-2010, 06:17 PM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Can't add a new category
08-04-2008, 08:26 AM (This post was last modified: 08-04-2008 02:37 PM by Ryan Gordon.)
Post: #1
Big Grin [F] Can't add a new category
I have just installed MyBB 1.4 on my computer for testing, before i upgrade my forum from 1.2.14 to 1.4
And i can't add a new category. Sad
If i try:
Forums & Post -> Add New Forum and then i select:
- Create a Category
- for title something random
- some description
- Parent Forum: none
- display order 2
- i don't select anything at the Additional Options
- i don't modify nothing at the Permissions
And then i get a sql error:
Code:
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1264 - Out of range value adjusted for column 'pid' at row 1
Query:
INSERT INTO mybb_forums (`name`,`description`,`linkto`,`type`,`pid`,`parentlist`,`disporder`,`active`,`o​pen`,`allowhtml`,`allowmycode`,`allowsmilies`,`allowimgcode`,`allowpicons`,`allo​wtratings`,`usepostcounts`,`password`,`showinjump`,`modposts`,`modthreads`,`mod_​edit_posts`,`modattachments`,`style`,`overridestyle`,`rulestype`,`rulestitle`,`r​ules`,`defaultdatecut`,`defaultsortby`,`defaultsortorder`) VALUES ('test','something','','c','-1','','2','1','1','0','1','1','1','1','1','1','','1','0','0','0','0','0','0','0'​,'','','0','','')

[version] => 1.4
[version_code] => 1400
PHP Version 5.2.4
Mysql 5.0.51b
Find all posts by this user
08-04-2008, 11:23 AM
Post: #2
RE: Can't add a new category
Hi there,

Can you try uploading the attached version of admin/modules/forum/management.php to your forum and seeing if you can successfully create forums then?


Attached File(s)
.php  management.php (Size: 82.05 KB / Downloads: 87)

Chris Boulton
Rate MyBB @ HotScripts.com - Show your support!
You can also Write a review! - Help us grow!
Visit this user's website Find all posts by this user
08-04-2008, 12:44 PM
Post: #3
RE: Can't add a new category
Now it work's.
Thanks !!!!!!!111
Find all posts by this user
08-04-2008, 12:46 PM
Post: #4
[F] Can't add a new category
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

Chris Boulton
Rate MyBB @ HotScripts.com - Show your support!
You can also Write a review! - Help us grow!
Visit this user's website Find all posts by this user


Forum Jump: