solved Play list

izhmel
@izhmel
4 years ago
1,323 posts
I cant get playlist to work again it suddenly stop working

{jrCore_media_player type="jrAudio_player_dark" module="jrAudio" field="audio_file" search="profile_quota_id = 1" autoplay="true" order_by="_item_id random" limit="5500" }




--
The Scientist
dubmusic.com
Thanks for any assistance.

updated by @izhmel: 11/06/20 01:34:00PM
michael
@michael
4 years ago
7,717 posts
What is the error in the error log?
izhmel
@izhmel
4 years ago
1,323 posts
The error log is empty
Can I PM you the login so you can check please ?

Thanks


--
The Scientist
dubmusic.com
Thanks for any assistance.
paul
@paul
4 years ago
4,326 posts
This on dubmusic? If so, I have your login and have taken a look and playlists do seem to be working. What page/playlist is not working?


--
Paul Asher - JR Developer and System Import Specialist
izhmel
@izhmel
4 years ago
1,323 posts
paul:
This on dubmusic? If so, I have your login and have taken a look and playlists do seem to be working. What page/playlist is not working?

I used this Code in a module I created "{jrCore_media_player type="jrAudio_player_dark" module="jrAudio" field="audio_file" search="profile_quota_id = 1" autoplay="true" order_by="_item_id random" limit="5500" }

https://www.dubmusic.com/radio/dubmusicstreamingradio" It should have shown up where site news is like it did before
in the module "Dubmusic Streaming Radio" in" item_index.tpl" template


--
The Scientist
dubmusic.com
Thanks for any assistance.
izhmel
@izhmel
4 years ago
1,323 posts
When I place the "jrCore_media_player type '' in skin index.tpl I get a 500 and have to refresh twice the Unable To Process Your Request
The system has encountered an unrecoverable error - please try again shortly ID: 4b2dd7546cc0e101e1c78f75ec4e1ff7
If I delete "jrCore_media_player type '' from skin index.tpl the site loads normal
Please see the attachments
Thanks
er2.jpg
er2.jpg  •  625KB

er1.jpg
er1.jpg  •  352KB




--
The Scientist
dubmusic.com
Thanks for any assistance.
paul
@paul
4 years ago
4,326 posts
I have it working on https://www.dubmusic.com/radio/dubmusicstreamingradio by using this code -

{jrCore_media_player type="jrAudio_player_dark" module="jrAudio" field="audio_file" autoplay="true" search="profile_quota_id = 1" order_by="_item_id random" limit=200}

so maybe try that on the index page.


--
Paul Asher - JR Developer and System Import Specialist
izhmel
@izhmel
4 years ago
1,323 posts
Give Thanks This works ! what was the problem ?

Thanks


--
The Scientist
dubmusic.com
Thanks for any assistance.
izhmel
@izhmel
4 years ago
1,323 posts
If limit exceed 370 it crashes
before I could have the limit to 5000
Any suggestions ?


--
The Scientist
dubmusic.com
Thanks for any assistance.
paul
@paul
4 years ago
4,326 posts
Setting a limit value means that Jamroom pulls from the database all information for all the songs in one go, so a high limit value is going to use a lot of server memory.
I'm guessing that at 370, your server runs out of memory. Check your error logs to see if that is the case.
hth


--
Paul Asher - JR Developer and System Import Specialist
izhmel
@izhmel
4 years ago
1,323 posts
8Gig of ram on the server

text/x-log dubmusic_com.php.error.log ( ASCII text )
[07-Aug-2020 11:13:55 America/Vancouver] PHP Warning: math: parameter 'x' is empty in /home/dubmusic/public_html/dubmusic.com/modules/jrCore-release-6.5.7/contrib/smarty/libs/plugins/function.math.php on line 72
[07-Aug-2020 11:13:59 America/Vancouver] PHP Warning: math: parameter 'x' is empty in /home/dubmusic/public_html/dubmusic.com/modules/jrCore-release-6.5.7/contrib/smarty/libs/plugins/function.math.php on line 72
[07-Aug-2020 11:14:06 America/Vancouver] PHP Warning: math: parameter 'x' is empty in /home/dubmusic/public_html/dubmusic.com/modules/jrCore-release-6.5.7/contrib/smarty/libs/plugins/function.math.php on line 72
[07-Aug-2020 11:15:43 America/Vancouver] PHP Warning: math: parameter 'x' is empty in /home/dubmusic/public_html/dubmusic.com/modules/jrCore-release-6.5.7/contrib/smarty/libs/plugins/function.math.php on line 72
[07-Aug-2020 11:16:29 America/Vancouver] PHP Warning: math: parameter 'x' is empty in /home/dubmusic/public_html/dubmusic.com/modules/jrCore-release-6.5.7/contrib/smarty/libs/plugins/function.math.php on line 72
[07-Aug-2020 11:17:50 America/Vancouver] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2659312 bytes) in /home/dubmusic/public_html/dubmusic.com/modules/jrCore-release-6.5.7/lib/mysql.php on line 702


--
The Scientist
dubmusic.com
Thanks for any assistance.
izhmel
@izhmel
4 years ago
1,323 posts
I increased the PHP memory and I solved the problem

Thanks


--
The Scientist
dubmusic.com
Thanks for any assistance.

Tags