Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 53 of 238  Not logged in ELOG logo
icon5.gif   FCKEditor not working correctly on a Windows server., posted by Marty Jansen on Mon Jul 20 14:45:12 2015 

Hi,

After working many years with previous versions of ELOG, I decided to update to the latest version.
I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. The editor is showing up, but everything is greyed out, execpt for some items on the bottom row. (Style, Lettertype...) and after I do load a preset text form with different colors, the page remains white. The tables and text in the form is showing up.

The previous version with the older editor was working great on the same server.

Any suggestions? 

    icon2.gif   Re: FCKEditor not working correctly on a Windows server., posted by Andreas Luedeke on Mon Jul 20 15:50:56 2015 
Marty Jansen wrote:

I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. [...]

Seriously "IE 1" ??? Javascript was invented in 1995 just before IE 1 came out, I doubt it was supported by IE 1 ;-) I guess it was supposed to read IE 11?

As far as I know the Javascript code of the CKeditor runs on the client, I would not expect the server to be the culprit. I would first try a different browser, then check if the ELOG installation was complete (check for warnings?)

Do you have a Javascript error console in your browser? It should tell you something about what is going wrong.

Cheers, Andreas

       icon2.gif   Re: FCKEditor not working correctly on a Windows server., posted by Marty Jansen on Mon Jul 20 17:09:01 2015 

Sorry for the typo,of course I meant IE 11.

I do get on "Error on page" error. After switching on the developer tools, I get the following output:

{exception} The value of the property 'dndInit' is null or undefined, not a Function object. I get this error when I trying to make a new entry.

If I use ELOG version 2.9.2-2455 it all works fine, but that version has an different editor.

 

Marty.

Andreas Luedeke wrote:
Marty Jansen wrote:

I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. [...]

Seriously "IE 1" ??? Javascript was invented in 1995 just before IE 1 came out, I doubt it was supported by IE 1 ;-) I guess it was supposed to read IE 11?

As far as I know the Javascript code of the CKeditor runs on the client, I would not expect the server to be the culprit. I would first try a different browser, then check if the ELOG installation was complete (check for warnings?)

Do you have a Javascript error console in your browser? It should tell you something about what is going wrong.

Cheers, Andreas

 

          icon2.gif   Re: FCKEditor not working correctly on a Windows server., posted by Marty Jansen on Tue Jul 21 09:10:25 2015 

Another thing appeared in the IE message ribbon at the bottom before it states "Error on page" . I do get a message that ELOG is trying to download data from http://latex.codecogs.com/css/equation-embedde.css.....
Well, this server has no internet connection and will not get an internet connection.
Is there a way around this issue? I do not want to use an equation editor

Marty

Marty Jansen wrote:

Sorry for the typo,of course I meant IE 11.

I do get on "Error on page" error. After switching on the developer tools, I get the following output:

{exception} The value of the property 'dndInit' is null or undefined, not a Function object. I get this error when I trying to make a new entry.

If I use ELOG version 2.9.2-2455 it all works fine, but that version has an different editor.

 

Marty.

Andreas Luedeke wrote:
Marty Jansen wrote:

I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. [...]

Seriously "IE 1" ??? Javascript was invented in 1995 just before IE 1 came out, I doubt it was supported by IE 1 ;-) I guess it was supposed to read IE 11?

As far as I know the Javascript code of the CKeditor runs on the client, I would not expect the server to be the culprit. I would first try a different browser, then check if the ELOG installation was complete (check for warnings?)

Do you have a Javascript error console in your browser? It should tell you something about what is going wrong.

Cheers, Andreas

 

 

             icon2.gif   Re: FCKEditor not working correctly on a Windows server., posted by Andreas Luedeke on Tue Jul 21 14:26:03 2015 

I think I remember that you can savely ignore the warning message, as long as you don't try to use the equation editor. But I haven't tested it myself; my servers can access the internet - although from behind firewall.

