bobbo
User
| Posts: 212 |   |
 

|
Issues with SC on low memory NAS - restarted - 2009/02/18 06:49
Rob/Nigel Not sure what happend but the old thresd for htis is no longer assinged to a forum... So if its ok ill start it again
i have finaly had time to look at this agin, maily bvecause my EVA hung and i had to hard rest it now it wont even work with my index.html wokr around. SO i added a load of logiing staments to my index,php and did some more testing.
Here is the log...
| Code: | [2009.02.18 11:36:19] EVA2: playlist.php
[2009.02.18 11:36:19] EVA3: users.php
[2009.02.18 11:36:19] EVA4: file.php
[2009.02.18 11:36:19] EVA5: patching.php
[2009.02.18 11:36:19] EVA6: filter.php
[2009.02.18 11:36:19] EVA7: messages.php
[2009.02.18 11:36:19] EVA8: mediaexists.php
[2009.02.18 11:36:19] EVA9: menu
[2009.02.18 11:36:19] EVA9.1: patches
[2009.02.18 11:36:19] SQL> select value from system_prefs where name='DATABASE_PATCH'
[2009.02.18 11:36:19] SQL> select value from system_prefs where name='PLAYLIST_AUTOLOAD'
[2009.02.18 11:36:19] EVA9.2: playlist
[2009.02.18 11:36:19] SQL> SELECT name,user_id FROM users WHERE pin IS NULL
[2009.02.18 11:36:19] SQL> SELECT count(*) FROM users WHERE user_id=1 AND pin IS NULL
[2009.02.18 11:36:19] SQL> select count(*) from system_prefs where name='LAST_USER' and value='1'
[2009.02.18 11:36:19] SQL> select value from system_prefs where name='USER_TIMEOUT'
[2009.02.18 11:36:19] SQL> SELECT pin FROM users WHERE user_id=1
[2009.02.18 11:36:19] SQL> select value from user_prefs where user_id = 1 and name='STYLE'
|
and here is the section of code it gets stuck on ..
| Code: | if ( !isset($_SESSION["playlist_autoloaded"]) && get_sys_pref('PLAYLIST_AUTOLOAD','')!=='' )
{
$fsp = get_sys_pref('PLAYLIST_AUTOLOAD');
$name = file_noext(basename($fsp));
$tracks = load_pl($fsp, $failed);
set_current_playlist($name, $tracks);
$_SESSION["playlist_autoloaded"] = 'yes';
}
send_to_log(9,"EVA9.2: playlist","");
/**
* Output the page header immediately, as it performs the authentication check and will redirect
* the user to the "change_user" screen if there are multiple users to choose from or a password
* is required.
* If an image menu and there are any missing onFocus images then use FocusColor.
*/
page_header( str('MAIN_MENU'),'','',1,false,'','PAGE_INDEX');
send_to_log(9,"EVA9.21: header","");
|
It never gets to EVA9,21 or beyond.. i could not track down what it was doing.. suggestions?
cheers
rob
Player: EVA700 Server1: Windows Vista PC Server2: Device: Buffalo LS Pro NAS OS: Freelink Debian etch Web Server: lighttpd 1.4.13 MYSql: v5.0.30-Debian_3 PHP: v5.2.0-8+etch11 |