Javascript and you
Re: Javascript and you
Is that what you use to generate the whois listing live, for the AJAX refresh? That's what it pulls from?
Re: Javascript and you
There is something else that is running within the page that is causing this, looks like. You need to check all your break; calls, see if there is one missing. Also, you may need to introduce a call to exit_handler();
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Javascript and you
Damian,
Really want to thank you for sticking with me through this.
[url=http://rmcgirr83.org/mchat/mchat_ajax_mini.js]here is the current js file[/url]
If you wouldn't mind taking a look. It's from taking over the mini chat mod released at phpbb.com but my js skillz are weak and I'm just trying to follow the logic.
It has changed since the last time I code pasted because I was thinking about what you had said about something else already being run...so tried to add the ajax call for the stats within the refresh function of the js file. The result is the same .
FWIW, the php file can be found [url=http://www.rmcgirr83.org/pastebin.php?mode=view&s=8]here[/url].
Really want to thank you for sticking with me through this.
[url=http://rmcgirr83.org/mchat/mchat_ajax_mini.js]here is the current js file[/url]
If you wouldn't mind taking a look. It's from taking over the mini chat mod released at phpbb.com but my js skillz are weak and I'm just trying to follow the logic.
It has changed since the last time I code pasted because I was thinking about what you had said about something else already being run...so tried to add the ajax call for the stats within the refresh function of the js file. The result is the same .
FWIW, the php file can be found [url=http://www.rmcgirr83.org/pastebin.php?mode=view&s=8]here[/url].
Re: Javascript and you
It's more about the PHP file. I checked it directly, and the output included that extra HTML -- somewhere along the line that is getting echoed or something.
Will take a look later -- I have dishes to do.
Will take a look later -- I have dishes to do.
Re: Javascript and you
Odd. That makes me think the JS timer isn't resetting itself now -- you may have caused an issue with JS edits there.
As far as that code goes, just do a diff between my code and yours, and revert back to what you had earlier. That may work out a little better.
As far as that code goes, just do a diff between my code and yours, and revert back to what you had earlier. That may work out a little better.
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Javascript and you
Hey Damian,
Just a shout to let you know got it sorted...really appreciate your help btw.
Thanks.
Just a shout to let you know got it sorted...really appreciate your help btw.
Thanks.
Return to “phpBB Development discussion”
Who is online
Users browsing this forum: No registered users and 35 guests