tobto |
|
---|---|
Installed cotonti0.9.10 on MAMP. Try to login as Admin /login.php?a=check - answer: 'Error in URL'. Whats up? |
Twiebie |
|
---|---|
URL for the login form should just be /login.php
|
Trustmaster |
|
---|---|
Does your browser have HTTP_REFERER enabled? May the Source be with you!
|
tobto |
|
---|---|
2Twiebie - yes, /login.php |
Trustmaster |
|
---|---|
No, the email doesn't need confirmation. What does your "main url" setting look like? Did you try other browsers? May the Source be with you!
|
tobto |
|
---|---|
mainurl: http://localhost:8888/cotonti0910 |
Trustmaster |
|
---|---|
This happens because of a custom port (8888) part of the URL. It is a Cotonti bug, so thanks for reporting this! I'll post a fix here as soon as it is done. May the Source be with you!
|
tobto |
|
---|---|
eagerly wait |
Trustmaster |
|
---|---|
Here is the fix. Open system/common.php at line 564: || ($cfg['referercheck'] && !preg_match('`https?://([^/]+\.)?'.preg_quote($sys['domain'].$sys['site_uri']).'`i', $_SERVER['HTTP_REFERER'])))) replace it with || ($cfg['referercheck'] && !preg_match('`https?://([^/]+\.)?'.preg_quote($sys['domain']).'(/|:|$)`i', $_SERVER['HTTP_REFERER'])))) May the Source be with you!
|
tobto |
|
---|---|
Working!! Thank you very much! |