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.

#1 2015-11-24 17:28:16

RobS
Member
Registered: 2013-09-01
Posts: 166

Unable to process request: Invalid controller ClientController

I'm getting this error in the browser when I click on the selection of download gallery at the top of the TTG CE4 Publisher window:

Unable to process request: Invalid controller ClientController

Anyone know why?

Offline

#2 2015-11-24 17:30:07

RobS
Member
Registered: 2013-09-01
Posts: 166

Re: Unable to process request: Invalid controller ClientController

And when I go to the Client response Gallery via TTG BE Admin> Dashboard

I get

Unable to process request: Unable to find DAO for SettingsDAO

Offline

#3 2015-11-24 19:05:34

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Unable to process request: Invalid controller ClientController

It's likely that not all of your files have been uploaded correctly.  I suggest re-uploading the directories ttg-be/framework, ttg-be/admin and ttg-be/crg and see whether that helps.  Can you provide a URL to your site?

Offline

#4 2015-11-25 05:18:27

RobS
Member
Registered: 2013-09-01
Posts: 166

Re: Unable to process request: Invalid controller ClientController

Luckily I backed up the old ttg-be/crg/application folder. I just replaced the new one with the old one, but now I'm getting a "You are not allowed to download this file" error when trying to download an image file in a download gallery.

I haven't had such problems when updating before.

Last edited by RobS (2015-11-25 05:19:12)

Offline

#5 2015-11-25 14:10:00

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Unable to process request: Invalid controller ClientController

Simply replacing the newer folder with the old is probably not the correct way to rollback. Presumably your database has already updated to use the newer version.

What Ben was suggesting was that you upload the latest folders again, making sure they all successfully transit upstream. Rather than overwrite existing folders with new ones, I typically rename the old folder (effectively moving it out of the way) so that the newer folder can replace it without interference.


Matt

The Turning Gate, http://theturninggate.net

Offline

#6 2015-11-25 14:53:03

RobS
Member
Registered: 2013-09-01
Posts: 166

Re: Unable to process request: Invalid controller ClientController

Hi Matt,

I re-uploaded the application folder from the CE4-CRG-612 update. I'm not getting the controller error, but still can't download a file from a download gallery. Still getting a "You are not allowed to download this file." message. I PM'ed Ben the link and necessary login details.

Offline

#7 2015-11-25 14:57:06

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Unable to process request: Invalid controller ClientController

Sounds good. I'm sure he'll take a look when he's next online here.


Matt

The Turning Gate, http://theturninggate.net

Offline

#8 2015-11-25 17:43:59

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Unable to process request: Invalid controller ClientController

Thanks for the link.  The latest Publisher expects downloadable files to be at photos-for-download.  If not there, then there are new entries added to setup.xml for changing the extension or path.  To get this working, you'll need to edit http://www.robertsuch.com/ttg-be/templa … /setup.xml  and add these two entries towards the top of the file:

<downloadExtension>jpg</downloadExtension>
<downloadPath>jpegs</downloadPath>

e.g.

...
<columnsInGrid>5</columnsInGrid>
<downloadExtension>jpg</downloadExtension>
<downloadPath>jpegs</downloadPath>
<fotomotoEnabled>no</fotomotoEnabled>
---

(Note, that if your template had been generated with Gallery 6.1.8 these entries would only require editing rather than adding)

I hope that helps.

Offline

#9 2015-11-25 18:50:44

RobS
Member
Registered: 2013-09-01
Posts: 166

Re: Unable to process request: Invalid controller ClientController

Thanks Ben. Download links work now.

Last edited by RobS (2015-11-25 18:51:22)

Offline

#10 2015-11-25 19:07:37

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Unable to process request: Invalid controller ClientController

Great.  I'm glad to hear that solved it.

Offline

Board footer

Powered by FluxBB