Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#601 Re: Backlight 2 Support » BL2 Installer unable to connect to server » 2018-12-27 06:42:38

Ben

Can you ask your host whether they have blocked access from PHP to external servers, and if so, for them to allow access to https://get.theturninggate.net

If that’s not blocked, can you ask them to perform a traceroute from your server to that location and provide us with the result?

#602 Re: Backlight 2 Support » Lightroom Error when creating new Album » 2018-12-23 06:25:58

Ben

What are you using for your API URL setting? It looks like the server is responding from the top of your site rather than from Backlight. That setting should be set to http://npphotographicsgallery.com/backlight/publisher/

#603 Re: Backlight 2 Support » Site crashed with no changes on my side » 2018-12-21 08:11:46

Ben

Something has changed on your side.  Your host has changed something with your PHP setup, and done so with a broken configuration.  As Rod suggested, see our document about module errors.

#604 Re: Backlight 2 Support » Changes to Nginx configuration? » 2018-12-20 06:17:36

Ben

I'd started to look into this, but came across more dependencies on clean URLs than I expected.  Thanks for the bump.  I'll try to prioritise it.

#605 Re: Backlight 2 Support » Backlight login not working » 2018-12-20 06:16:21

Ben

If you're trying to send yourself the code to set up 2FA, but not receiving anything, another way of finding the link that would have been sent to you is to look at the most-recent log file under backlight/logs/admin/.  All outgoing links related to logins, such as password resets and unlocking links are logged there, for the purpose of getting back into your system if emails aren't getting through.

#606 Re: Backlight 2 Support » Cart configuration » 2018-12-20 06:12:11

Ben

The terms should be tied to the Cart session, requiring a cart reset in the current browser for any change to take effect.

#608 Re: Backlight 2 Support » Cannot enter to Backlight Modules » 2018-12-19 07:09:37

Ben

Hi Oliver, we're looking further into this.
I can confirm that the requests are not reaching our PHP scripts, and that there's nothing on the application level, including Wordfence, that is blocking anything.  I'm not aware of any mechanism above our web server files that would be blocking it, but we'll reach out to support for advice on this, including passing them the IP of where the requests are coming from.  That seems to be the only piece of information that we have coming from your server that might differentiate requests from those of other hosts.

#609 Re: Backlight 2 Support » Upload failed » 2018-12-19 06:20:23

Ben

Can you email me one of the images that fails to upload?  Also, on the upload screen what does it say for the maximum size of images allowed?  This varies based on your server configuration.

#610 Re: Backlight 2 Support » BL1 to BL2 workflow question » 2018-12-19 06:19:08

Ben

As Rod suggested, please provide me with FTP access via email so I can look into it.

#611 Re: Backlight 2 Support » WordPress Error » 2018-12-19 06:17:15

Ben

The code above the one you've quoted should include another reference to APHPLugins, so that those few lines look like this:

if (defined('BACKLIGHT_HOOK')) {
	require_once(realpath(BACKLIGHT_HOOK).'/modules/module-designer/application/helpers/APHPlugins.php');
}

class PHPlugins extends APHPlugins

Is that the case?  If not can you add in:

if (defined('BACKLIGHT_HOOK')) {
	require_once(realpath(BACKLIGHT_HOOK).'/modules/module-designer/application/helpers/APHPlugins.php');
}

above the class PHPlugins line and see if that fixes it.

You may need to re-export your theme after making that change.

#612 Re: Backlight Support » Shopping cart payment options » 2018-12-15 19:19:30

Ben

We have tentative plans to support Stripe, but as yet don't yet have the time to implement it.

#613 Re: Backlight 2 Support » 2nd Wordpress installation » 2018-12-15 19:18:26

Ben

Hi Oliver, running multiple wordpress sites on the same server as Backlight is an edge case, so not something that we're likely to address within Backlight.

I can think of a couple of options:

1. Export to the one site, and copy over the themes to your other WP site as needed
2. Run a common themes directory symlinked from one or more of your WP installations. (this would require command-line access, which I can help with if you have it).

#614 Re: Backlight Support » Upexpected error: PHP Startup: imagick » 2018-12-15 14:43:49

Ben

We have a document on this and similar errors. See if this helps, especially the steps to hide startup errors:
http://backlight.theturninggate.net/doc … n_bluehost

#615 Re: Backlight 2 Support » Installed Backlight 2 - Now HTTP500 error. » 2018-12-14 06:12:23

Ben

All good, Kurt?  The other explanation for a missing 'language_code' would be if Backlight 2 hadn't been upgraded to the latest version.

#616 Re: Backlight 2 Support » Updating to PHP 7.0 apparently broke CRG feedback » 2018-12-13 11:22:52

Ben

You can't use SMTP settings on Bluehost accounts.  The solution was to add the email address and leave it as 'mail', which you've now done.  Since you're no longer seeing emails come from box... then that part looks to be in good order.

I created a document on getting emails to work properly on Bluehost, at http://backlight.theturninggate.net/doc … n_bluehost
I suggest also looking at the second step to see if that helps, Configure the PHP sendmail_path setting.

