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 2017-07-01 06:52:16

randyhoffner
Member
Registered: 2017-07-01
Posts: 69

Error after installation of Backlight 1.2.0

After installation and update of Backlight 1.2.0, I get this error message when I navigate to the site:


DOMDocument::schemaValidate() generated Errors for ./backlight/modules/module-pages/module.xml

Validation Errors:

Array
(
    [0] => LibXMLError Object
        (
            [level] => 2
           

 => 1871
            [column] => 0
            [message] => Element 'parentProductSuites': This element is not expected. Expected is ( identifier ).

            [file] => /home/randyh6/public_html/backlight/modules/module-pages/module.xml
            [line] => 5
        )

)

    (not part of error message)

Apparently does not like 'parentProductSuites'.  I confirmed that the module.xml file uploaded is identical to the file in the update download.  The 'parentProductSuites' section was added to the module.xml file in the updated version, does not appear in the previous release.

Randy Hoffner

Offline

#2 2017-07-01 07:26:16

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

Re: Error after installation of Backlight 1.2.0

Hi Randy, it looks like not all of your files have been updated.  The validation is handled by backlight/designer/modiule.xsd.

I suggest removing backlight/designer/ and re-uploading it to ensure that this file and all other design files have been uploaded correctly.  You may also want to do the same for the other directories that have been changed (e.g. admin, framework, publisher, etc.)

Offline

#3 2017-07-01 08:11:11

randyhoffner
Member
Registered: 2017-07-01
Posts: 69

Re: Error after installation of Backlight 1.2.0

Okay, I did all that and I now get a Backlight page that says in red, "Something went wrong.  Unable to find index page".  Backlight admin updated and all looks good.

I notice that in the Backlight-Pages-120 folder (not in the backlight folder contained therein) there are three files:  index.php , .htaccess , and .DS_Store .  Do any of these files need to be uploaded?

Randy

Offline

#4 2017-07-01 08:13:47

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

Re: Error after installation of Backlight 1.2.0

Hi Randy, index.php and .htaccess only need to be uploaded if you're performing a fresh install.  .DS_Store can be ignored.  That file shouldn't be in the zip, so I'll review my deployment scripts to remove it in future.

Offline

#5 2017-07-01 08:14:34

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

Re: Error after installation of Backlight 1.2.0

the update instructions include removing and replacing certain files. Could you have accidentally removed the index.php file that should be in the backlight/ folder?

If you're using the Pages module, the index.php  and .htaccess files must be uploaded:
http://backlight.theturninggate.net/doc … on_install


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 2017-07-01 08:22:20

randyhoffner
Member
Registered: 2017-07-01
Posts: 69

Re: Error after installation of Backlight 1.2.0

...and it occurs to me that I might need to update Theater before the thing works?

Offline

#7 2017-07-01 08:32:37

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

Re: Error after installation of Backlight 1.2.0

Hi Randy, are you using a Mac?  MacOS automatically adds .DS_Store files to folders.  We develop on Macs, but our deploy scripts automatically remove these files so that they are not added to the zip files.

Offline

#8 2017-07-01 08:57:36

randyhoffner
Member
Registered: 2017-07-01
Posts: 69

Re: Error after installation of Backlight 1.2.0

Right.  Somehow, I missed installing the new /module-pages.  All good now!  Thanks to both of you.

Randy

Offline

#9 2017-07-01 08:59:04

randyhoffner
Member
Registered: 2017-07-01
Posts: 69

Re: Error after installation of Backlight 1.2.0

And yes, I sort of recognized .DS_Store from folders made on my Mac.  Was pretty sure it didn't belong on the server.

Offline

Board footer

Powered by FluxBB