You should be able to configure the CKeditor with some configuration file: what plugins are to be included etc. But I haven't done it myself yet.

Marty Jansen wrote:

Another thing appeared in the IE message ribbon at the bottom before it states "Error on page" . I do get a message that ELOG is trying to download data from http://latex.codecogs.com/css/equation-embedde.css.....
Well, this server has no internet connection and will not get an internet connection.
Is there a way around this issue? I do not want to use an equation editor

Marty

Marty Jansen wrote:

Sorry for the typo,of course I meant IE 11.

I do get on "Error on page" error. After switching on the developer tools, I get the following output:

{exception} The value of the property 'dndInit' is null or undefined, not a Function object. I get this error when I trying to make a new entry.

If I use ELOG version 2.9.2-2455 it all works fine, but that version has an different editor.

 

Marty.

Andreas Luedeke wrote:
Marty Jansen wrote:

I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. [...]

Seriously "IE 1" ??? Javascript was invented in 1995 just before IE 1 came out, I doubt it was supported by IE 1 ;-) I guess it was supposed to read IE 11?

As far as I know the Javascript code of the CKeditor runs on the client, I would not expect the server to be the culprit. I would first try a different browser, then check if the ELOG installation was complete (check for warnings?)

Do you have a Javascript error console in your browser? It should tell you something about what is going wrong.

Cheers, Andreas

 

 

 

                icon2.gif   Re: FCKEditor not working correctly on a Windows server., posted by Andreas Luedeke on Tue Jul 21 14:59:19 2015 

Okay, it is very easy: just edit "scripts/ckeditor-config.js" in the installation directory and remove the two references of "eqneditor". Any new browser session will not have the equation editor anymore.

Andreas Luedeke wrote:

I think I remember that you can savely ignore the warning message, as long as you don't try to use the equation editor. But I haven't tested it myself; my servers can access the internet - although from behind firewall.

You should be able to configure the CKeditor with some configuration file: what plugins are to be included etc. But I haven't done it myself yet.

Marty Jansen wrote:

Another thing appeared in the IE message ribbon at the bottom before it states "Error on page" . I do get a message that ELOG is trying to download data from http://latex.codecogs.com/css/equation-embedde.css.....
Well, this server has no internet connection and will not get an internet connection.
Is there a way around this issue? I do not want to use an equation editor

Marty

Marty Jansen wrote:

Sorry for the typo,of course I meant IE 11.

I do get on "Error on page" error. After switching on the developer tools, I get the following output:

{exception} The value of the property 'dndInit' is null or undefined, not a Function object. I get this error when I trying to make a new entry.

If I use ELOG version 2.9.2-2455 it all works fine, but that version has an different editor.

 

Marty.

Andreas Luedeke wrote:
Marty Jansen wrote:

I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. [...]

Seriously "IE 1" ??? Javascript was invented in 1995 just before IE 1 came out, I doubt it was supported by IE 1 ;-) I guess it was supposed to read IE 11?

As far as I know the Javascript code of the CKeditor runs on the client, I would not expect the server to be the culprit. I would first try a different browser, then check if the ELOG installation was complete (check for warnings?)

Do you have a Javascript error console in your browser? It should tell you something about what is going wrong.

Cheers, Andreas

 

 

 

 

          icon2.gif   Re: FCKEditor not working correctly on a Windows server., posted by Andreas Luedeke on Tue Jul 21 14:15:51 2015 

I've browsed the web for the error and apparently it is appearing with a variety of IE versions in combination with certain versions of the CKeditor.

Sorry, I can't help you with the problem: only found problem reports, no fixes. Therefore my advise (for now) would be: either use the old ELOG version or use a different browser. Microsoft anyway announced the end-of-life for IE with Windows 10.

Marty Jansen wrote:

Sorry for the typo,of course I meant IE 11.

I do get on "Error on page" error. After switching on the developer tools, I get the following output:

