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.

#2501 Re: CE4 Publisher » Search has died on me ... » 2015-04-22 08:09:34

Ben

Internal server errors are tough nuts to crack, as the errors occur prior to our code running and hence prior to us being able to capture the error or log anything useful.
Can you provide me with FTP access so that I can try to work out the underlying error? Please do so via the Email link under my name.

#2502 Re: CE4 Cart » Mobile html version issue with adding to cart » 2015-04-21 22:19:10

Ben

I've had a look at the scrolling issue, and can't see what may be causing it.  From what I can tell, the HTML markup is identical between the first and second calls to open the dialogue.

A work-around is to change the JavaScript file found in ttg-be/cart/lib/js/jquery.ttgcart-ce4.js so that the dialogue is opened twice on each click.  The second opening should just replace the first.  If you're keen to try this, edit this file: www.kristenwestlake.net/ttg-be/cart/lib/js/jquery.ttgcart-ce4.js

And duplicate the line at line 380, so that instead of this:

that.showModal();

you have this:

that.showModal();
that.showModal();

I can email you the file if you're not comfortable editing it.

#2503 Re: CE4 Client Response Gallery » CRG Assign Albums to Client » 2015-04-17 16:35:46

Ben

The second line includes the full path, so will be unique to each client/project/album combination.

#2504 Re: CE4 Client Response Gallery » CRG Assign Albums to Client » 2015-04-17 16:11:14

Ben

They are the album titles.  The second line is made up of slugs.  What links are those?  The second line is just text.

#2505 Re: CE4 Client Response Gallery » CRG Assign Albums to Client » 2015-04-17 16:01:48

Ben

I've put this together.  I had planned to make a silent update, but with the number of lines involved (about 100), we need to test this further before releasing.  Does this look useful?

assign_albums.png

#2506 Re: CE4 Client Response Gallery » problem with admin permissions » 2015-04-15 08:15:13

Ben

Hi Zeesi,  sorry that was failing due to a debugging statement I had added to work out where it was failing.
The change of php.ini, and removal of the statement, has the admin working now: http://yiftachphotography.com/ttg-be/admin/

#2507 Re: CE4 Gallery » TTG-BE admin login page blank » 2015-04-14 23:24:07

Ben

I wouldn't normally suggest something like that, but being behind a firewall I guessed you may have greater control of the server that those on standard hosting. As such it should have made for a straightforward fix.

I can understand the complexity. I work on a bunch of servers with multiple companies over different time zones. Not at all straightforward.
How is your support arrangement? 'All' you need is a directory that can be written to by your web application. In this case it is TTG BE. If you're running other apps such as Wordress then they would have a similar requirement.

#2508 Re: CE4 Gallery » TTG-BE admin login page blank » 2015-04-14 20:21:51

Ben

That's tricky. Do you or an admin with you have command-line access to the server? If so, it may be worth setting ownership of the entire data dir to 'apache' or whatever the username is that the web server runs on.

#2509 Re: CE4 Gallery » TTG-BE admin login page blank » 2015-04-14 19:09:00

Ben

What's the result if you use 755?

#2510 Re: CE4 Publisher » Resolving xxxx-single.php - .htaccess issues » 2015-04-14 11:55:52

Ben

Hi Rajiv,

I'm glad to hear you're enjoying our software.  It's great to see you put it to good use. Your site and photos look fantastic.

The way the .htaccess file finds the single.php depends on how paths and user accounts are set up within hosting environments.  In your case, the server is not able to locate single.php.  It needs a more explicit location, including the path.  The extra and changed lines in the tweaked .htaccess file provide this information.  The big question is whether these extra lines and passing the path will cause issues on hosts that don't require the path to be added.

#2511 Re: CE4 Publisher » Resolving xxxx-single.php - .htaccess issues » 2015-04-14 10:42:42

Ben

Hi Rajiv,  this is a tricky one.  I'm not comfortable in pushing out that change to all our customers.  The existing htaccess code works for all but two known cases.  How many the new version will work for is unknown - it could be considerably fewer.  Another factor is I don't understand the code in that adjusted htaccess file.  As such it would be reckless to push it out to everyone.

Having said that, since you've found that it works for you, it should be perfectly safe to apply this change to all of your galleries by using the Update Album Files link.  The only downside to maintaining the htaccess file yourself is that you'll need to re-edit the file ttg-be/publisher/application/skeleton/gallery/htaccess after Publisher updates.  However, as CE4 Publisher is stable, that is now infrequent.

#2512 Re: CE4 Publisher » How to integrate Publisher with existing web site » 2015-04-14 10:35:41

Ben

The template you've used creates four renditions.  I've removed the need for two of them (photos-for-purchase and photos-for-download), so if you add further photos then it should now be twice as fast.

