Due to a “redeclare”-error (see here it’s impossible to access the SwissCenter config screen. As such this is not a problem as the entire SwissCenter DB can be filled using the “mysql_send.php”-script.
However, by doing so the SwissCenter “media directory” with all symbolic links to the media files is not created. This causes problems with the playback of video files (and probably everything that is not played through /stream.php) – see here.
Is there a way to create the media directory without making use of the config screen?
Regards, Klaas ----------------------------------------- SwissCenter 1.19.2 Simese 1.40 & Apache 2 / PHP 5.2.0 Windows XP & Linux Synology 2.6.15 Synology DS107+ (128) Pinnacle SC200
| | The administrator has disabled public write access.
admin
Admin
Posts: 1542
Re: media directory problem - 2008/03/23 08:10In the post you mentioned you are correct that that the location_id of the media_locations table matches the number of the symbolic link.
To be honest, the best thing you could do is to change your PHP version - either upgrade it or downgrade it... that redeclare bug in 5.2.0 seems to be causing a lot of problems! Player : Pinnacle Showcenter 200 and 1000 (wired ethernet) Server : Windows XP Pro running on an Athlon XP 2200, 768 Mb RAM, 1.8 Tb storage.
| | The administrator has disabled public write access.
klaasvaak
User
Posts: 464
Re: media directory problem - 2008/03/23 16:42Thanks for the reply, although I expected it, I was hoping for another answer. Well, I have to wait until Synology updates the PHP-version. I cannot do this myself as it's part of the DS-firmware.
regards, Klaas ----------------------------------------- SwissCenter 1.19.2 Simese 1.40 & Apache 2 / PHP 5.2.0 Windows XP & Linux Synology 2.6.15 Synology DS107+ (128) Pinnacle SC200
| | The administrator has disabled public write access.
klaasvaak
User
Posts: 464
Re: media directory problem - 2008/03/23 19:33While waiting for Synology, is there no way to create the "media directory" without the SwissCenter config screen? Eg, by triggering one of the existing PHP-scripts manually or with a script ouside SwissCenter?
regards, Klaas ----------------------------------------- SwissCenter 1.19.2 Simese 1.40 & Apache 2 / PHP 5.2.0 Windows XP & Linux Synology 2.6.15 Synology DS107+ (128) Pinnacle SC200
| | The administrator has disabled public write access.
klaasvaak
User
Posts: 464
Re: media directory problem - 2008/04/06 15:28Still wresting with this issue. I created manually the symbolic links in the “media directory” pointing at my media directories. Also I made sure the SwissCenter DB contains the correct paths.
For some reason SwissCenter does accept the symbolic links in the “media directory” when created with the config screen, while manually created symbolic links are marked as invalid links.
What does the config screen that’s not done manually (the SwissCenter DB and symbolic links are in both cases identical)? Has to something to do with rights?
Who can help me out? regards, Klaas ----------------------------------------- SwissCenter 1.19.2 Simese 1.40 & Apache 2 / PHP 5.2.0 Windows XP & Linux Synology 2.6.15 Synology DS107+ (128) Pinnacle SC200
| | The administrator has disabled public write access.
klaasvaak
User
Posts: 464
Re: media directory problem - 2008/05/29 14:26No one's got the cure, too bad
However, I've been able to overcome the problem to link up to the config screen through its direct path
Code:
http://synology/svr/swiss/config/
in stead of the virtual host path
Code:
http://synology:8050/config/
Although it doesn't solve the problem and I don't have a clue why it's working, it does: the config screen can be accessed and the media directory is properly created by SwissCenter after entering the media locations.
regards, Klaas -----------------------------------------
SwissCenter 1.20.1
Simese 1.40 & Apache 2 / PHP 5.2.0
Windows XP & Linux Synology 2.6.15
Synology DS107+ (128)
Pinnacle SC200
| | The administrator has disabled public write access.
Joe_999
User
Posts: 83
Re: media directory problem - 2008/05/30 16:04Hi Klaas,
probably I misunderstand your problem, but the config screen on SC 1.20 (1.20.1) works fine on my DS207+ with FW 5.98 after I applied your installation hints (especially what you recommended to enable the "play now" screen).
I didn´t have to create any symbolic links manually!
Hopefully this information will be of help for you to locate the failure.
Regards
JoeClients: Popcorn A-100, Mozilla Firefox on MS Vista Business SP1.0 Media storage on NAS: Synology DS207+ 1st SC 1.21.1 SVN1117 installed on DS207+ with FW 7.22 utilizing: Apache 2.2.8 (Unix) mod_ssl/2.2.8, MySQL 5.0.51b, OpenSSL 0.9.8g, PHP 5.2.6 2nd SC 1.21.1 SVN1117 installed on WIN-XP, Simese 2.07, PHP 4.4.4, mySQL 4.0.21 GbE network with Zyxel GS-108A PCH-A100 connected via HDMI in 1920x1080p to display.
| | The administrator has disabled public write access.
klaasvaak
User
Posts: 464
Re: media directory problem - 2008/05/31 08:19Hi Joe,
The "redeclare" problem has something to do with a bug in PHP 5.2.0. It may cause, but not pe se, "redeclare" problems. Don't know what's triggering the bug, but it probably will be solved when Synology upgrades the DS PHP version.
regards, Klaas ----------------------------------------- SwissCenter 1.20.1 Simese 1.40 & Apache 2 / PHP 5.2.0 Windows XP & Linux Synology 2.6.15 Synology DS107+ (128) Pinnacle SC200
| | The administrator has disabled public write access.