{exception} The value of the property 'dndInit' is null or undefined, not a Function object. I get this error when I trying to make a new entry.

If I use ELOG version 2.9.2-2455 it all works fine, but that version has an different editor.

 

Marty.

Andreas Luedeke wrote:
Marty Jansen wrote:

I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. [...]

Seriously "IE 1" ??? Javascript was invented in 1995 just before IE 1 came out, I doubt it was supported by IE 1 ;-) I guess it was supposed to read IE 11?

As far as I know the Javascript code of the CKeditor runs on the client, I would not expect the server to be the culprit. I would first try a different browser, then check if the ELOG installation was complete (check for warnings?)

Do you have a Javascript error console in your browser? It should tell you something about what is going wrong.

Cheers, Andreas

 

 

             icon2.gif   Re: FCKEditor not working correctly on a Windows server., posted by Andreas Luedeke on Tue Jul 21 15:02:19 2015 

Just to clarify: I can easily use IE11 to access my 3.1.1 version of ELOG. I run the server on a Linux box (SL6) but I don't think that this makes any difference.

I repeat my guess: ELOG is probably not installed properly on your WIndows server. My suggestion would be to move the old installation to some backup directory and do a clean reinstall. Several files are not overwritten when you just update an existing installation, maybe some of them are too old for the current version of ELOG to work properly.

Andreas Luedeke wrote:

I've browsed the web for the error and apparently it is appearing with a variety of IE versions in combination with certain versions of the CKeditor.

Sorry, I can't help you with the problem: only found problem reports, no fixes. Therefore my advise (for now) would be: either use the old ELOG version or use a different browser. Microsoft anyway announced the end-of-life for IE with Windows 10.

Marty Jansen wrote:

Sorry for the typo,of course I meant IE 11.

I do get on "Error on page" error. After switching on the developer tools, I get the following output:

{exception} The value of the property 'dndInit' is null or undefined, not a Function object. I get this error when I trying to make a new entry.

If I use ELOG version 2.9.2-2455 it all works fine, but that version has an different editor.

 

Marty.

Andreas Luedeke wrote:
Marty Jansen wrote:

I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. [...]

Seriously "IE 1" ??? Javascript was invented in 1995 just before IE 1 came out, I doubt it was supported by IE 1 ;-) I guess it was supposed to read IE 11?

As far as I know the Javascript code of the CKeditor runs on the client, I would not expect the server to be the culprit. I would first try a different browser, then check if the ELOG installation was complete (check for warnings?)

Do you have a Javascript error console in your browser? It should tell you something about what is going wrong.

Cheers, Andreas

 

 

 

    icon2.gif   Re: FCKEditor not working correctly on a Windows server., posted by Marty Jansen on Sat Jul 25 20:28:45 2015 

Sorry for the late reply. I have installed a slightly newer version of Elog, but the results are the same. I do get de the 3 editor bars, but the top 2 are greyed out and the bottom one doesn't do anything if clicked. I have commented out the lines that refer to the online equation editor, but that doesn't help much either. I think I let it rest. The old 2.9.xx version still works great, so we leave it at that.

Thanks anyway for the suggestions

Marty

Marty Jansen wrote:

Hi,

After working many years with previous versions of ELOG, I decided to update to the latest version.
I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. The editor is showing up, but everything is greyed out, execpt for some items on the bottom row. (Style, Lettertype...) and after I do load a preset text form with different colors, the page remains white. The tables and text in the form is showing up.

The previous version with the older editor was working great on the same server.

Any suggestions? 

 

       icon2.gif   Re: FCKEditor not working correctly on a Windows server., posted by Richard Stamper on Tue Oct 13 12:39:14 2015 cogwheel.pngsettings.png

If you are using IE as your browser, the problem may be with that rather than the server. By default IE 11 display intranet sites in a "Compatibility mode" which breaks the FCKEditor in Elog version 3.  Fortunately this mode can be disabled, which is what I have had to advise users here to do.

  • Click on the "cogwheel" and select "Compatibility settings" 
  • Deselect "Display intranet sites in Compatibility view"