#2513 Re: CE4 Client Response Gallery » problem with admin permissions » 2015-04-14 10:25:16

Ben

Zeesi, I replied to you 12 hours ago.  Check your messages via the 'PM' link at the top of the page.

#2514 Re: CE4 Publisher » How to integrate Publisher with existing web site » 2015-04-13 23:45:45

Ben

Hi Tony, sure.  I've sent the access details via a Personal Message.  Look for the 'PM' link on the top-right of this forum to access your messages.

#2515 Re: CE4 Publisher » search module and template with download » 2015-04-13 20:14:01

Ben

Hi Fabian, well-spotted, thanks.  We'll work on a fix.

#2516 Re: CE4 Publisher » Error Uploading Rendition » 2015-04-13 18:14:59

Ben

Hi, that's really interesting and helpful, thank you for sharing.

I have used mod_sec during a casual systems admin role.  It is a very good tool, with a huge number of rules for detecting and blocking security risks.  By default there are too many rules, and as GoDaddy has done, some need to be tweaked or disabled to enable expected function of a site or service. 

There is code within TTG BE that works around another mod_sec rule that has caught customers out (that URLs can not be passed in request parameters).

#2517 Re: General » New install questions » 2015-04-13 09:48:03

Ben

My 2 cents here.  Filezilla makes for a very good FTP client on the Mac.  If you're willing to pay, then Transmit, by Panic software, is a very slick FTP client. Panic is the maker of Coda, with Transmit being a standalone FTP client.

For excellent and free text editors, look for Textmate 2 and Textwrangler

#2518 Re: CE4 Publisher » How to integrate Publisher with existing web site » 2015-04-12 23:46:43

Ben

Hi Tony, those files aren't specific to Windows servers.

We've often found that hosts will switch users between Windows and Linux at no cost and with no effort from the customer. It's worth asking.
You could claim that you are not satisfied with their PHP support, which wouldn't be a lie: PHP runs in a non-standard way on IIS. As an example, when our code tells the browser to redirect to a different URL, IIS servers intercept the request and attempt to redirect within files on the server without telling the browser to update the location. Functionality like that flies on the face of the HTTP spec.

There may be a minor chance you'll face issues on a Linux server, but that's the platform we support and we go to great lengths to help customers work through any issues.

Publisher brings a lot more to the table than faster publishing: two of them being the ability to change the design of any number of galleries with a change of template, the ability to add, remove and reorder images without re-uploading galleries.

I can set you up with Publisher access to my dev server if you'd like to try it out.

#2519 Re: CE4 Publisher » How to integrate Publisher with existing web site » 2015-04-12 22:57:34

Ben

There may be some hope. If you're not running Windows-specific pages, then it may be worth asking them to switch your site to a Linux server.

Other than TTG products, do you have other dynamic pages on your site such as those connecting to databases? If not then a migration should be straightforward, depending on their policies of course.

#2520 Re: CE4 Publisher » How to integrate Publisher with existing web site » 2015-04-12 22:50:13

Ben

That is in fact the system your site is on. The giveaway was the style of the error page when I went to an invalid page..

#2521 Re: CE4 Publisher » How to integrate Publisher with existing web site » 2015-04-12 21:56:55

Ben

Hi Tony, there is a very high chance that this is failing due to running on Windows with IIS.  TTG products are not supported on Windows servers, and especially not on Windows servers running IIS, since we do not have the capability of testing in that environment with the multiple versions of IIS out there.  PHP on IIS also exhibits non-standard behaviour that we have not catered to.

Having said that, it may be worth checking that the file ttg-be/config.php exists.  For whatever reason, that file hasn't been found or read, resulting in that error message.

#2523 Re: CE4 Publisher » Publisher and HTTPS thumbnails image paths » 2015-04-12 10:00:28

Ben

Hi Patrick, I have found that there was a bug in the script for handling thumbnails on https sites. I've emailed you an updated file that should fix this for you.  Let me know how that goes.

#2524 Re: CE4 Client Response Gallery » problem with admin permissions » 2015-04-12 09:38:18

Ben

Hi Zeesi, that would be most helpful.  Please send the details to my email via the Email link under my name. 

LJR69, since you are behind a corporate firewall, can I assume that you or your company manages the server?  If so, it should be straightforward to look at the PHP error logs for any errors.  Many servers will not process sites with 777 permissions, as the permissions can be deemed too insecure for the particular environment.  That often explains a complete failure to load a page.
When running with 755, what is it that isn't working?  Can you provide any error messages or screenshots?

#2525 Re: CE4 Publisher » Publisher and HTTPS thumbnails image paths » 2015-04-12 00:50:00

Ben

Hi Patrick,  Thanks for confirming the version numbers.  I've just reached back from a few days without good connectivity.  I'll look further into this in the morning, Philippines time.

Board footer

Powered by FluxBB