Info
- 5 posts
- 3 voices
- Started 5 years ago by Null
- Latest reply from Null
- This topic is not a support question
My post form conflicts with normal bbpress post form
-
- Posted 5 years ago #
Hi,
My plugin has a post form. It works all great, but seems to conlfict with every other post form from the forum. Only the form from my plugin works, all others (like posting a reply) will generate errors.
If tried to resolve this by adding an hidden field:
<input type="hidden" name="portalforum" value="1" />so this form is only used when value is 1:
if ($_POST['portalforum'] == 1)This seems to resolve the problem, but ow i get another error:
Warning: Cannot modify header information - headers already sent by etc etcAny ideas of how to fix this? Or to only use the form when in the admin area?
Thx
-
- Posted 5 years ago #
That php error is usually caused by white space/blank lines before the
<?phpor after the closing?>. I would check for that first. -
- Posted 5 years ago #
Checked it, but that's not it. Also get this error when login in (same as when posting):
Warning: Cannot modify header information - headers already sent by (output started at /xxx/bbpress/my-plugins/bbPortal.php:2) in /xxx/bbpress/bb-includes/pluggable.php on line 39Any other ideas?
Made a zip of the current plugin, just put it into your plugin folder. Now try to post a new post or anything and the error will occur. The new form in adminpage/content/bbportal works great.
NOTE:
This is for testing ONLY. The plugin aint done yet or compleet!!!!
http://www.sourceskins.com/bbPortal-BETA.zip -
- Posted 5 years ago #
Ehm ... donno where exactly should I get errors?
I installed this file .. I can post ... I can login .. I can access the Portal-Configuration ... =)
Everything seems to work for me.
-
- Posted 5 years ago #
Hmmm... ok going to do a clean install on my test forum, perhaps another plugin is jamming...
Thx
Got it fixed, it was another plugin, fixed the error, thx again
zip is removed
-
You must log in to post.