CommunityAuth |
(08-25-2015, 11:11 AM)skunkbad Wrote:(08-23-2015, 10:44 PM)christaliise Wrote:(08-23-2015, 01:45 PM)skunkbad Wrote: Perhaps you can make a zip of your entire website files, and include a database dump, then make it available for download so I can check it out. OK, I got 32 random characters from https://www.grc.com/passwords.htm and entered them into $config['encryption_key'] = ''; BUT I still get the same error; Service unavailable! The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. If you think this is a server error, please contact the webmaster. Error 503 localhost Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.6.8 The userguide does say that the key must not be the output of a hashing function, etc and I wonder if the 32 random characters I got from https://www.grc.com/passwords.htm were just that. However I'll go back and test the "Create news items" from the CodeIgniter Tutorial, and maybe reload CodeIgniter and or CommunityAuth again to see if that solves my problem. Do you have a package, including CodeIgniter 3.0.0 together with your latest version of CommunityAuth? But more importantly, I'd like to understand more about encryption. I understand the need for data to be encrypted and the secrecy involving access to the data when a website is open to the public, but I don't understand why it is necessary during development of the website. And when the website is open to the public and if there was an attack on the website, I guess the attacker would also get access to the config file via the inner workings of the servers computer, and then get access to the encryption key. Is there anything to stop that? Maybe other members could answer that. Update 28/08/2015 I tested the "Create news items" and it worked OK. I replaced CommunityAuth with another copy and this URL http://localhost/examples/create_user but it made no difference. I then tried this URL - http://localhost/index.php/examples/create_user And got this result; A PHP Error was encountered Severity: Warning Message: mt_rand(): max(-1) is smaller than min(1200) Filename: controllers/Examples.php Line Number: 433 Backtrace: File: C:\xampp\htdocs\application\controllers\Examples.php Line: 433 Function: mt_rand File: C:\xampp\htdocs\application\controllers\Examples.php Line: 183 Function: _get_unused_id File: C:\xampp\htdocs\index.php Line: 292 Function: require_once Congratulations User christaliise was created. ********************************* skunkbad, do you know how to clear that error? I now need to learn how to remove the index.php file by mod_rewrite.
This might be the solution for the problem:
https://www.drupal.org/node/1066694 Citation: The cause of this is the Tomcat configuration in XAMPP. Go to C:\xampp\apache\conf\extra\httpd-ajp.conf and comment out the line: ProxyPass /examples ajp://127.0.0.1:8009/examples smax=0 ttl=60 retry=5 |
Welcome Guest, Not a member yet? Register Sign In |