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-03-03 07:18:23

hmr638
Member
Registered: 2014-08-07
Posts: 34

CRG3 -> CRG4

Hi,

I was really comfortable altering my CRG3 galleries and using the rather easily to create galleries for customers and other subjects, but now I am having absolutely no success in getting a single gallery to work in CRG4. I get a variety of errors when I upload and try to view them, including this for my latest effort. Thus far I am finding the whole version 4 experience to be very unsatisfactory.

SQLSTATE[HY000] [14] unable to open database file|#0 /homepages/10/d98866061/htdocs/ttg-be/framework/dao/PdoExtended.php(49): PDO->__construct('sqlite:./../ttg...', NULL, NULL, Array) #1 /homepages/10/d98866061/htdocs/ttg-be/framework/dao/SQLiteHandler.php(11): PdoExtended->__construct('sqlite:./../ttg...', NULL, NULL, Array) #2 /homepages/10/d98866061/htdocs/ttg-be/framework/dao/DAOFactory.php(15): SQLiteHandler->__construct(Array) #3 /homepages/10/d98866061/htdocs/ttg-be/crg/application/helpers/ApplicationHelper.php(24): DAOFactory->getDBHandler(Array) #4 /homepages/10/d98866061/htdocs/ttg-be/framework/helpers/GenericApplicationHelper.php(28): ApplicationHelper->createConfigManager() #5 /homepages/10/d98866061/htdocs/ttg-be/crg/application/init.php(9): GenericApplicationHelper->getConfigManager() #6 /homepages/10/d98866061/htdocs/ttg-be/framework/init.php(112): include_once('/homepages/10/d...') #7 /homepages/10/d98866061/htdocs/CRG4 test/lib.php(77): require_once('/homepages/10/d...') #8 /homepages/10/d98866061/htdocs/CRG4 test/index.php(4): require_once('/homepages/10/d...') #9 {main}|URL: /CRG4 test/index.php


I have absolutely no experience with php, and really, at this stage in my life, have no desire to learn it.

Basic help would be appreciated.

Offline

#2 2015-03-03 07:40:25

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: CRG3 -> CRG4

First, did you install ttg-be as well as install the crg/ folder inside of ttg-be/
http://ce4.theturninggate.net/docs/doku … lery_setup

if you have, then it looks like your server may not be configured as needed. See this post:
http://community.theturninggate.net/top … ing-ttgbe/

the new CE4 features require a database and I'm thinking your host hasn't configured the server for the basic set up.

to speed things up for when Ben has a chance to look, can you post a link to your site and make sure that guest access is enabled for ttg-be (Ben may need more access than that, but he'll let you know)
Who are you hosting with?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2015-03-03 08:38:07

hmr638
Member
Registered: 2014-08-07
Posts: 34

Re: CRG3 -> CRG4

Hi,

I think I installed it correctly in the root for my pages.

Screen%20Shot%202015-03-02%20at%204.12.44%20PM.png

Screen%20Shot%202015-03-02%20at%204.16.52%20PM.png

My web service is with 1and1.com. PHP 5.5 is enabled

This is what my database info currently shows

Screen%20Shot%202015-03-02%20at%204.36.02%20PM.png

Offline

#4 2015-03-03 09:14:41

hmr638
Member
Registered: 2014-08-07
Posts: 34

Re: CRG3 -> CRG4

I should be up until 0:600 GMT, and I can be contacted via email at mroberts122@bresnan.net.

Last edited by hmr638 (2015-03-03 09:15:10)

Offline

#5 2015-03-03 09:23:19

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: CRG3 -> CRG4

can you post a link to your site?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#6 2015-03-03 10:31:36

hmr638
Member
Registered: 2014-08-07
Posts: 34

Re: CRG3 -> CRG4

I do not have an overall site. I just post individual directories, no do I know how to enable guest access.

Last edited by hmr638 (2015-03-03 10:37:01)

Offline

#7 2015-03-03 12:07:21

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: CRG3 -> CRG4

If you haven't changed the guest access then it's still enabled
(You can set up users in ttg-be > settings > manage users.)

Can you at least post a link to the CRG gallery you uploaded to ttg-be/templates/galleries?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#8 2015-03-03 13:47:19

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

Re: CRG3 -> CRG4

It may be easiest to look into this via FTP. Can you provide me with access via the Email link under my name?

Offline

#9 2015-03-06 11:20:26

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

Re: CRG3 -> CRG4

I've found and fixed the problem.  Part of the setup of TTG BE requires that you login to the TTG BE admin and set the password.
The first visit to TTG BE admin also has the effect of setting up the admin database.  Since this hadn't been done, CRG was failing at the point of trying to access the database.

I'll look into detecting that the database is missing and providing a helpful error message.

Offline

Board footer

Powered by FluxBB