Updating Not Completing

Fixed and closed topics
sgross31
User
Posts: 8
Joined: Sun Apr 12, 2009 4:29 pm

Updating Not Completing

Post by sgross31 » Sun Apr 12, 2009 4:37 pm

Hi,
I'm new to netjukebox. I have followed directions from Maximum PC magazine to set it up, along with xampp. When I am in netjukebox and I click on the configuration tab, then click update, it will start to process everything but then will get stuck on an album. If I remove that specific album from my music directory and restart the update, then it will continue till it gets to the next album that it gets stuck on. There are 4 albums that it gets stuck on, everytime I remove them from my music directory then restart the update, the update will go through and finish. When I say it gets stuck, I mean: right next to where it says Structure & Image, the albums will be processing, then once it gets to one of those 4 specific albums, it stops and stays there. I let it run over night, and it didn't move. Any ideas? If you need more details please ask, I'll try and help.

User avatar
wbartels
netjukebox developer
Posts: 797
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Updating Not Completing

Post by wbartels » Sun Apr 12, 2009 9:31 pm

Nice to see people from Maximum PC :wink:
You can help me fixing the problem.
Can you update again with the albums that gave the problem?
And copy and paste the last few lines from the html source code (right click > view source).

Thanks,

Willem

sgross31
User
Posts: 8
Joined: Sun Apr 12, 2009 4:29 pm

Re: Updating Not Completing

Post by sgross31 » Mon Apr 13, 2009 3:49 am

Thanks for the help...Here are some of the last lines...If you want the whole thing i can do that as well. hope this helps...I updated with all 4 of those albums in the mix...right now it's stuck on the first one, which would be Amorphis - Silent Waters

<tr>
<td valign="top"><img src="skin/Classic/medium_message_error.png" alt=""></td>
<td valign="top"><strong>JavaScript is required</strong><br>
netjukebox &bull; Live @ localhost </td>
</tr>
</table>
</noscript>
<table cellspacing="10" cellpadding="0" class="error">
<tr>
<td valign="top"><img src="skin/Classic/medium_message_error.png" alt=""></td>
<td valign="top"><strong>Signature expired in request:</strong><br>action=update&sign=7gzC8gAGn6SHr4Z69BnV0V6imGWm7WMKUu1Fgs-B</td>

</tr>
</table>
<!-- begin footer -->
</td>
</tr>
<tr class="screen_footer">
<td>| <a href="index.php?authenticate=logout">Logout: admin</a> | <a href="about.php">netjukebox 5.11b</a> | Script execution time: <span id="execution_time">4.0 ms</span> |</td>

</tr>
</table>
</div><!-- end content -->
</body>
</html>
<!-- end of file -->

User avatar
wbartels
netjukebox developer
Posts: 797
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Updating Not Completing

Post by wbartels » Mon Apr 13, 2009 11:43 am

This is not the HTML from the update screen.
You only get this message when trying to update from the exact same URL.
This only happens when using the back button or the reload button from the web browser.

If the update feature also stops when you only have one music file in that problem folder than you can mail me that file.
The E-mail address can be found on http://www.netjukebox.nl/about.php

sgross31
User
Posts: 8
Joined: Sun Apr 12, 2009 4:29 pm

Re: Updating Not Completing

Post by sgross31 » Mon Apr 13, 2009 12:08 pm

I'm not quite sure I understand. I closed my browser opened it up again, went to localhost/netjukebox/users.php then I signed into my admin acount, clicked config, then update. Then once it gets stuck I right click and press view page source (mozilla firefox, latest version) and I still get the same thing I posted earlier. Anything else I should try?

I just used Internet Explorer to try the same thing, and I got a a different code so here it is, this looks more like what you'll be needing.

<script type="text/javascript">document.getElementById('structure').innerHTML="Amon Amarth - Fate of Norns";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Amon Amarth - Once Sent from the Golden Hall";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Amon Amarth - Sorrow Throughout the Nine Worlds EP";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Amon Amarth - The Avenger";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Amon Amarth - The Crusher";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Versus the World - cd1";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Versus the World - cd2";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Amorphis - Privilege of Evil [EP]";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Amorphis - The Karelian Isthmus";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Amorphis - Tales from the Thousand Lakes";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Amorphis - Black Winter Day [EP]";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Amorphis - Elegy";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Amorphis - My Kantele [EP]";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Amorphis - Tuonela";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Amorphis - Am Universum";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Amorphis - Far From the Sun";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Amorphis - Eclipse";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Amorphis - Silent Waters";</script>
<br />
<b>Fatal error</b>: Allowed memory size of 33554432 bytes exhausted (tried to allocate 14155776 bytes) in <b>C:\xampp\htdocs\netjukebox\getid3\getid3\getid3.php</b> on line <b>1298</b><br />