#617 Re: Backlight 2 Support » Updating to PHP 7.0 apparently broke CRG feedback » 2018-12-12 18:09:16

Ben

There should be a reasonable fix for that.  Bluehost needs to know that the from address is valid before it sets the 'from' properly in the outgoing email.  To fix this, create an email inbox for that email address in the Bluehost control panel.  You don't actually need to use Bluehost to handle the email, so that address would still operate as it already does.  It's just that Bluehost will know that that is an address you've set up.

#618 Re: Backlight 2 Support » Updating to PHP 7.0 apparently broke CRG feedback » 2018-12-12 06:34:08

Ben

I don't think the change from 5.6 to 7 alone would cause email to stop working.  It's more likely that your host has broken something as part of the upgrade.  What settings do you have for email settings, in particular the setting for 'Mail Send Type'?
Can you visit the main Backlight page, then click on Send Test Email under the Special Links heading?  That will let you send test emails, to see if they get through.  Setting Show Debug Messages to 'yes' may provide some information about what's going wrong.

#619 Re: Backlight 2 Support » Installed Backlight 2 - Now HTTP500 error. » 2018-12-12 06:29:18

Ben

Hi Kurt, unfortunately 500 errors alone don't provide any information on the underlying problem.  Can you provide me with FTP access via Email so that I can look into this?

#620 Re: Backlight Support » Go to checkout craches » 2018-12-08 06:03:15

Ben

Hi Markku,this is caused by a compatibility issue with PHP on your server.   To fix this, download the latest Backlight zip file and replace the files under backlight/framework.

#621 Re: Backlight 2 Support » PHP 7.3 » 2018-12-07 20:20:14

Ben

We haven't tested it against 7.3.  If you find something amiss then we'll look into it and fix it.

#622 Re: Backlight 2 Support » Cannot enter to Backlight Modules » 2018-12-06 13:53:27

Ben

Have you tried emailing the address in the message?

As it says, this is a server error. We can’t tell what’s happening on your server to cause this. It’s likely something blocking the Modules page from contacting our server to check for updates.
Have you previously been able to load that page? Have you recently had a server or PHP upgrade?

Please provide me with FTP access via email so that I can try and work out what’s going wrong.

#623 Re: Backlight Support » Go to checkout craches » 2018-12-04 05:33:35

Ben

Hi Kristoffer, since installing Backlight, your host has changed the version of PHP, making it incompatible with what you're running.
I'll need to make some changes to the Cart to make it compatible again.  If you could provide me with FTP access via email then that will help me check that the changes will work.

#624 Re: Backlight 2 Support » Explanation of .htaccess file ? » 2018-12-03 19:24:52

Ben

For your info, here's the new version of the .htaccess file.  We haven't fully tested it but it should work properly:

<IfModule mod_headers.c>
    <FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$">
        Header set Access-Control-Allow-Origin "*"
    </FilesMatch>
</IfModule>

<IfModule mod_rewrite.c>
	RewriteEngine On

	# The below two lines will take a REQUEST_URI like /directory/foobar.php and set the variable BASE to /directory/
	#RewriteCond %{REQUEST_URI}::$1 ^(.*?/)(.*)::\2$
	#RewriteRule ^(.*)$ - [E=BASE:%1]

	RewriteBase /
	RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
	RewriteRule ^.*$ - [E=BASE:%2]

	RewriteRule ^(.*)$ - [E=QS:mod_rewrite=on]

	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteRule ^([^\/.]*)-single.php$ %{ENV:BASE}single.php?%{ENV:QS}&id=$1 [QSA,L]

	# Attempt to load dynamic resources if file doesn't exist
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteRule ^([^\/.]*)\.(css|js|gif|png|jpg)$ %{ENV:BASE}index.php?%{ENV:QS}&extension=$2&name=$1 [QSA,L]

	#RewriteCond %{QUERY_STRING} !mod_rewrite=on
	#RewriteRule ^index.php$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]

	RewriteCond %{QUERY_STRING} !mod_rewrite=on
	RewriteRule ^mobile.php$ %{ENV:BASE}mobile.php?%{ENV:QS} [QSA,L]

	RewriteCond %{QUERY_STRING} !mod_rewrite=on
	RewriteRule ^(.*)download.php %{ENV:BASE}download.php?%{ENV:QS} [QSA,L]

	# Address is /
	RewriteRule ^$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]

	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule ^(.*)$ %{ENV:BASE}index.php?%{ENV:QS}&page=$1 [QSA,L]

</IfModule>

#625 Re: Backlight 2 Support » Explanation of .htaccess file ? » 2018-12-03 19:22:34

Ben

We have not yet updated the .htaccess file.  It's in our working code and will come along with the next maintenance release.

The only functional change is that it will fix the issue that you've found - that of inadvertently failing to allow real resource files at the top level.
Those lines are currently redundant, so commenting them out as you have done will be fine.

For a technical explanation, there are checks in the .htaccess that will allow real files to be loaded if they exist.  Unfortunately, those checks only apply until the next rule that has an L between the square brackets.  So it's a logic error in our .htaccess file that prevents those resource files from being loaded if they're actual files on disk.

Board footer

Powered by FluxBB