positively4th
User
| Posts: 2 |   |

|
gd error (no background pic) - 2008/09/16 15:05
Dear all,
I recently picked up an old showcenter 1000 and first installed swisscenter on my local server (i.e. on my LAN) . My local server is running ubuntu and everything worked fine.
Now I have installed swisscenter on my remote (WAN) server. After some struggle I managed to get swisscenter to connect to my remote server and after some more php rebuilds it started to work almost ok. However I have a strange problem:
While playing music there is no background image (and also internet radio). I checked the log file and it shows that my showcenter is repeating a request for a background image:
[2008.09.16 12:14:15] ------------------------------------------------------------------------------ [2008.09.16 12:14:15] Page Requested : http://AAA.BBB.CCC.DDD/playing_image.php?session_id=bcb12cee6d758195ce15a906825d68ee&type=.jpg by client (83.254.29.185) [2008.09.16 12:14:16] ------------------------------------------------------------------------------ [2008.09.16 12:14:16] Page Requested : http://AAA.BBB.CCC.DDD/playing_image.php?session_id=bcb12cee6d758195ce15a906825d68ee&type=.jpg by client (83.254.29.185)
where (AAA.BBB. ...) is my remote servers ip.
I went on to investigate the playing_image.php script and it turns out that the now_playing_image() function called on line (+- a small integer) 28
$image = now_playing_image( $tracks[$idx], $prev_info, $next_info, ($idx+1).' / '.count($tracks) );
never returns. Investigating this function in turn shows that the
$image->text(str('NOW_PLAYING'),$title_x, $title_y, $title_text_col, $title_text_size);
call on line (+- a small integer) 166 does not return.
This is as far as I got. I conclude that it must be a problem with php and or gd. I have tried compiling php with both gd external and "internal" not it does not help. A phpinfo(-1) dump is given below.
I have a few other problems which might be related: 1) Config ystem Tests does not work at all (no output) 2) Config:Miscellaneous, saving setting does not work at all (no output, and no change) 3) It appears that swedish characters are not displayed properly
My guess is that their is a misconfiguration of php, the character set in mysql is wrong. The latter is just I wild guess. Somebody that can help me?
phpinfo dump is attached.
regards
P4th
-- Showcenter 1000 on Ubuntu (local) and Gentoo (remote) |