Pictures attached

Marty Jansen wrote:

Sorry for the late reply. I have installed a slightly newer version of Elog, but the results are the same. I do get de the 3 editor bars, but the top 2 are greyed out and the bottom one doesn't do anything if clicked. I have commented out the lines that refer to the online equation editor, but that doesn't help much either. I think I let it rest. The old 2.9.xx version still works great, so we leave it at that.

Thanks anyway for the suggestions

Marty

Marty Jansen wrote:

Hi,

After working many years with previous versions of ELOG, I decided to update to the latest version.
I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. The editor is showing up, but everything is greyed out, execpt for some items on the bottom row. (Style, Lettertype...) and after I do load a preset text form with different colors, the page remains white. The tables and text in the form is showing up.

The previous version with the older editor was working great on the same server.

Any suggestions? 

 

 

          icon2.gif   Re: FCKEditor not working correctly on a Windows server., posted by Matthew Sauder on Fri Sep 23 23:38:28 2016 

I know I'm a little late but is there a way to do this from elog? I've tried using the following line in the config but it doesn't seem to work in IE10. I figure if there is a way to modify the <head> before the page loads there could be hope.

Top text = <script>var meta = document.createElement('meta');meta.httpEquiv = "X-UA-Compatible";meta.content = "IE=edge";var head = document.getElementsByTagName('head')[0];head.insertBefore(meta, head.firstChild);</script>

Richard Stamper wrote:

If you are using IE as your browser, the problem may be with that rather than the server. By default IE 11 display intranet sites in a "Compatibility mode" which breaks the FCKEditor in Elog version 3.  Fortunately this mode can be disabled, which is what I have had to advise users here to do.

  • Click on the "cogwheel" and select "Compatibility settings" 
  • Deselect "Display intranet sites in Compatibility view"

Pictures attached

Marty Jansen wrote:

Sorry for the late reply. I have installed a slightly newer version of Elog, but the results are the same. I do get de the 3 editor bars, but the top 2 are greyed out and the bottom one doesn't do anything if clicked. I have commented out the lines that refer to the online equation editor, but that doesn't help much either. I think I let it rest. The old 2.9.xx version still works great, so we leave it at that.

Thanks anyway for the suggestions

Marty

Marty Jansen wrote:

Hi,

After working many years with previous versions of ELOG, I decided to update to the latest version.
I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. The editor is showing up, but everything is greyed out, execpt for some items on the bottom row. (Style, Lettertype...) and after I do load a preset text form with different colors, the page remains white. The tables and text in the form is showing up.

The previous version with the older editor was working great on the same server.

Any suggestions? 

 

 

 

icon5.gif   How do I use Preset Text only when a given topic is selected?, posted by Christina winson on Wed Sep 21 18:58:18 2016 

Hi,

I'm looking to use a template for only a subset of logbook entries. Is there some way to apply a template when a specific topic or category is selected?

Help for the newbie much appreciated.

Christina 

    icon2.gif   Re: How do I use Preset Text only when a given topic is selected?, posted by Andreas Luedeke on Thu Sep 22 09:56:49 2016 
Hi Christina,
You want to use "conditional attributes". See elog:68350 for an example.
Cheers, Andreas
 
Christina winson wrote:

Hi,

I'm looking to use a template for only a subset of logbook entries. Is there some way to apply a template when a specific topic or category is selected?

Help for the newbie much appreciated.

Christina 

 

       icon2.gif   Re: How do I use Preset Text only when a given topic is selected?, posted by Christina Swinson on Thu Sep 22 14:45:17 2016 

Awesome! Thanks Andeas.

Andreas Luedeke wrote:
Hi Christina,
You want to use "conditional attributes". See elog:68350 for an example.
Cheers, Andreas
 
Christina winson wrote:

