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.
You are not logged in.
Pages: 1
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 25Please report error at http://community.theturninggate.net
Luckily i restored my site via a backup.
I wanna cry!
Offline
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
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
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, Backlight 2/3 test site
Offline
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
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
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
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
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
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
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
this is done
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
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
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
Pages: 1