Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
I'm not running selinux. I am running msec and have checked there and there is nothing there preventing access to the internet for any program.
I can't find anything in any of the log files for nginx or php-fpm that would indicate a problem.
I'm still working on the email issue.
But, I tried your suggestion on creating a dummy php page to just run the file_get_contents and the output is an empty string. There is no output.
But, if I use curl at the command line I get the response you expect.
I also added the php-curl package and tried the code in URLHelper that is used and got the same empty string response.
Very strange.
I've checked and I can get out on ping and curl commands you suggested. The recaptcha also seems to work fine in that it accepts the verify and gives me a check mark.
I think it may be how I have the sendmail configured on my machine. I have never used it to send mail outside this server. I have only ever used it for local mail on the server. I can send to local users and can connect to it for those emails from other boxes on my network.
If this helps any I have displayed an entry in the journal on my attempt to send email from the admin test page:
Jul 19 12:57:36 sheridan.elliot.dhs.org sendmail[760]: w6IMZFGx010229: to=<bill@billelliot.ca>, ctladdr=<bill@sheridan.elliot.dhs.org> (1000/1000), delay=20:22:21, xdelay=00:02:00, mailer=esmtp, pri=2100323, relay=mx.easymail.ca. [64.68.200.59], dsn=4.0.0, stat=Deferred: Connection timed out with mx.easymail.ca.
Is there any way to get more of the error trace or error information when an error occurs? I'm trying various things to see if I can figure out what the system error is when I try to send an email for the contact page. When I use the "Send Test Email" function in the admin I get the following error and would like to get more info.
fsockopen(): php_network_getaddresses: getaddrinfo failed: System error in SMTP.php on line 125
I selected Yes for the "Show Debug Messages", but I didn't get any more info.
I've tried both mail and smtp.
Yes, I've read the linked documentation and my setup currently matches the recommendation.
Any other suggestions as to what I can try? Is there a server config in PHP that I need to make?
I am having trouble with the email setup for contact us page.
I have setup the email configuration with the same settings I use for my email. But, when try to send a test contact us request I get the following error:
Something went wrong
file_get_contents(): php_network_getaddresses: getaddrinfo failed: System error in URLHelper.php on line 424
Any suggestions?
Excellent!
That did the trick. Everything seems to be working fine now on display.
Now I can start configuring the site and experiment with some of the other display templates.
Thank you for your excellent help.
I haven't added any rewrite directives to the recommended base Nginx setup article. The only changes I made was to add https, a redirection of http requests to https, and add a root directive as follows:
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
root www/billelliot.ca/html;
expires max; log_not_found off;
}
The "/galleries/bikesineurope/photos/P1040051.jpg" exists directly under that root.
I do notice the following rewrite from your config. I'm not sure if this is causing any issues as I'm not too familiar with rewrite rules.
rewrite ^(.*)/(.*)/photos/* / last;
The image file is exactly there, the same as the thumbnail image that is displayed for the grid.
Thank you. That did the trick for the port number addition to the URL.
It still has the issue with the error message on clicking on a picture.
I've temporarily enabled phpinfo() while you're trouble shooting.
I have commented out the 2 lines above. But, now I get the following error message on the page and nothing else:
currentPageMismatch: https://www.billelliot.ca:8443/ !=. https://www.billelliot.ca/
I've sent the password. I've also uncommented the lines so you can see the site.
I'm using nginx and running as a non-root ID for security reasons. Therefore the site is setup to use port 8080 and 8443 with the firewall port forwarding 80 to 8080 and 443 to 8443.
I've just installed all the latest software I purchased from you, the backlight+pages, galleria, and theatre.
My site is https://www.billelliot.ca with guest password Amiga-2500
The site enforces https access and is using mostly the recommended setup from your documentation on setting up nginx.
When I go to the only gallery I have published it tries to switch the url from https://www.billelliot.ca to https://www.billelliot.ca:8443. The 8443 port is not in the URL I have defined in the admin settings. This required that I open port 8443 to the outside and map it to 8443 on the inside to get this far.
Another problem then shows up in the gallery, which might be related to the 8443 port issue. When I click on any picture I get an error message pop up on the display page of "The requested content cannot be loaded. Please try again later.". I have verified that the image that it is trying to display does exist with the same security as the thumbnail that is displayed in the gallery.
I have tried this in several browsers with similar results. Chrome Version 67.0.3396.99 (Official Build) (64-bit) with developer mode turned on shows a number of violations in the console.
What can I do to get ride of the :8443 port override in the URL, and is this causing the error above?