Hi,

I'm looking to use a template for only a subset of logbook entries. Is there some way to apply a template when a specific topic or category is selected?

Help for the newbie much appreciated.

Christina 

 

 

icon5.gif   notification error services in CentOS 6.5, posted by Banata on Tue Jan 13 04:11:33 2015 elogerror.png

hello, I just upgrade from 2.9 into 3.0.0 in CentOS 6.5

but after upgrade, I can't check elogd services via command line

service elogd status,

always result in missing argument, while it works with httpd or mysqld services and old elogd version.

I try to uninstall and install rom scratch and same result,

Okay I give you screenshoot of that,

you may notice, on check service status and stopping services, error resulted

    icon2.gif   Re: notification error services in CentOS 6.5, posted by Stefan Ritt on Tue Jan 13 10:07:02 2015 

The init script supplied with elog was originally written for Redhat. It seems like CentOS has slightly changed the init daemon management, but I'm not an expert on that, nor do I have CentOS installed. If somebody comes with a fixed elogd.init for CentOS, I'm happy to include that in the distribution.

/Stefan

Banata wrote:

hello, I just upgrade from 2.9 into 3.0.0 in CentOS 6.5

but after upgrade, I can't check elogd services via command line

service elogd status,

always result in missing argument, while it works with httpd or mysqld services and old elogd version.

I try to uninstall and install rom scratch and same result,

Okay I give you screenshoot of that,

you may notice, on check service status and stopping services, error resulted

 

       icon3.gif   Re: notification error services in CentOS 6.5, posted by Darren Hollinrake on Sun Sep 18 03:31:42 2016 elogd_modified

The quick fix I found was to uncomment line 10 in the init.d file. (This was tested on a CentOS 6.8 AWS instance.)

. /etc/rc.d/init.d/functions

This will allow the status command to function properly.

Clean install:

[centos@ip-172-31-51-59 ~]$ service elogd status
status: invalid option: -p
 

After uncommenting line 10:

[centos@ip-172-31-51-59 ~]$ service elogd status
elogd (pid  11438) is running...

When you start elog it still won't show that the service started successfully (No 'OK'). If you go to stop the service, it will give you the proper 'OK' indicating it stopped successfully.

So to fix the missing 'OK' (or 'FAILED') we need to update the start section around line 51 as follows:

          touch /var/lock/subsys/elogd
        echo_success
        else
        echo_failure
        fi
        echo
        ;;
 

I've attached my modified init file which I believe corrects the above issues. I will say though that I'm not a programmer so I won't guarantee it's perfect. I haven't checked to see if CentOS 7 works with this modified version. Just checked it on a CentOS 7.2 AWS instance and it also appears to function correctly.

[root@oceana ~]# systemctl status elogd
● elogd.service - SYSV: ELOG is a weblog with integrated database
   Loaded: loaded (/etc/rc.d/init.d/elogd)
   Active: active (running) since Sun 2016-09-18 22:35:44 UTC; 7s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 2263 ExecStop=/etc/rc.d/init.d/elogd stop (code=exited, status=0/SUCCESS)
  Process: 2275 ExecStart=/etc/rc.d/init.d/elogd start (code=exited, status=0/SUCCESS)
 Main PID: 2277 (elogd)
   CGroup: /system.slice/elogd.service
           └─2277 /usr/local/sbin/elogd -D -c /usr/local/elog/elogd.cfg

Sep 18 22:35:44 oceana elogd[2277]: elogd 3.1.1 built Aug  4 20...0
Sep 18 22:35:44 oceana elogd[2277]: revision
Sep 18 22:35:44 oceana elogd[2277]: Falling back to default gro..."
Sep 18 22:35:44 oceana elogd[2277]: Falling back to default use..."
Sep 18 22:35:44 oceana elogd[2277]: CKeditor detected
Sep 18 22:35:44 oceana systemd[1]: Started SYSV: ELOG is a webl....
Sep 18 22:35:44 oceana elogd[2279]: Falling back to default gro..."
Sep 18 22:35:44 oceana elogd[2279]: Falling back to default use..."
Sep 18 22:35:44 oceana elogd[2277]: ImageMagick detected
Sep 18 22:35:44 oceana elogd[2277]: SSLServer listening on port....
Hint: Some lines were ellipsized, use -l to show in full.

