PDA

View Full Version : Am I missing the Plugins section on web UI?



kbelinski
2005-08-26, 22:42
Hi,
I wanted to install a plugin (http://www.herger.net/slim-plugins/detail.php?nr=461&kategorie=slim-plugins) yesterday. The install was not successful. I followed the instructions to unzip the content into the Plugins directory. Restarted the server. The server did not seem to be able to detect the new plugin. According to the instruction there were suppose to be a new menu item under the Plugins section. My main web UI does not even have a Plugins section, let alone the new menu item.

See attached for a screen capture of the main web UI on my WinXP PC. I appreciate if you could share a screen capture of your web UI and show me where the Plugins section suppose to be. Thanks.

mac
2005-08-26, 23:19
I think you need to navigate to the Server Settings page to see the plug-ins installed on your server.

kbelinski
2005-08-27, 01:10
The Server Settings -> Plugins did not even pick up the new Plugins. I checked files and directories access permission. All seems alright. Strange indeed.

Patrick Dixon
2005-08-27, 01:13
Check that the plugin version is compatible with the slimserver version you are running.

I think there are plugin differences between 6.1 and 6.2.

mherger
2005-08-27, 02:00
> I wanted to install a plugin
> (http://www.herger.net/slim-plugins/detail.php?nr=461&kategorie=slim-plugins)
> yesterday. The install was not successful. I followed the instructions
> to unzip the content into the Plugins directory. Restarted the server.
> The server did not seem to be able to detect the new plugin. According

Did it create a Plugins/StringEditor folder or ended the files all up in
the Plugins folder?

If this is ok, try running the server from the command line: shut down the
service, open a command line and go to the SlimServer\server folder and
run "slim.exe -d_plugins". It should tell you why it fails to load the
plugin.

What language are you going to translate it to?

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

kbelinski
2005-08-27, 06:37
Ok. I managed to narrow down the problem and I have some interesting info to share. Thanks Mike for the pointer.

I have always been starting the server manually by using SlimTray. By starting the server this way the Plugins section is missing from the web UI, just like what you have seen in the screen capture at the top of this thread.

I tried starting the server using the command line slim.exe. With or without the d_plugins option, the Plugins section appears in the main web UI along with new menu option for StringEditor. d_plugins output attached.

Is there a bug in SlimTray.exe?

BTW. I am trying to help translating to Simplified Chinese (China) and Traditional Chinese (Taiwan).

mherger
2005-08-27, 08:51
> I tried starting the server using the command line slim.exe. With or
> without the d_plugins option, the Plugins section appears in the main
> web UI along with new menu option for StringEditor. d_plugins output
> attached.

There's nothing special in there, everything seems to be alright. And as
you mentioned it actually seems to be working that way.

The most important difference between starting it manually from the
command line and from the service is access rights: from the command line
it's using your user rights. Started as a service it does by default use
the Windows' own "system" user account. This normally shouldn't be a
problem. But check access rights anyway.

> BTW. I am trying to help translating to Simplified Chinese (China) and
> Traditional Chinese (Taiwan).

I would _love_ a screenshot to put on my homepage :-)

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

kbelinski
2005-08-27, 16:53
The problem certainly sounds like access security related. I checked access rights the first time I saw this problem two days ago. I had checked several times since then. Today, I even went as far as removing all access rights from c:\program files\SlimServer. And assign EVERYONE to have FULL CONTROL on it and its subfolders and files. It did not help. Problem remains unchanged. ie. Starting server using SlimTray would have the Plugins section missing (SYSTEM). Only starting the server via command line (User - admin) would make the Plugins section in web UI visible.

Is there any other thing that I should look at?

BTW. My WinXP set up is fairly standard. I did not implement anything special in regards to access right. All settings should be fairly standard. I wonder how many users out there use the SlimTray to start the server. If you do, have you seen similar problems I am encountering?

mac
2005-08-27, 17:42
I use SlimTray to start my server.

Try changing your plugin settings to load On-The-Fly. That way you can see the debug logging when you install (unzip) the plugin into your slimserver plugins folder. I was experiencing a problem similar to yours and this is the way I was able to debug it. Apparently certain plugin load failures can cause the entire menu item to not appear in the UI. (There may be a problem with exception handling in the code.)


2005-08-23 15:55:57.0198 Requiring Plugins::WebLogger::Plugin plugin.
2005-08-23 15:55:57.0565 Can't require Plugins::WebLogger::Plugin for
Plugins menu: Can't locate Net/FTP.pm in @INC (@INC contains:
C:\Program Files\SlimServer\server\Plugins C:/Program
Files/SlimServer/server C:\Program Files\SlimServer\server\CPAN
C:\Program Files\SlimServer\server\CPAN\arch\5.8.6\MSWin32-x86-multi-thread
C:\Program Files\SlimServer\server\CPAN\arch\5.8.6\MSWin32-x86-multi-thread\auto
C:\Program Files\SlimServer\server\CPAN\arch\5.8\MSWin32-x86-multi-thread
C:\Program Files\SlimServer\server\CPAN\arch\5.8\MSWin32-x86-multi-thread\auto
C:\Program Files\SlimServer\server\CPAN\arch\MSWin32-x86-multi-thread
C:\Program Files\SlimServer\server) at C:/Program
Files/SlimServer/server/Plugins/WebLogger/Plugin.pm line 31.
BEGIN failed--compilation aborted at C:/Program
Files/SlimServer/server/Plugins/WebLogger/Plugin.pm line 31.
Compilation failed in require at (eval 521) line 3.

mherger
2005-08-28, 10:50
> Is there any other thing that I should look at?

Did you try mac's advice? Remove the stringeditor's folder, start the
service, turn on d_plugin, drop the folder back to Plugins and go to the
server settings/plugins. This should rescan the Plugins folder and give
some feedback on plugin initialization.

And then please double-check that you don't have two different slimserver
installations... Sounds stupid, but I really can't imagine why it
shouldn't see the newly added plugin if you're starting that same server
instance.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)