Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2018-09-14 00:48:53

Evagoras
Member
From: London, UK
Registered: 2013-11-14
Posts: 117
Website

Backlight 2 Install Troubles

After sorting out and adding the PHP ZipModule on my server I did the following:

As I am Upgrading from BL1 to BL2 I followed the instructions here http://backlight.theturninggate.net/doc … acklight_2 and kept:

    /backlight/data
    /backlight/custom

On my server:

I deleted:
    /.htaccess
    /index.php

    /backlight/
    /backlight/installer/
    /backlight/.htaccess
    /backlight/env.php.skel
    /backlight/index.php

I was reluctant to delete:
    /backlight/admin
    /backlight/cart
    /backlight/client-response
    /backlight/designer
    /backlight/framework
    /backlight/modules
    /backlight/publisher
    /backlight/search

(should I??) I thought this would mess up my stuff e.g. CRG & Cart

I Copied from the extracted Zip file (Backlight-2-Installer-100.zip) to my server:
   
    /index.php   
    /.htaccess   
    /backlight/installer
    /backlight/env.php.skel
    /backlight/index.php

I logged onto
    /backlight/installer

Backlight 2 was installed successfully

I continued to Backlight

And got this:

Backing up databases...
Backed up master.sq3
Upgrading to version 1.9.1...
Updating settings
Update to 1.9.1 completed
Upgrading to version 1.9.2...
Migrating settings
Update to 1.9.2 completed
Upgrading to version 1.9.3...
Migrating users
Update to 1.9.3 completed
Upgrading to version 1.9.4...
Update to 1.9.4 completed
Upgrading to version 1.9.5...
Adding support for Google Authenticator (part 2)
Update to 1.9.5 completed
Upgrading to version 1.9.6...
Adding support for viewing contact
Update to 1.9.6 completed
Upgrading to version 1.9.7...
Adding support for contact checkboxes
Update to 1.9.7 completed
Upgrading to version 1.9.8...
Adding support for centralised client management
Unable to upgrade to version 1.9.8

Error message: Class not found: ClientResponseUtility. To fix this, reinstall Backlight at /backlight/installer. If the problem persists, please report error at http://community.theturninggate.net/viewforum.php?id=44

I followed the instructions to try again then got this:

SQLSTATE[HY000]: General error: 1 no such column: enabled|#0 /home/evg123/public_html/backlight/modules/module-framework/dao/PdoExtended.php(524): PDO->prepare('SELECT display_...') #1 /home/evg123/public_html/backlight/modules/module-framework/dao/PdoExtended.php(156): PdoExtended->_prepareAndExecuteSqlQuery('SELECT display_...', Array) #2 /home/evg123/public_html/backlight/modules/module-framework/Framework.php(471): PdoExtended->selectRows('SELECT display_...', Array) #3 /home/evg123/public_html/backlight/modules/module-framework/Framework.php(433): Framework->handleLanguage(Object(AdminApplicationHelper), Object(AdminConfigManager)) #4 /home/evg123/public_html/backlight/modules/module-framework/Framework.php(151): Framework->initApplication() #5 /home/evg123/public_html/backlight/modules/module-framework/Framework.php(41): Framework->init() #6 /home/evg123/public_html/backlight/index.php(25): Framework->__construct('..', Array) #7 {main}|URL: /backlight/index.php


I tried the installer again and got this:

Something went wrong
Unexpected error: Class 'CartHelper' not found in GenericApplicationHelper.php on line 25

Please report error at http://community.theturninggate.net

Luckily i restored my site via a backup.

I wanna cry!

Offline

#2 2018-09-14 00:57:03

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,078
Website

Re: Backlight 2 Install Troubles

Yes, it is correct to delete the 'reluctant to delete' directories. Those are all application directories that are replaced by new ones located in the modules folder. All data is in the 'data' directory. So this you are good!

Did you install the other modules such as CRG and Cart? Backlight > Admin > Backlight Modules


Daniel Leu | Photography   
DanielLeu.com

Offline

#3 2018-09-14 01:17:43

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

Re: Backlight 2 Install Troubles

I Copied from the extracted Zip file (Backlight-2-Installer-100.zip) to my server:
   
    /index.php   
    /.htaccess   
    /backlight/installer
    /backlight/env.php.skel
    /backlight/index.php

Did you also copy over /backlight/.htaccess ?


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

Offline

#4 2018-09-14 06:28:39

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 3,755

Re: Backlight 2 Install Troubles

Hi Evagoras, please try the installation from a different browser.  It looks like you may have still been logged into Backlight 1 at the time of installation, and as such, the session thinks that Client Response and it's files are still there.

Offline

#5 2018-09-14 07:34:47

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 3,755

Re: Backlight 2 Install Troubles

A second thought: did you remove the directories under backlight/modules/ prior to trying the install?  It may be that the old version of the module at backlight/modules/module-client-response is still there, which is not compatible with BL2

Offline

#6 2018-09-14 08:08:46

Evagoras
Member
From: London, UK
Registered: 2013-11-14
Posts: 117
Website

Re: Backlight 2 Install Troubles

Thanks guys,

I managed to install successfully.

However i now have:

Warning: require_once(./backlight/framework/Framework.php): failed to open stream: No such file or directory in /home/evg123/public_html/index.php on line 17

Fatal error: require_once(): Failed opening required './backlight/framework/Framework.php' (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear') in /home/evg123/public_html/index.php on line 17

on my home page.

i have cleared cache.

Offline

#7 2018-09-14 08:16:51

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,078
Website

Re: Backlight 2 Install Troubles

That usually means that you didn't replace index.php in your home directory with the one that came with the installer zip file.


Daniel Leu | Photography   
DanielLeu.com

Offline

#8 2018-09-14 08:30:15

Evagoras
Member
From: London, UK
Registered: 2013-11-14
Posts: 117
Website

Re: Backlight 2 Install Troubles

Thanks Dan

As well as
    /.htaccess
    /index.php

do i also delete:
/581C393BF27AE5119D3758D8857F6B0B.txt
/error_log
/gallery.xml
/lib.php

Last edited by Evagoras (2018-09-14 08:30:33)

Offline

#9 2018-09-14 09:28:55

Evagoras
Member
From: London, UK
Registered: 2013-11-14
Posts: 117
Website

Re: Backlight 2 Install Troubles

OK i think i'm nearly there, just galleries not loading


Warning: require_once(./../../backlight/framework/Framework.php): failed to open stream: No such file or directory in /home/evg123/public_html/portfolio/blog/lib.php on line 48

Fatal error: require_once(): Failed opening required './../../backlight/framework/Framework.php' (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear') in /home/evg123/public_html/portfolio/blog/lib.php on line 48

Offline

#10 2018-09-14 09:29:57

Evagoras
Member
From: London, UK
Registered: 2013-11-14
Posts: 117
Website

Re: Backlight 2 Install Troubles

this is done

Daniel Leu wrote:

That usually means that you didn't replace index.php in your home directory with the one that came with the installer zip file.

Offline

#11 2018-09-14 09:34:15

Evagoras
Member
From: London, UK
Registered: 2013-11-14
Posts: 117
Website

Re: Backlight 2 Install Troubles

Evagoras wrote:

this is done

Daniel Leu wrote:

That usually means that you didn't replace index.php in your home directory with the one that came with the installer zip file.

its cool, updated album files

Offline

#12 2018-09-15 00:59:26

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,078
Website

Re: Backlight 2 Install Troubles

smile


Daniel Leu | Photography   
DanielLeu.com

Offline

Board footer

Powered by FluxBB