Skip to main content Help Control Panel

YACS CMS : Open source !

Community «   Discussion forum «   Bug tracker «  

Self-registration does not seem to work.

Luksich, Bernard -- on Mar. 24 2005
Site reports 'self-registration' disabled when it should not be.
We are trying out your software to support our new site. Things look great be we seem to have trouble with 'self-registration'

When a person clicks on the register button they get the message...

Self-registration is not allowed...

We have set the configuration to allow for anyone to register (or at least we think we have obviously something is wrong)

We have set 'Any anonymous surfer may apply' and to go further we have set 'Any surfer applying to this site will become a member (open community'

It does not seem we can any any more open...so what is going on?

Thanks in advance for your prompt reply...we can't wait to give this thing a real work out.

So can you tell us what we are doing wrong or a possible source for the problem?

Thanks,

Bernie
Bernard
avatar
from nearby-an-airport
Associate, 7053 posts

on Mar. 24 2005


At your site load control/test.php (namely, http://yourserver/yacs/control/test.php ) several times.

Does the counter increments or not?

If not, you probably have an issue with the storage of session data, which is required to let YACS work correctly.

If yes, please let me know and we will escalate...
Bernard_J_L
8 posts

on Mar. 24 2005


Session data:

$_SESSION['heartbit']=1

$_SESSION['test_hits']=5

The number under "test_hits" increments each time I refresh the page. That other number does not and remains at one.

Hope this helps.

Thanks for the quick response.

Bernie

PS: Here is a complete section from the output of the test...

Session data:

$_SESSION['heartbit']=1

$_SESSION['test_hits']=13

Session variables are stored correctly if the counter increments on page reload: 14
Bernard
avatar
from nearby-an-airport
Associate, 7053 posts

inspired from Bernard_J_L on Mar. 24 2005


Bernard_J_L: Ok, cookies do work at your site.

Can you please check the content of shared/parameters.include.php and ensure you have a line like the following:

$context['without_registration']='N';
Bernard_J_L
8 posts

on Mar. 24 2005


$context['with_anonymous_comments']='N';
$context['with_approved_members']='N';
$context['with_auto_publish']='N';
$context['with_compression']='N';
$context['with_cron']='N';
$context['with_email_display']='N';
$context['with_friendly_urls']='N';
$context['with_restricted_teasers']='N';
$context['without_cache']='N';
$context['without_http_cache']='N';
$context['without_language_detection']='N';
$context['without_registration']='N';


Thanks again for the quick response. Here is part of that file. It has the N for "without_registration".

I copied some of the items before that just in case they might be related to this.

Thanks for the help,

Bernie
Bernard
avatar
from nearby-an-airport
Associate, 7053 posts

inspired from Bernard_J_L on Mar. 24 2005


Bernard_J_L: Can you please fetch the very last version of users/edit.php and see if this fixes the issue?
Bernard_J_L
8 posts

on Mar. 24 2005


Well, that made some progress. Now the registration screen comes up and I can enter the information.

However, when we click "submit" the screen goes completely blank. Windows explorer shows "done" and the page being displayed has only...

(Information tags and such that I can't display here)

A quick check shows the user information was not added to the system.

Making progess I suppose?

Bernie
Bernard
avatar
from nearby-an-airport
Associate, 7053 posts

inspired from Bernard_J_L on Mar. 24 2005


Bernard_J_L: Would you like to update your server against this one, as explained at How to achieve incremental upgrades of a YACS server?
Bernard_J_L
8 posts

on Mar. 24 2005


Well I am trying to do that automatic update. However, when I click on the "Yes, I want to stage files.." the window goes blank for some time and then I get the Internet Explore message about "Can't display this page DNS error.." or something like that.

I am thinking that perhaps our provider has a limit on how long a PHP script can run before it is stopped. Or maybe you know some configuration parameter that we might have messed up.

I will try the manual method...do you know where I would get all the current files? By the way this instance of the site was just created this morning from a fresh download from the yacs site.

Let me know where the files are and we will do the upload etc.

Thanks much for continued help.

Bernie
Bernard
avatar
from nearby-an-airport
Associate, 7053 posts

inspired from Bernard_J_L on Mar. 24 2005


Bernard_J_L: DNS errors may mean that your ISP does not allow external connections from your server.

Two different versions of YACS are available here:

-  A stable one, changed about once per month, accessible from Syndication. I suppose this is the one you have used this morning.

-  An evolving one, replaced up to three times a day, that can be downloaded from the scripts index. Useful to check bug fixes, if any.
Bernard_J_L
8 posts

on Mar. 25 2005


So which one should I be using to fix this little problem?

Bernie
Bernard
avatar
from nearby-an-airport
Associate, 7053 posts

inspired from Bernard_J_L on Mar. 25 2005


Bernard_J_L: Please use the more fresh package, from the scripts index page.
Bernard_J_L
8 posts

on Mar. 25 2005


Bernard, thanks for the help.

We will have to continue this later this evening and get these changes uploaded to the site.

I hope this fixes the problem. It seems a slightly earlier version of the site had this working just fine. So I am hopeful that with these updates we will be in good shape...

I will let you know tomorrow what happened.

Again, your responses are greaty appreciated and the support you have given us new guys is nothing but outstanding. We hope to use your tools with our new website very soon.

Thanks again,

Bernie
Bernard_J_L
8 posts

on Mar. 28 2005


Bernard,

Well I just downloaded the newest set of files and did a complete re-install of the site. That included deleting the database and sub-directory. We did an upload and ran through the installation.

Now registration works great. Things seem to work nicely.

Probably over the next day or so we are doing to experiment with the "update" feature to see why that did not work.

I am pretty sure we can make outbound requests since we have "pinged" other hosts before.

But for now we are going run try it out and see how everyone likes the new site.

Thanks again for your quick help.

It is really appreciated.

Bernie
Bernard
avatar
from nearby-an-airport
Associate, 7053 posts

inspired from Bernard_J_L on Mar. 28 2005


Bernard_J_L: I am glad that your server runs fine now. If you are able to ping outside servers, you should attempt to perform an on-line upgrade in some days, just in case...

Thank you for your feed-back anyway.

 
Share
Information channels
Recent files