Unable to post to Shoutbox

Support and questions regarding the shoutbox can be asked here.

Please stay ontopic and open a new topic instead hijacking other topics.
NeruAmhran
Posts: 5
Joined: Fri Jun 05, 2015 3:42 pm

Unable to post to Shoutbox

Postby NeruAmhran » Fri Jun 05, 2015 3:52 pm

Hi Paul!

First off I would like to say that I appreciate your efforts in this project and would like to thank you for allowing us to use it.

Thanks!

Ok, so here's my issue.

I installed my shoutbox without issues and have it showing up with proper perms and it's wonderful to see it there. (currently it's in testing so only Admin accounts can see it.) However, if someone tries to post a message to it, the little status wheel spins and nothing happens. I have checked via the chrome development console and the following error appears:

Uncaught TypeError: Cannot use 'in' (jquery.min.js?assets_version=3:2) operator to search for '30487' in <!DOCTYPE html>

So a bit of google searching later and I'm at a bit of a loss.

So here's the relevant data:

website: knit-purl-binary.com
It's a phpbb setup running on an nginx webserver within debian Jessie.

If you need an account I can create one at your request.

Paul
Site Admin
Posts: 118
Joined: Sat Nov 08, 2014 12:06 pm

Re: Unable to post to Shoutbox

Postby Paul » Sat Jun 06, 2015 1:21 pm

Did you modify the included jquery from phpBB?

NeruAmhran
Posts: 5
Joined: Fri Jun 05, 2015 3:42 pm

Re: Unable to post to Shoutbox

Postby NeruAmhran » Mon Jun 08, 2015 12:29 pm

Not that I am aware of. How would you like me to test this?

Paul
Site Admin
Posts: 118
Joined: Sat Nov 08, 2014 12:06 pm

Re: Unable to post to Shoutbox

Postby Paul » Mon Jun 08, 2015 12:32 pm

What is your board URL?

NeruAmhran
Posts: 5
Joined: Fri Jun 05, 2015 3:42 pm

Re: Unable to post to Shoutbox

Postby NeruAmhran » Mon Jun 08, 2015 1:13 pm

knit-purl-binary.com
I'm working on getting you an account set up too.

Paul
Site Admin
Posts: 118
Joined: Sat Nov 08, 2014 12:06 pm

Re: Unable to post to Shoutbox

Postby Paul » Mon Jun 08, 2015 2:10 pm

There is some issue with your app.php, this is not a issue caused by the shoutbox, all extensions (And if phpBB core would use controllers the core as well) will have a issue with. This page (http://knit-purl-binary.com/app.php/ajaxshoutbox/getAll ) should not return the board index, it should return a list of shoutbox posts.
You will need to configure your webserver to support PATH_INFO and/or enable and configure the rewrite module.

NeruAmhran
Posts: 5
Joined: Fri Jun 05, 2015 3:42 pm

Re: Unable to post to Shoutbox

Postby NeruAmhran » Mon Jun 08, 2015 2:13 pm

Awesome! Thank you for taking a look at the issue! I'll let you know how it turns out!

NeruAmhran
Posts: 5
Joined: Fri Jun 05, 2015 3:42 pm

Re: Unable to post to Shoutbox

Postby NeruAmhran » Mon Jun 08, 2015 5:22 pm

Paul wrote:There is some issue with your app.php, this is not a issue caused by the shoutbox, all extensions (And if phpBB core would use controllers the core as well) will have a issue with. This page (http://knit-purl-binary.com/app.php/ajaxshoutbox/getAll ) should not return the board index, it should return a list of shoutbox posts.
You will need to configure your webserver to support PATH_INFO and/or enable and configure the rewrite module.


It turns out the easiest solution was to configure nginx to use PATH_INFO. Thank you for the support!

craig
Posts: 1
Joined: Wed Jul 15, 2015 2:18 pm

Re: Unable to post to Shoutbox

Postby craig » Wed Jul 15, 2015 2:21 pm

I had the same issue in this thread, which I resolved following the steps here: http://kbeezie.com/php-self-path-nginx/

Now when I try to use the shoutbox I get an ajax error bad gateway. Any idea what's wrong?

Paul
Site Admin
Posts: 118
Joined: Sat Nov 08, 2014 12:06 pm

Re: Unable to post to Shoutbox

Postby Paul » Sat Jul 18, 2015 7:48 am

That sounds like a wrongly configured webserver. The extension doesn't return bad gateways. Try looking in your error log to see if there is anything in there.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 4 guests