spacer
spacer search

SwissCenter

Search
spacer
Main Menu
Home
Documentation + FAQ
Screenshots
Downloads
Forums
Bug Tracking
History
Login
Username

Password

Remember me
?
No account yet?

Locations of visitors to this page

 
Home arrow Forums

SwissCenter Forums  


Synology Linux: “shell_exec()” and “exec() problem - 2008/08/03 13:56 NOTE: This is a new thread based upon Joe’s post Re: TVDb on Synology (Linux) - 2008/08/03 10:12

Hi Joe,


Joe wrote:I would like to mention that changing the shell_exec with the exec on my DS207+ leads to endless, multiple media searches, when I manually start to refresh the media library.
Well, I’m not encountering this type of problem, but in my system a media refresh from the “search for new media”-menu in the config screen doesn’t work at all. However, if I start from there a media refresh followed by a manual “http://<server_ip>:<port>/media_search.php” in my browser it does work smoothly. For some reason the file media_search.php isn’t called. So far I couldn’t find out the reason.

Joe wrote: I therefore now use your other suggestion, what you proposed on the Synology.NL forum, simply to "hard code":
Code:

 function wget_location()  {  if (is_windows())  return os_path(SC_LOCATION.'ext/wget/wget.exe');  else  return $location'/usr/syno/bin/php'; } 



I’m note sure I fully understand the hard coded path as in my system function “wget” is located in ‘/usr/syno/bin/’ in stead of ‘/usr/syno/bin/php/’. I tried both hard coded paths (to be sure), but the only result was that I couldn’t update my RSS feeds from my TV anymore.

Therefore I think we shouldn’t try to avoid function exec(), but I suggest we find the reason why function “media search” isn't called automatically.

Hope this makes sense, regards, Klaas

-----------------------------------------------------------------------------
SwissCenter 1.20.1
Simese 1.40 / PHP 4.4.4 / MySQL 4.0.21 / Windows XP
Apache 2.2.8 / PHP 5.2.6 / MySQL 5.0.51b / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.0-0637
Pinnacle SC200
  | | The administrator has disabled public write access.

      Topics Author Date
    thread link
Synology Linux: “shell_exec()” and “exec() problem
klaasvaak 2008/08/03 13:56
    thread link
thread linkthread link Re: Synology Linux: “shell_exec()” and “exec() pro
Joe_999 2008/08/04 14:19
    thread link
thread linkthread linkthread link Re: Synology Linux: “shell_exec()” and “exec() pro
klaasvaak 2008/08/04 15:06
    thread link
thread linkthread linkthread linkthread link Re: Synology Linux: “shell_exec()” and “exec() pro
Joe_999 2008/08/04 15:37
    thread link
thread linkthread link Re: Synology Linux: “shell_exec()” and “exec() pro
Joe_999 2008/08/09 05:36
    thread link
thread linkthread linkthread link Re: Synology Linux: “shell_exec()” and “exec() pro
Pernod 2008/08/09 07:47
    thread link
thread linkthread linkthread linkthread link Re: Synology Linux: “shell_exec()” and “exec() pro
BABACHAN 2008/09/26 16:18
    thread link
thread linkthread linkthread linkthread linkthread link Re: Synology Linux: “shell_exec()” and “exec() pro
BABACHAN 2008/09/26 16:19
    thread link
thread linkthread linkthread linkthread linkthread linkthread link Re: Synology Linux: “shell_exec()” and “exec() pro
Pernod 2008/09/26 16:45
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread link Re: Synology Linux: “shell_exec()” and “exec() pro
klaasvaak 2008/09/27 03:18
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread linkthread link Re: Synology Linux: “shell_exec()” and “exec() pro
klaasvaak 2008/11/08 11:34
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread linkthread linkthread link Re: Synology Linux: “shell_exec()” and “exec() pro
Pernod 2008/11/08 11:39
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread linkthread linkthread linkthread link Re: Synology Linux: “shell_exec()” and “exec() pro
klaasvaak 2008/11/08 12:04
spacer
 

Screenshots

www.flickr.com
This is a Flickr badge showing public photos from swisscenter. Make your own badge here.


 

Mambo is Free Software released under the GNU/GPL License.
spacer