Support (offered by community volunteers) > WordPress Installations
Server crash when SSL enabled
cjaime6:
Hello, I really need help with this issue as I have been trying to figure out for a week now. I am trying to setup SSL to be used for Civi but when I go to System Settings > Resource Urls and try to enable "Force URLS (SSL) as soon as I click on YES then hit SAVE, the entire site freezes then crashes. It takes a few minutes for the server to restart mysql then the site comes back up but Civi never saves the YES for the SSL. It is still at NO and of course no SSL redirection when I go to a contribution page.
Any help would be greatly appreciated.
MySql: 5.5.23
PHP: 5.2.17
Wordpress: 3.3.1
CiviCrm: 4.1.0
emilyf:
Have you tested that the SSL works per the documentation?
"Once the certificate is installed and you have tested its functionality by browsing to a page on your site using https (rather than http), you should enable SSL redirection in CiviCRM....After you enable the Force Secure URLs setting and save the page, CiviCRM will automatically check to ensure the SSL certificate is activated and working properly."
cjaime6:
Hi emilyf,
Yes I did do that. The https does work, not sure why selecting force ssl is causing Mysql server to crash then still not redirect like its supposed to.
emilyf:
I would turn on all the debugging options to see where the query is failing. See this page: http://wiki.civicrm.org/confluence/display/CRMDOC41/Debugging
turn on debugging and backtrace in global settings > debugging. then follow the above page under the section of "Output all sql queries run by CiviCRM to a CiviCRM.*.log file" so you can see the query.
you can also turn on define('CIVICRM_DAO_DEBUG', 1); if you can't get the log file to output -- this one will output to the screen and the last query is the one it's freezing on.
post that error back here.
cjaime6:
Ok, well I have enabled all debugging and got the file but its too large to post and to attach. Would it be possible to send to you directly? Thanks for all your help!
Navigation
[0] Message Index
[#] Next page
Go to full version