User avatar
wbartels
netjukebox developer
Posts: 797
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Updating Not Completing

Post by wbartels » Mon Apr 13, 2009 12:26 pm

Set the following line from the config.inc.php file temporally to:

Code: Select all

$cfg['image_read_embedded'] = false;
And try to update again.

sgross31
User
Posts: 8
Joined: Sun Apr 12, 2009 4:29 pm

Re: Updating Not Completing

Post by sgross31 » Mon Apr 13, 2009 12:47 pm

I did what you said, and below is what it looks like now. Now when I run the update, it goes, and it gets stuck on the second album that it usually gets stuck on. I will post the last lines of view source, but it does not appear to me as though they will be helpful since it says nothing about errors or anything on the bottom.

Code: Select all

+------------------------------------------------------------------------+
//  | Image                                                                  |
//  +------------------------------------------------------------------------+
//  | $cfg['image_read_embedded'] = false;                                    |
//  | Read embeded APIC or PICTURE image from first media file if no other   |
//  | image is found.                                                        |
//  |                                                                        |
//  | $cfg['image_share'] = true;                                            |
//  | Share image for another forum or website.                              |
//  | See the webinterface for the BB-Code, HTML-Code or URL only.           |
//  |                                                                        |
//  | $cfg['image_share_mode'] = 'mode';                                     |
//  | played: Recently played or streamed album.                             |
//  | new: New album.                                                        |
//  +------------------------------------------------------------------------+
$cfg['image_read_embedded']         = false;

Code: Select all

<script type="text/javascript">document.getElementById('structure').innerHTML="Benighted - Benighted";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Benighted - Identisick";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Benighted - Insane Cephalic Production";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Benighted - Psychose";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Birdflesh - The Night of the Ultimate Mosh";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Black Sabbath - Black Sabbath";</script>

User avatar
wbartels
netjukebox developer
Posts: 797
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Updating Not Completing

Post by wbartels » Mon Apr 13, 2009 1:00 pm

Can you mail me the alphabetic first file from?
"Amorphis - Silent Waters", "Black Sabbath - Black Sabbath" and also the first files from the other problem directory's.
That would be very helpfull.

sgross31
User
Posts: 8
Joined: Sun Apr 12, 2009 4:29 pm

Re: Updating Not Completing

Post by sgross31 » Mon Apr 13, 2009 1:20 pm

I just sent them to you, thanks for all of your help, I appreciate it.

User avatar
wbartels
netjukebox developer
Posts: 797
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Updating Not Completing

Post by wbartels » Mon Apr 13, 2009 1:20 pm

sgross31 wrote:I did what you said, and below is what it looks like now. Now when I run the update, it goes, and it gets stuck on the second album that it usually gets stuck on. I will post the last lines of view source, but it does not appear to me as though they will be helpful since it says nothing about errors or anything on the bottom.

Code: Select all

+------------------------------------------------------------------------+
//  | Image                                                                  |
//  +------------------------------------------------------------------------+
//  | $cfg['image_read_embedded'] = false;                                    |
//  | Read embeded APIC or PICTURE image from first media file if no other   |
//  | image is found.                                                        |
//  |                                                                        |
//  | $cfg['image_share'] = true;                                            |
//  | Share image for another forum or website.                              |
//  | See the webinterface for the BB-Code, HTML-Code or URL only.           |
//  |                                                                        |
//  | $cfg['image_share_mode'] = 'mode';                                     |
//  | played: Recently played or streamed album.                             |
//  | new: New album.                                                        |
//  +------------------------------------------------------------------------+
$cfg['image_read_embedded']         = false;

Code: Select all

<script type="text/javascript">document.getElementById('structure').innerHTML="Benighted - Benighted";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Benighted - Identisick";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Benighted - Insane Cephalic Production";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Benighted - Psychose";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Birdflesh - The Night of the Ultimate Mosh";</script>
<script type="text/javascript">document.getElementById('structure').innerHTML="Black Sabbath - Black Sabbath";</script>
If the problem directory contains a "cd_front.jpg" delete that file and update again with:

