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
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
Last edited by MoritzCH (2014-11-30 02:39:06)
Offline
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
-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
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
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
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.
Offline
I've gone ahead with a 7.0.11c2 hotfix fort his issue, available for download now.
Offline
Pages: 1