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
i get the following error message on installation of backlight 2...
it shows up immediately after i click install "backlight 2"
Warning: ZipArchive::extractTo(../modules/module-pages/PagesDataModel.php): failed to open stream: Permission denied in /var/www/backlight/installer/lib/Client.php on line 72
module not found at: ../modules/module-publisher
Any insights?
thanks
Phil
Offline
Hi Phil, are you upgrading or installing a new site? Can you try setting the permissions on the backlight/modules directory to the same permissions you have set to the backlight/data directory, and then click "Install Backlight 2" again?
Offline
so i chowned my /var/www directory. then reinstalled backlight 2 as root. voila things appeared to be working.. BUT .. I didn't get a quick settings page and it now looks like there is an issue with my web pages. pkemp.com is the website URL... can you take a look and see what is going on..
Offline
oh to answer your first question. it's an upgrade..
Phil
Offline
Hi Phil, it probably wasn't necessary to set permissions on your entire www directory. Just backlight/modules (and possibly backlight/data and your galleries directories). To fix that error, log into Backlight and go to the Backlight Modules page, then install the Okapi Modules. That's the older generation of web engines that Backlight does not install by default.
Offline
that sort of helped with my landing page. the format is all wrong. in addition when i try to display other pages, I get this error..
Call to undefined method CartHelper::isDevelopment()|#0 /var/www/backlight/publisher/application/init.php(8): GenericApplicationHelper->getLocaliser(Object(ApplicationConfigManager)) #1 /var/www/backlight/framework/init.php(144): require_once('/var/www/backli...') #2 /var/www/Europe-2017/europe-2017/001-budapest/lib.php(56): require_once('/var/www/backli...') #3 /var/www/Europe-2017/europe-2017/001-budapest/index.php(8): require_once('/var/www/Europe...') #4 {main}|URL: /Europe-2017/europe-2017/001-budapest/index.php
what has happenned? are there update issues??
Phil
Offline
Hi Phil, have you missed any steps in the installation instructions? backlight/publisher, amongst other directories, should be removed. Also, make sure to visit the Backlight landing page and clicking Update Album Files.
Offline
i followed the steps on
http://backlight.theturninggate.net/doc … tion_setup
but i have not gone through the rest of the 'getting started with backlight 2'... is that where one is told about the directories to be deleted? and the update albums, which i did find. the landing page and all the photo page formats are not correct. where do i go to update those?
thanks for your help, but i feel like I'm missing a whole lot of documentation on how to upgrade to backlight 2 from previous versions.... are there special links for this?
Thanks again for your help.
Phil
Offline
Hi Phil, it looks like we need to make this documentation more apparent. To upgrade an existing site, follow these steps (which also encompasses the steps for a fresh install):
http://backlight.theturninggate.net/doc … acklight_2
You should be able to retrospectively go back and fill in the gaps, such as the folder removal.
Offline
OK, went back and cleaned up the backlight directory, reinstalled backlight 2 and followed the update instructions. i still get an error when i try to access the site....
Something went wrong
Unable to find module with id standard-page. Make sure this module is installed under backlight/modules/. in EngineFactory.php on line 95
any thoughts?
Phil
Offline
Log into Backlight Admin, visit Backlight > Backlight Modules then install Okapi Modules. They're the old modules that are not installed by default.
Offline
Did you install the Okapi modules?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
yes, i was re-installing all and it didn't pick up the different modules, so i went in and reinstalled each separately. now the photos are showing up but the landing page format is a list of options and not formatted properly. I wonder how the original landing page got lost.
check out the formatting... no bullets with pull down menus.. just a list ... pkemp.com
Phil
Offline
Hi Phil, can you check that there is a file .htaccess under the backlight/ folder? If not, this needs to be copied from backlight/ within the Installer zip file.
Offline
.htaccess is there..
jasper-pi:backlight(220)ls -la
total 44
drwxrwxrwx 6 www-data phil 4096 Sep 9 23:54 .
drwxrwxrwx 196 www-data root 12288 Sep 9 23:54 ..
-rw-r--r-- 1 root root 1713 Sep 9 20:58 .htaccess
drwxrwxrwx 6 www-data phil 4096 Sep 9 23:54 custom
drwxrwxrwx 7 www-data phil 4096 Sep 9 23:54 data
-rw-r--r-- 1 root root 1994 Sep 9 20:58 env.php.skel
-rw-r--r-- 1 root root 594 Sep 9 20:58 index.php
drwxrwxrwx 7 root root 4096 Sep 9 09:05 installer
drwxrwxrwx 18 root root 4096 Sep 10 00:20 modules
jasper-pi:backlight(221)
Cheers
Phil
Offline
Hi Phil, for some reason it's not working. As an example, this URL should load a stylesheet:
http://pkemp.com/backlight/publisher/gallery/stylesheet/style/6
The .htaccess file under backlight/ is meant to map the above request to this:
http://pkemp.com/backlight/?m=publisher&c=gallery&a=stylesheet&p1=style&p2=6
which *does* load the stylesheet correctly.
Is this your own server that you're managing? If so, make sure that mod_rewrite is enabled and AllowOverride set to All. If not, then can you provide me with FTP access via Email so that I can look into this?
Offline
it was the allowoverride ... i enabled it for /var/www and so far everything looks good....
I think, Finally!
Thanks Ben.
Phil
Offline
Pages: 1