solved Audio is not streaming

paatie
@paatie
8 years ago
36 posts
Hi Support

Audio streaming has just stopped working on my site. I have used all the JR tools on admin panel and still audio is not playing. If I download the file to my pc then it plays. Everything is green under System core>>tools>>system check.

4 days ago I moved this site from another hosting provider and the audio was not streaming, but after doing a database repair from cpanel then it worked fine but now suddenly 2 days later it stopped and the DB repair is not helping now.

Is there anything else I'm missing? please help.


updated by @paatie: 06/07/17 04:14:24AM
douglas
@douglas
8 years ago
2,797 posts
Without a link to check out we really can't be of much help, other than guessing at what the problem might be.

Are you seeing any thing in the error logs?


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
paatie
@paatie
8 years ago
36 posts
the website is www.mojamusic.co.za, you can try to play any song there. I don't see anything on the error logs
douglas
@douglas
8 years ago
2,797 posts
Looks like you have a javascript error conflicting with the players, have you added any third party scripts?

If so, you might try removing them to see if the players start working again.

Hope this helps!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos

updated by @douglas: 03/03/17 06:41:15AM
paatie
@paatie
8 years ago
36 posts
Nothing new has been added on the site. I have no third party at all on the site is just pure JR modules only.
douglas
@douglas
8 years ago
2,797 posts
Can you send us your admin login so we can check it out. support[at]jamroom[dot]net

I can see the players and player buttons are not working, so something is messed up there.

Thanks!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
michael
@michael
8 years ago
7,772 posts
The cause of the error is:
TypeError: pl.jPlayer is not a function
Its trying to find the jPlayer to play the songs, but that javascript cant be found.

Are you loading any other custom javascript that you have added to that page? try taking that out and see if it works again.
michael
@michael
8 years ago
7,772 posts
For some reason, the jPlayer file is not being included in the main .js library. The issue appears even when the skin is changed.

I'm currently not able to understand why the jPlayer javascript is not included in the main .js file for the site. The module is active.
paatie
@paatie
8 years ago
36 posts
Hi Michael

As indicated before, I have no custom java scripts installed on the site. I have already tried reloading the audio module using the marketplace tools but it didn't fix the problem
michael
@michael
8 years ago
7,772 posts
Do you have access to your servers error logs? via cpanel or some other system. I'm wondering if there is anything in there. Its an unusual situation.
paatie
@paatie
8 years ago
36 posts
@michael yes I do have access to the server logs via cpanel and command terminal, where exactly I should check?
michael
@michael
8 years ago
7,772 posts
not sure. Guessing maybe there might be some reason why part of the .js file that should be there (the player) is not getting into the compiled .js file for the system.

Since the Audio module is enabled and the same issue appears even after changing skins, something is causing the player part of the code to not get included in the main site .js file.

Just never seen this before, so not sure what could be causing it. Hoping for a clue from the error logs.
paatie
@paatie
8 years ago
36 posts
I have checked cpanel error logs see the file attached. Hopefully it will give a clue, I will still keep looking on other logs if there is anything relating to the site.
zip
error log.zip  •  628B

michael
@michael
8 years ago
7,772 posts
thanks for that, thats not it. Nothing in there thats useful. any apache error logs?

I don't think its related, but just trying to eliminate it as a possible thing given that I don't know the cause at the moment.
paatie
@paatie
8 years ago
36 posts
Hi Michael

There are no apache errors on the server. I think the problem is related to the site because I have copied the site to a different server but still no joy. either there are corrupt files or something, of which I need help o how to fix this.
michael
@michael
8 years ago
7,772 posts
If there are corrupt files, you could try re-uploading them via FTP, or via the marketplace reload system:
ACP -> MODULES -> MARKETPLACE -> TOOLS -> RELOAD MODULES -> (select module ) -> RELOAD

Try with the core first, then maybe the audio module. Sorry, been busy today haven't had a chance to test more stuff.
paatie
@paatie
8 years ago
36 posts
Hi Michael

I was looking in the wrong place for the apache logs. Please see the attached file, there definitely are some errors on the server side.
zip
error log1.zip  •  1KB

michael
@michael
8 years ago
7,772 posts
Great! Not sure if that is directly connected to the player situation, but it gives us something to pursue.

This is brian's guide to setting up a server:

Guide: "High performance jamroom...."
https://www.jamroom.net/brian/documentation/guides/1188/high-performance-jamroom-on-digitalocean

This section seams related to the error in the error log:
https://www.jamroom.net/brian/documentation/guides/1202/configuring-apache-with-mod-ruid2

With your server company, do you have a contact point to ask about issues like this or do they leave you on your own to figure out?
paatie
@paatie
8 years ago
36 posts
Hi Michael,

The server is an Amazon EC2 server on a basic account so, basically I'm on my own there is not point of contact. I will go through the guides and see if they help.

Thanks
michael
@michael
8 years ago
7,772 posts
make sure it has all of the requirements turned on:

Docs: "Requirements"
https://www.jamroom.net/the-jamroom-network/documentation/appendix-about-jamroom/774/requirements

I know from the other thread you've ticked of the mb-string issue.
paatie
@paatie
8 years ago
36 posts
I have double checked all the requirements are enabled.
paatie
@paatie
8 years ago
36 posts
I fixed the problem. It was PHP-FPM module on the Cpanel/WHM install that was causing the problems with the site. I removed the PHP-FPM on the site and configured the php.ini file directly on the default php install.
michael
@michael
8 years ago
7,772 posts
how did you figure out that that was the problem?
paatie
@paatie
8 years ago
36 posts
I noticed that PHP-FPM was not enabled on the host that I moved the site from, so after disabling it on the server and did a site repair with repair.php the site started working. But what's still amazing is that the site worked for at least 2 days after the move before it stopped working.

I'm still having fingers crossed that it will stop again after sometime which could prove that the problem was not PHP-FPM
michael
@michael
8 years ago
7,772 posts
GUESS: May have been the caching system keeping it working. If it couldn't update it would just keep showing what it had.

Well done for figuring it out. :)
paatie
@paatie
8 years ago
36 posts
@michael thanks for all your help. Just want you guys at JR to know that it's all appreciated.

Tags