HTML Logo by World Wide Web Consortium ( Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS. ocPortal 9 is superseded by Composr 10.

Head over to for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.

Deleting a post

Login / Search

 [ Join | More ]
 Add topic 
#21076 (In Topic #5081)


In my attempt to delete a personal topic I got the following error.


 A query that had to return something returned nothing: SELECT f_parent_forum FROM ocp3_f_forums WHERE (id IS NULL) (ocPortal version: 3.0.4, PHP version: 4.4.3-dev, URL: /forum/index.php?page=topics&type=_delete_post&id=1834&kfs=0)
Here is the stack trace:

Below is a stack trace revealing the state ocPortal was in when the error occured. If this represents a bug in ocPortal's unmodified software, you may want to check for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, the human situation, version numbers, and any other appropriate information.
We apologise for this problem and hope you will work with us so that we can fix it promptly.
File    '/home/rpgdfw/www/www/sources/global2.php'
Line    '669'
Function    'get_html_trace'

File    '/home/rpgdfw/www/www/sources/database.php'
Line    '342'
Function    'clean_exit'

File    '/home/rpgdfw/www/www/sources/ocf_forums.php'
Line    '249'
Function    'query_value'
Class    'database_driver'
Type    '->'

File    '/home/rpgdfw/www/www/sources/ocf_posts_action.php'
Line    '599'
Function    'ocf_force_update_forum_cacheing'

File    '/home/rpgdfw/www/www/forum/pages/modules/topics.php'
Line    '1,294'
Function    'ocf_delete_posts_topic'

Function    '_delete_post'
Class    'module_topics'
Type    '->'

File    '/home/rpgdfw/www/www/forum/pages/modules/topics.php'
Line    '125'
Function    'call_user_func'

File    '/home/rpgdfw/www/www/sources/zones.php'
Line    '294'
Function    'run'
Class    'module_topics'
Type    '->'

File    '/home/rpgdfw/www/www/sources/site.php'
Line    '636'
Function    'load_module_page'

File    '/home/rpgdfw/www/www/sources/site.php'
Line    '506'
Function    'request_page'

File    '/home/rpgdfw/www/www/forum/index.php'
Line    '42'
Function    'do_site'
Back to the top

Thank you for your bug report. This issue has now been resolved and the fix will be included in the next version of ocPortal. If the bug has caused you significant trouble, then we sincerely apologise for this.
If you wish to fix this problem immediately, then we have posted the fix in our bug database.

Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Support me on Patreon
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: