Info
- 6 posts
- 1 voice
- Started 3 years ago by bharatk
- Latest reply from bharatk
- This topic is not resolved
1.0 alpha 2: Cannot post messages with http://
-
- Posted 3 years ago #
Hi,
One of the members of our bbpress installtion reported the following PHP error when they were posting a message with links in it. I could not replicate the problem as Keymaster but can as a member.
When a member starts a NEW topic and the message includes http:// URLS in the message the following erro occures and the topic/message is not posted.
Warning: Invalid argument supplied for foreach() in /home/example.com/public_html/forums/bb-includes/functions.php on line 527
Warning: Cannot modify header information - headers already sent by (output started at /home/example.com/public_html/forums/bb-includes/functions.php:527) in /home/example.com/public_html/forums/bb-includes/pluggable.php on line 214
On replying to a message and your message has http:// URLS then the page simply re-directs back to the forum without the above error message and again no post.
If however, you START or REPLY with a message with just text and no URLs you can then go back and EDIT the post and add the URLs.
-
- Posted 3 years ago #
Testing this forum with a URL and a link for you to try posting in to see if you get the php error (use username: testing and password: testing)
http://www.setforever.org/forums/forum/set-forever-development
-
- Posted 3 years ago #
Well it seems to work OK here.
What version of bbpress are these forums running?
-
- Posted 3 years ago #
UPDATE:
It's not a generl URL issue but a weird one.If you look at the following message which was troublesoem to post:
http://www.setforever.org/forums/topic/climate-change-and-global-warming-1
As a member, when I copy and paste from line 1 "Hello World" to line 8 "http://www.globalclimatecampaign.org/ (INTERNATIONAL DEMONSTRATIONS ON CLIMATE-CHANGE)" it posts OK
But, whe I copy from line 1 to line 9 "http://www.campaigncc.org/ (“CAMPAIGN AGAINST CLIMATE-CHANGE”)" I get the above PHP error.
So, I just tried line nine on its own by that Posts OK. I thought it may be the odd double quote charcaters but line 7 has these so that wasn't the issue.
This is very weird - any suggestions!?
I'm going to try to post lines 1 to 9 in the next reply on this topic to see if the re-direct without posting happens.
-
- Posted 3 years ago #
Hello World.
Climate-change and global warming are almost constantly in the news nowadays, as the problems that they present have a noticeable effect on all of us.
The following links will provide you with some relevant information.
http://www.hm-treasury.gov.uk/6520.htm (STERN REVIEW REPORT ON THE ECONOMICS OF CLIMATE CHANGE)
http://www.hm-treasury.gov.uk/stern_review_climate_change.htm (STERN REVIEW SUMMARY, BACKGROUND, IN OTHER LANGUAGES, LINKS ETC.)
http://www.ipcc.ch/ (INTERGOVERNMENTAL PANEL ON CLIMATE CHANGE)
http://www.stopclimatechaos.org/ (“STOP CLIMATE CHAOS” COALITION)
http://www.globalclimatecampaign.org/ (INTERNATIONAL DEMONSTRATIONS ON CLIMATE-CHANGE)
http://www.campaigncc.org/ (“CAMPAIGN AGAINST CLIMATE-CHANGE”)
-
- Posted 3 years ago #
Well that posted OK.
really can't work out what's going on here!
HELP!
-
You must log in to post.