The old SysV style commands ('service elogd start|stop|status') also function correctly.

[root@oceana ~]# service elogd stop
Stopping elogd (via systemctl):                            [  OK  ]
[root@oceana ~]# service elogd start
Starting elogd (via systemctl):                            [  OK  ]

 

Stefan Ritt wrote:

The init script supplied with elog was originally written for Redhat. It seems like CentOS has slightly changed the init daemon management, but I'm not an expert on that, nor do I have CentOS installed. If somebody comes with a fixed elogd.init for CentOS, I'm happy to include that in the distribution.

/Stefan

Banata wrote:

hello, I just upgrade from 2.9 into 3.0.0 in CentOS 6.5

but after upgrade, I can't check elogd services via command line

service elogd status,

always result in missing argument, while it works with httpd or mysqld services and old elogd version.

I try to uninstall and install rom scratch and same result,

Okay I give you screenshoot of that,

you may notice, on check service status and stopping services, error resulted

 

 

          icon2.gif   Re: notification error services in CentOS 6.5, posted by Stefan Ritt on Wed Sep 21 17:23:15 2016 

Ok, I will include this patch in the distribution.

Stefan

Darren Hollinrake wrote:

The quick fix I found was to uncomment line 10 in the init.d file. (This was tested on a CentOS 6.8 AWS instance.)

. /etc/rc.d/init.d/functions

This will allow the status command to function properly.

Clean install:

[centos@ip-172-31-51-59 ~]$ service elogd status
status: invalid option: -p
 

After uncommenting line 10:

[centos@ip-172-31-51-59 ~]$ service elogd status
elogd (pid  11438) is running...

When you start elog it still won't show that the service started successfully (No 'OK'). If you go to stop the service, it will give you the proper 'OK' indicating it stopped successfully.

So to fix the missing 'OK' (or 'FAILED') we need to update the start section around line 51 as follows:

          touch /var/lock/subsys/elogd
        echo_success
        else
        echo_failure
        fi
        echo
        ;;
 

I've attached my modified init file which I believe corrects the above issues. I will say though that I'm not a programmer so I won't guarantee it's perfect. I haven't checked to see if CentOS 7 works with this modified version. Just checked it on a CentOS 7.2 AWS instance and it also appears to function correctly.

[root@oceana ~]# systemctl status elogd
● elogd.service - SYSV: ELOG is a weblog with integrated database
   Loaded: loaded (/etc/rc.d/init.d/elogd)
   Active: active (running) since Sun 2016-09-18 22:35:44 UTC; 7s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 2263 ExecStop=/etc/rc.d/init.d/elogd stop (code=exited, status=0/SUCCESS)
  Process: 2275 ExecStart=/etc/rc.d/init.d/elogd start (code=exited, status=0/SUCCESS)
 Main PID: 2277 (elogd)
   CGroup: /system.slice/elogd.service
           └─2277 /usr/local/sbin/elogd -D -c /usr/local/elog/elogd.cfg

Sep 18 22:35:44 oceana elogd[2277]: elogd 3.1.1 built Aug  4 20...0
Sep 18 22:35:44 oceana elogd[2277]: revision
Sep 18 22:35:44 oceana elogd[2277]: Falling back to default gro..."
Sep 18 22:35:44 oceana elogd[2277]: Falling back to default use..."
Sep 18 22:35:44 oceana elogd[2277]: CKeditor detected
Sep 18 22:35:44 oceana systemd[1]: Started SYSV: ELOG is a webl....
Sep 18 22:35:44 oceana elogd[2279]: Falling back to default gro..."
Sep 18 22:35:44 oceana elogd[2279]: Falling back to default use..."
Sep 18 22:35:44 oceana elogd[2277]: ImageMagick detected
Sep 18 22:35:44 oceana elogd[2277]: SSLServer listening on port....
Hint: Some lines were ellipsized, use -l to show in full.

