Author |
Message |
noisy Board Member
Joined: 04 Jun 2011
Posts: 35
|
Posted: Tue Jun 14, 2011 11:21 am Post subject: Secondary Forum Description with Simple Subforums |
|
|
I tried to install the Secondary Forum Description MOD from phpbb database while simple subforums are already installed in my forum.
I had to do some edits beyond the author instruction to make it work, and it looks like it is working fine. I can set a secondary forum desc. for any forum or subforum and it shows fine.
One problem i am facing and i have no idea how to solve it. When i try to create a new forum, i am getting "Couldn't insert row in forums table".
i am posting 2 versions of my admin_forums.php here just in case some one would like to help me.
thanks in advance
Description: |
|
Download |
Filename: |
admin_forums.zip |
Filesize: |
16.75 KB |
Downloaded: |
1504 Time(s) |
|
|
Back to top |
|
|
StarWolf3000 Board Member
Joined: 10 Jun 2010
Posts: 175 Location: Germany
|
Posted: Tue Jun 14, 2011 12:28 pm Post subject: Re: Secondary Forum Description with Simple Subforums |
|
|
It seems that you didn't install it properly, you forgot to add a part of the SQL query.
This one is fixed (I hope).
Description: |
|
Download |
Filename: |
admin_forums.php.txt |
Filesize: |
47.06 KB |
Downloaded: |
1509 Time(s) |
|
|
Back to top |
|
|
noisy Board Member
Joined: 04 Jun 2011
Posts: 35
|
Posted: Tue Jun 14, 2011 1:57 pm Post subject: Re: Secondary Forum Description with Simple Subforums |
|
|
that was fast! thanks a lot, i will test it and compare the documents to see what i missed
|
|
Back to top |
|
|
noisy Board Member
Joined: 04 Jun 2011
Posts: 35
|
Posted: Tue Jun 14, 2011 2:15 pm Post subject: Re: Secondary Forum Description with Simple Subforums |
|
|
it looks like i had missed this
Code: | . "," . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc_long']) |
right?
I added this line now but again i am getting the same error when trying to create a new forum.
Editing existing forums still works fine though.. I am confused.
|
|
Back to top |
|
|
Salvatos Board Member
Joined: 19 Feb 2009
Posts: 449 Location: Québec
|
Posted: Tue Jun 14, 2011 11:19 pm Post subject: Re: Secondary Forum Description with Simple Subforums |
|
|
The only thing I can see now that you've added that would be if you forgot to add 'forum_desc_long' to the database (phpbb2_forums).
Code: | ALTER TABLE phpbb_forums ADD forum_desc_long TEXT; |
|
|
Back to top |
|
|
noisy Board Member
Joined: 04 Jun 2011
Posts: 35
|
Posted: Wed Jun 15, 2011 5:03 am Post subject: Re: Secondary Forum Description with Simple Subforums |
|
|
it was some missing single quotes in your line. correct line is this
Code: | . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc_long']) |
problem solved, thanks a lot
|
|
Back to top |
|
|
|