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 2014-11-30 02:38:53

MoritzCH
Member
From: Switzerland
Registered: 2014-02-25
Posts: 108
Website

Bug on Export with 7.0.11

Hey,

I tried to upgrade my plugins and found an error (at least I had it)  during the export

Parse error: syntax error, unexpected '.' in /var/www/vhosts/hosting2224.af917.netcup.net/httpdocs/about.php on line 85

After some quick search I found this line

define("PAGEIMAGE", .lib/images/identityplate.png);

I think it should be

define("PAGEIMAGE", "lib/images/identityplate.png");

with some "" before and behind the url.

Hope it helps smile

Last edited by MoritzCH (2014-11-30 02:39:06)

Offline

#2 2014-11-30 04:21:20

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

Re: Bug on Export with 7.0.11

I'm not seeing this problem. In my exports, define("PAGEIMAGE",... gives the path to the image assigned to that particular page.
for example, on my about page:

define("PAGEIMAGE", "photos/Barbee_120822_G11_3246.jpg"); 

Can you be more specific? This happened during export? Was it an error that showed up in Lightroom?

Or is this in the browser? If the browser, try clearing your cache and refreshing.

What are your workflow steps that lead to the error message?


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 2014-11-30 06:14:01

MoritzCH
Member
From: Switzerland
Registered: 2014-02-25
Posts: 108
Website

Re: Bug on Export with 7.0.11

-open Lightroom
-click on "web"
-select pages layout and template
-export
and if you open the about.php inside an editor (Notepad ++) you will see this

define("PAGEIMAGE", .lib/images/identityplate.png);

It's only happening on 7.0.11 ... did not had this error before. Already tried to re-install the engine without success.
The error message stated above is within the browser.  The funny thing is that the code of the other files "info.php", "index.php", "galleries.php" is showing this line

define("PAGEIMAGE", "photos/Malediven_2006_013.jpg");

I am using an identity plate on my site so not sure where to start looking for the error causing option. The about page has 2 columns, on the right side some text and on the left this

<img src="photos/portrait.jpg" alt="Miami, USA"/>

Replaced this code with some text but without success

Last edited by MoritzCH (2014-11-30 06:14:48)

Offline

#4 2014-11-30 06:22:11

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

Re: Bug on Export with 7.0.11

are you using the 7.0.11b hotfix that was released earlier today?
http://theturninggate.net/2014/11/ce4-h … 4-updates/

when I export and open the about.php I'm seeing this:
define("PAGEIMAGE", "photos/Barbee_110816_3_1694.jpg");


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

Offline

#5 2014-11-30 06:42:57

MoritzCH
Member
From: Switzerland
Registered: 2014-02-25
Posts: 108
Website

Re: Bug on Export with 7.0.11

I am using the 7.0.11b one. Well for now it's not a big deal for me, just have to remember to change it.

Maybe I should reinstall all plugins again to make sure everything is fine

Offline

#6 2014-11-30 07:47:36

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

Re: Bug on Export with 7.0.11

might be a good idea. As I said, I'm not seeing the same problem and I've made several Pages exports for my test site as well as my current site's redesign.


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

Offline

#7 2014-11-30 11:04:13

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Bug on Export with 7.0.11

This is a legitimate issue, one that got by me.

A workaround is to put an image on the page.

Alternatively, the fix should be to open and edit the file /lib/lua/setup.lua in the plugin, and location this line:

        pageImage = theRoot .."lib/images/identityplate.png"

Change to:

        pageImage = "\"" .. theRoot .."lib/images/identityplate.png\""

This only affects CE4 Pages, no other plugins.


Matt

The Turning Gate, http://theturninggate.net

Offline

#8 2014-11-30 11:13:30

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Bug on Export with 7.0.11

I've gone ahead with a 7.0.11c2 hotfix fort his issue, available for download now.


Matt

The Turning Gate, http://theturninggate.net

Offline

#9 2014-11-30 16:22:43

MoritzCH
Member
From: Switzerland
Registered: 2014-02-25
Posts: 108
Website

Re: Bug on Export with 7.0.11

Working great, thank you!

Offline

Board footer

Powered by FluxBB