The old SysV style commands ('service elogd start|stop|status') also function correctly.

[root@oceana ~]# service elogd stop
Stopping elogd (via systemctl):                            [  OK  ]
[root@oceana ~]# service elogd start
Starting elogd (via systemctl):                            [  OK  ]

 

Stefan Ritt wrote:

The init script supplied with elog was originally written for Redhat. It seems like CentOS has slightly changed the init daemon management, but I'm not an expert on that, nor do I have CentOS installed. If somebody comes with a fixed elogd.init for CentOS, I'm happy to include that in the distribution.

/Stefan

Banata wrote:

hello, I just upgrade from 2.9 into 3.0.0 in CentOS 6.5

but after upgrade, I can't check elogd services via command line

service elogd status,

always result in missing argument, while it works with httpd or mysqld services and old elogd version.

I try to uninstall and install rom scratch and same result,

Okay I give you screenshoot of that,

you may notice, on check service status and stopping services, error resulted

 

 

 

icon6.gif   Body Width, posted by Chris Smyth on Mon Sep 12 18:44:09 2016 
How do I make this section Wider or Shorter in the 2.7.8 version?
Maybe I did something to make it shorter? ELCode shows as a full box but plain txt is very short box. 
    icon2.gif   Re: Body Width, posted by Chris Smyth on Mon Sep 12 19:10:03 2016 
> How do I make this section Wider or Shorter in the 2.7.8 version?
> Maybe I did something to make it shorter? ELCode shows as a full box but plain txt is very short box. 

Never mind Found it

In Global set

Message Width = 95
icon5.gif   Windows service settings, posted by christian on Fri Sep 9 10:31:15 2016 

Hello,

I've been successfully using elog as a daemon since several years on a Linux machine. For some reasons recently I had to switch to a Windows 7 machine. Here, setting up the elog daemon doesn't work for me:

(a) running the command:

"...\ELOG\elog.exe" -c "...\ELOG\elogd.cfg"

in a windows shell works perfectly fine - logbook is up and running as set up in the cfg-file.

(b) However, starting the windows service manually (start->control panel->system and security->administrative tools->services) that was set up automatically during installation of elog leads to an error message:

"Error 1053: The service did not respond to the start or control request in a timely fashion"

From the service settings I can verify that the service is running exactly the same command that works in (a).

Could someone please share the windows service settings? Thanks in advance.

Cheers, Christian

    icon2.gif   Re: Windows service settings, posted by Stefan Ritt on Fri Sep 9 11:33:04 2016 

These problems are usaully related to user rights. Try starting the service under a different (maybe admin) user.

Stefan

christian wrote:

Hello,

I've been successfully using elog as a daemon since several years on a Linux machine. For some reasons recently I had to switch to a Windows 7 machine. Here, setting up the elog daemon doesn't work for me:

(a) running the command:

"...\ELOG\elog.exe" -c "...\ELOG\elogd.cfg"

in a windows shell works perfectly fine - logbook is up and running as set up in the cfg-file.

(b) However, starting the windows service manually (start->control panel->system and security->administrative tools->services) that was set up automatically during installation of elog leads to an error message:

"Error 1053: The service did not respond to the start or control request in a timely fashion"

From the service settings I can verify that the service is running exactly the same command that works in (a).

Could someone please share the windows service settings? Thanks in advance.

Cheers, Christian

 

       icon2.gif   Re: Windows service settings, posted by christian on Fri Sep 9 13:17:36 2016 

Hi Stefan,

you were right - running the service by an authorized user solved the problem.

Thanks a lot.

