Colin Stearman
Forum Replies Created
-
Forum: Plugins
In reply to: [Frontend Reset Password] Password Format EnhancementSee my response using the Contact Us form on your website.
Forum: Plugins
In reply to: [Single Sign On For TNG] Configuration failsHi,
The plugin is not designed for more than one TNG installation and it must be on the same server as WordPress. As your installation seems non-standard and I am not getting answers to my questions I am going to close this ticket.
Sorry it didn’t work for you.
Forum: Plugins
In reply to: [Single Sign On For TNG] failed ssoHi Martin,
Sorry to hear that the SSO plugin may not working for you. Reading your description of what is happening, it seems that, if you create a user in WordPress, the user also gets created in TNG but when you log into WordPress using that user and the go to TNG you are not logged in. I’m assuming that’s right.
An important point, when you’ve created the user in WordPress and want to give them more than guest access to TNG, make sure you are going into TNG’s Administration Panel, and the User’s area and enabling the TNG account in the Review tab for the person. The plugin won’t log the user into TNG automatically until you approve the account there (which you don’t have to do to give them guest access!). The FAQ section of the plugin says this:
Approving the WordPress registration does NOT approve the TNG one. That must be done separately in TNG’s administrator panel, so that you can decide whether or not to give them TNG access, and if so, at what level, branch, etc.
Assuming you have done the above, here are my questions:
- What version of WordPress are you running?
- You have installed 1.1.2 of the plugin I assume.
- Did you install an earlier version and have it work?
- What version of TNG are you running?
- I am assuming from your details that WordPress and TNG are on the same server?
- Can you give me a basic user test account so I can see first-hand what is going on?
- When you entered /homepages/16/d387908500/htdocs/KFHSWP/tng into the settings in the TNG Installation Location box did it accept it and leave it in the box, or complain that it couldn’t find the TNG installation, and empty the box? My guess is the former.
Once we’ve got these preliminaries out of the way I can look into, and describe to you, how the auto sign-in to TNG so we can figure out what’s going on.
I hope this helps. Please le me know either way.
ColinForum: Plugins
In reply to: [Single Sign On For TNG] Configuration failsAssuming none of the above works and the right version is installed (1.1.2), when you have a critical error, look at phperrors.log (usually in /var/log or one of its subdirectories) and see what the error message is that is related to the error.
Knowing that text would be very helpful.
Colin
Forum: Plugins
In reply to: [Single Sign On For TNG] Configuration failsHi,
I am sorry to hear that. You should not get critical errors no matter what you enter in, so without more details I am hard pressed to explain in.
First, are you sure you have installed the latest plugin version, 1.1.2? An obvious question to ask first and get out of the way.
Second, you told me earlier that your directory structure is the same as mine:
|– familytree (TNG reachable via subdomain of domain 1 oder 2)
|—-config.php
|—-(etc)
|–public_html (WordPress reachable via domain 2)
|—–wp-admin
|—–wp-content
|—–wp_includes
|—–(etc)So am not sure why you are entering ../tngdemo/ in the TNG Installation Field box. Your TNG directory relative to public_html/wp-admin would be ../../familytree, but I do not see that you say you tried that. Does that work? If not what does it do? If it can’t find your TNG installation at the entered path it should just say so and empty the box, not crash.
For example, when I enter an incorrect path to the TNG installation in the settings for my directory structure it just empties the field and puts up a message saying “TNG installation path provided does not exist“. In fact, if I put ANY folder path (or anything else) that is not the TNG path it does that. It does not crash (but the previous version would have!).
It sounds very much like the old plugin version is still running. You might try uninstalling it and re-installing it to see if that makes any difference.
Please try these ideas and let me know. If it persists then the more information about your situation, what you are entering, and the outcome would be very much appreciated.
Thanks,
ColinForum: Plugins
In reply to: [Single Sign On For TNG] Configuration failsI have released V1.1.2 of the plugin which does not make any assumptions related to the directory structure and location of the TNG installation.
Please try updating the plugin and setting the folder to TNG in the configuration screen to ../../familytree (based on your directory structure submitted a few messages ago).
As an aside, I notice in one of your earlier messages that you were setting the path to ../../tng-folder but according to the description of your directory structure it should be ../../familytree. If so, this is likely the reason for the failure in the first place, although the plugin should have behaved more gracefully.
Please let me know if the new version works for you or not, so I can close out this ticket.
Thanks for your patience.
ColinForum: Plugins
In reply to: [Single Sign On For TNG] Configuration failsHi,
I haven’t forgot about this. I am waiting for Strategy11 to fix an apparent bug in their Formidable Forms Registration Add-On which is preventing me from testing my revisions. I am expecting that shortly. My plugin code changes are complete, they just need final testing.
Thanks for your patience,
ColinForum: Plugins
In reply to: [Single Sign On For TNG] Configuration failsHi,
Apparently I am not permitted to ask for shell access, so I withdraw that request.
If your expectation of free software is that it will always work “out of the box” then you are going to be often disappointed. That’s not a realistic expectation of free, non-commercial software. In a non-commercial situation it is not practical to test for every possible environment a user may have. The only way this kind of software can be improved is by a cooperative effort between programmer and user. I have demonstrated my willingness to help you by the timeliness and completeness of my responses.
I am not proposing a custom version of the program, nor would I ever provide one. There is something restrictive in your environment which prevents the standard PHP function “realpath” from returning a canonicalized absolute pathname from the relative one you entered. I have no idea what that could be. I do not see that happening on any servers in our server farm and am therefore unable to reproduce the problem. Other users of the plugin, including the author of TNG, have used the plugin and not reported this issue.
As previously mentioned, I will soon create a new release of the plugin (not a custom version) which avoids the use of the “realpath” function, and also verifies during configuration that the TNG configuration file config.php is actually accessible. But without knowing what’s happening on your system if it is not, then I will be hard pressed to know how to resolve it.
If you’re willing to cooperatively help me to resolve this issue, then I would appreciate your help. But if you just expect a problem to be resolved that I cannot duplicate, without providing insight and assistance regarding what is happening in your specific environment, then there is no more that I can do beyond that stated in the previous paragraph.
I will let you know when the revisions mentioned above are made and issued as a new revision, but it is likely to not happen for several days, for the reasons stated previously.
Colin
Forum: Plugins
In reply to: [Single Sign On For TNG] Configuration failsFurther to my note above, until this issue is resolved I suggest you deactivate the Single Sign On For TNG plugin. This will prevent you getting the “critical error” warning.
Once I understand and repair the issue you will be able to re-activate and update it.
Forum: Plugins
In reply to: [Single Sign On For TNG] Configuration failsHi,
There is nothing to worry about as far as your site is concerned.
So when you enter ../../tng-folder and submit the contents of the box do not change, or become empty?Can you better describe your directory structure? It the TNG folder at the same level as WordPress?
Mine looks like this:
|– familytree
|—-config.php
|—-(etc)
|–wordpress
|—–wp-admin
|—–wp-content
|—–wp_includes
|—–(etc)where “familytree” is the TNG folder and at the same level as the wordpress folder.
Can you document yours in a similar way to help me understand what you have? Pay particular attention to describing where the TNG config.php file is relative to your WordPress folder.Thanks.
ColinForum: Plugins
In reply to: [Single Sign On For TNG] Configuration failsHi Uwe,
I am looking into this. Why can you not use an absolute path to the TNG installation? When you enter ../../tng-folder in the TNG Installation Location box and submit it, what does the contents of the box change to? Does the absolute path make sense to you?
I am looking into allowing relative paths in that box that don’t try change to absolute. More soon.
Forum: Plugins
In reply to: [Single Sign On For TNG] Refining the user’s access by roleHi again Paul,
Not seen a response to the above, but V1.1.0 is released and has the optional ability to create accounts in TNG for specified WordPress users having a given role when an account does not exist there for them already.
This could be effective if you have user accounts on WordPress but are currently using a single account for each one of them at TNG.
I’m going to mark this as closed now. If this release does not what you want, please describe your needs in detail another thread.
Thanks,
ColinForum: Plugins
In reply to: [Single Sign On For TNG] Refining the user’s access by roleHi Paul,
Thanks for your question. Before I can answer properly I need to understand your situation. You say you use a common U/P but is that for the WordPress site or the TNG site?
If you have specific user accounts from everyone in WordPress, and a single common one for TNG then my answer will be different from one common U/P for both.
Assuming multiple WordPress accounts and a single TNG, then what is needed is the ability for my plugin to extract all the WordPress users (possibly by role) and add equivalent TNG accounts. Right now it can’t do that but I will look into it.
But, if you are using a single account for all users, then you would need to add a registration page and have each user register for an account. The plugin will then behave as described below*. This would obviously be more secure, and remove the need to change the account password regularly, but perhaps be a bit onerous for your existing users. Better in the long-run though.
It is worth me describing better how the plugin deals with new WordPress registrations. So here goes:
*When a person applies for an account at the WordPress site an entry for the person is added in both WordPress and TNG, awaiting separate approval. Approving the WordPress registration does NOT approve the TNG one. That must be done separately in TNG so that you can decide whether or not to give them TNG access, and if so, at what level, branch, etc.
In my site I ask the prospective user a number of questions, to help me decide what level of WordPress/TNG access I will give them. Take a look at the registration page at http://www.stearman.com. There are a number of plugins that allow you to add questions to the registration form. Any one should do.
Sorry for being long-winded here but I need to properly understand your situation before contemplating a plugin enhancement.
Cheers,
ColinThanks for fixing the paragraph issue. V1.3.2 now works fine in this area.
However, single quotes in the subject line are still coming out preceded by backslashes, as I reported earlier.
Colin
As of V2.1.10 Rc1 this still has not been addressed. See my original post for details.
Do the developers ever look at this forum?