Code: Select all

$cfg['image_read_embedded'] = false;

sgross31
User
Posts: 8
Joined: Sun Apr 12, 2009 4:29 pm

Re: Updating Not Completing

Post by sgross31 » Mon Apr 13, 2009 1:31 pm

You're a genius! Thanks a lot!

sgross31
User
Posts: 8
Joined: Sun Apr 12, 2009 4:29 pm

Re: Updating Not Completing

Post by sgross31 » Mon Apr 13, 2009 1:35 pm

Lol got another issue :-( It gets passed the structure and image now, but gets stuck on File Info, here's the code. I'm going to re-send you those files because apparently it does its alphabetizing by the numbers out front.

Code: Select all

<b>Warning</b>:  filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for H:/Maxtor backup/THEGROSSFAMILYC/C/Documents and Settings/Stephan Gross.THEGROSSFAMILYC/My Documents/My Music/Techno/Paul Oakenfold/Great Wall/CD 2/02 Pagan Poetry - Bjo¨rk.mp3 in <b>C:\xampp\htdocs\netjukebox\update.php</b> on line <b>907</b><br />
<script type="text/javascript">document.getElementById('fileinfo').innerHTML="H:/Maxtor backup/THEGROSSFAMILYC/C/Documents and Settings/Stephan Gross.THEGROSSFAMILYC/My Documents/My Music/Metal/Amorphis/2007 - Silent Waters/01 Weaving the Incantation.mp3";</script><br />
<b>Fatal error</b>:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 14946020 bytes) in <b>C:\xampp\htdocs\netjukebox\getid3\getid3\module.tag.id3v2.php</b> on line <b>282</b><br />

User avatar
wbartels
netjukebox developer
Posts: 797
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Updating Not Completing

Post by wbartels » Tue Apr 14, 2009 10:37 am

The 3 files you have send me work without any problem on my configuration.
The embedded images in these files are relatively big, up to 3,76 MB (3.953.603 bytes).
When I lowered the memory_limit in the php ini I got a similar error message:

Code: Select all

<b>Fatal error</b>:  Allowed memory size of 10485760 bytes exhausted (tried to allocate 3954590 bytes) in <b>D:\Internet\live.netjukebox.nl\getid3\getid3\module.tag.id3v2.php</b> on line <b>282</b><br />
Check out if the memory_limit isn't set to low in the php.ini, Use the default memory_limit setting in the php.ini:

Code: Select all

memory_limit = 128M      ; Maximum amount of memory a script may consume (128MB)

sgross31
User
Posts: 8
Joined: Sun Apr 12, 2009 4:29 pm

Re: Updating Not Completing

Post by sgross31 » Wed Apr 15, 2009 1:54 am

could you specify which file I am supposed to change? I found what I believe to be the file, and changed it to 128M but it still didn't work, then tried again with 400M and again it didn't work...the file I changed was C:\xampp\php\php(i can't see the extension, but when I put my cursor over it, it says configuration settings.)...it's getting stuck on the song Weaving the Incantation, it's the last file I sent you. You mentioned me only sending 3 files, but I sent 4. Weaving the Incantation is the last file I sent. Could you check and see if that one works for you or if I am doing something else wrong? And here's the code again in case it's changed.

Code: Select all

<script type="text/javascript">document.getElementById('fileinfo').innerHTML="H:/Maxtor backup/THEGROSSFAMILYC/C/Documents and Settings/Stephan Gross.THEGROSSFAMILYC/My Documents/My Music/Metal/Amorphis/2007 - Silent Waters/01 Weaving the Incantation.mp3";</script><br />
<b>Fatal error</b>:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 14946020 bytes) in <b>C:\xampp\htdocs\netjukebox\getid3\getid3\module.tag.id3v2.php</b> on line <b>282</b><br />

User avatar
wbartels
netjukebox developer
Posts: 797
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Updating Not Completing

Post by wbartels » Wed Apr 15, 2009 9:03 pm

Changes made to the php.ini will be put into effect after rebooting the web server.
I don't have XAMP installed.
If I have the time I will install XAMP in the weekend and test it all out.

Locked