Cheers, Christian

Stefan Ritt wrote:

These problems are usaully related to user rights. Try starting the service under a different (maybe admin) user.

Stefan

christian wrote:

Hello,

I've been successfully using elog as a daemon since several years on a Linux machine. For some reasons recently I had to switch to a Windows 7 machine. Here, setting up the elog daemon doesn't work for me:

(a) running the command:

"...\ELOG\elog.exe" -c "...\ELOG\elogd.cfg"

in a windows shell works perfectly fine - logbook is up and running as set up in the cfg-file.

(b) However, starting the windows service manually (start->control panel->system and security->administrative tools->services) that was set up automatically during installation of elog leads to an error message:

"Error 1053: The service did not respond to the start or control request in a timely fashion"

From the service settings I can verify that the service is running exactly the same command that works in (a).

Could someone please share the windows service settings? Thanks in advance.

Cheers, Christian

 

 

icon5.gif   error message "Command Config is not allowed" after registering, posted by Mark Bergman on Fri Oct 21 01:09:54 2011 

After registering, elog displays a page with the message:

     Error: Command "Config" is not allowed for user ""

However, the registration is successful. This causes confusion, and results in users registering multiple times.

 

In the elogd.conf file, I have the directive:

     Allow Config = bergman

 

Any suggestions?

    icon2.gif   Re: error message "Command Config is not allowed" after registering, posted by Mark Bergman on Wed Feb 15 17:13:08 2012 

Mark Bergman wrote:

After registering, elog displays a page with the message:

     Error: Command "Config" is not allowed for user ""

However, the registration is successful. This causes confusion, and results in users registering multiple times.

 

In the elogd.conf file, I have the directive:

     Allow Config = bergman

 

Any suggestions?

 I loathe the idea of 'bumping' up one's own posting, but here I go...

 

Has anyone seen this issue, or have any solution? We've got people who register 8 or more times, since they see the "Error" message with each registration.

    icon2.gif   Re: error message "Command Config is not allowed" after registering, posted by Mark Bergman on Wed Apr 2 19:17:31 2014 

Mark Bergman wrote:

After registering, elog displays a page with the message:

     Error: Command "Config" is not allowed for user ""

However, the registration is successful. This causes confusion, and results in users registering multiple times.

 

In the elogd.conf file, I have the directive:

     Allow Config = bergman

 

Any suggestions?

 

Is anyone else seeing this? It's very confusing to new users.

 

    icon2.gif   Re: error message "Command Config is not allowed" after registering, posted by Mark Bergman on Tue Sep 6 20:09:07 2016 elogd.c.patch

 

Mark Bergman wrote:

After registering, elog displays a page with the message:

     Error: Command "Config" is not allowed for user ""

However, the registration is successful. This causes confusion, and results in users registering multiple times.

 

In the elogd.conf file, I have the directive:

     Allow Config = bergman

 

Any suggestions?

 

Well, 5 years after opening this issue, with no responses here, I finally got into the source code and fixed it.

The problem seems to be if eLog is configured to prohibit users (non-administrators) from the "Config" option...but on the initial self-registration, the code goes to the Config screen for the user anyway...resulting in the false error message.

So, I [badly] hacked eLog to fix that, add some debugging/log messages, and to correct a typo.

Attached is the patch against release 3.1.1-1. Try not to cringe too much at my code. :)

Entry   Hilight code, posted by Daniel Sajdyk on Tue Sep 6 13:29:03 2016 

Hello :)

Is there any way to highlight code (for example php, SQL) in logs entries?

Best Regards

Daniel Sajdyk

icon3.gif   New elog version 3.1.2, posted by Stefan Ritt on Mon Sep 5 10:31:02 2016 

A new version 3.1.2 of elog has been released today and can be retrieved through the normal download section. Since it fixes some vulnerabilities, it is recommended to update to this version.

Stefan

ELOG V3.1.5-3fb85fa6