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
First, I would like to say that the CE4 Web Publishing Bundle is a great tool. I recently purchased this tool to build my website and had it up and running two within two weeks of intense commitment to learning the product. My problem is that I made some changes to my site today by removing drop shadows on some fonts and adding an About page. Exported the CE4Pages, CE4Gallery and CE4AutoIndex again and uploaded them to my server. All the changes took but it seems like I created a new one, my gallery pages are now all blank. I deleted all the galleries from the TTG CE4 Publisher and recreated new ones but still the same issue. I can see the gallery thumbnails that I uploaded but when I click on the image the page is blank/white. I tired unchecking the PHPlugins as I thought this was causing the issue and re-exported but still resulting in a blank page when the image is clicked on. What am I doing wrong? Any guidance would be helpful as I really don't want to start from scratch again. phillchevalier.com
Thanks!
Offline
Also, what section would cause this, the CE4pages or CE4gallery?
Offline
I'm thinking this is something in the gallery template. Can you try creating another and switching to it?
Also try disabling the password protection on your existing template and see if that changes anything. I don't think password protection enabled in the template should be an issue, but it's an easy test to try.
It looks like the page is being broken at the primary content (block area). Do you have any special code inserted into the block (copy area)?
Can you try exporting and uploading a gallery (not password protected) to the galleries/ folder and see if that works?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I did try that before posting my question but I will try again. OK, just updated the Gallery and still the same results, blank page. Also, I didn't have the current template password protected and I don't don't have special code in the block area.
Any other suggestions?
Offline
your template here is password protected: http://phillchevalier.com/ttg-be/templa … E4Gallery/
But it really shouldn't matter, just trying to eliminate variables.
Can you post an exported and uploaded gallery to your Galleries page and leave it there so we can take a look? That will narrow the issue to either Gallery or Publisher.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
OK, I tried it again given the path you gave me and inputted the default password and it worked. I could see the picture, by the way I didn't know that's where the gallery was protected. So I exported another gallery unprotected this time and copied it onto the server but still the same results, blank. Is there another box I have checked that causing this?
Also, can you tell me where I can upload my gallery files unless you just meant on the server?
Offline
One quick note, what is the correct place to password protect a gallery if needed? I see you can check the box in both the Gallery page and AutoIndex page? Then when export your pics. to Publisher, there is an option there under features.
Offline
If using Publisher, you just need to enable password protection in the gallery template under the Output Settings control pane. You don't need to add credentials there. To make albums password protected, do that in Publisher when creating or editing the album. Look under the Features tab.
Also, can you tell me where I can upload my gallery files unless you just meant on the server?
I meant to upload an exported gallery to the /galleries/ folder on the server. The gallery link will appear on the Galleries page. This way we can see that the gallery is working as expected and focus attention on Publisher.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks for the tip on password protection. :-)
Sorry, but I'm still having a hard time trying to find where on this site under galleries I can upload my gallery folder. Can you send me the path?
Offline
upload an exported gallery to your site in your /galleries/ folder on your server
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I went ahead and copied it up there so hopefully I placed it in the right location. It's under public_html->galleries->CE4Gallery. I didn't place it in the ttg-be->templates->gallery folder.
Offline
ok. That seems to work as expected so this is probably a Publisher issue.
Let me ask you this: when you made the changes earlier, did you happen to delete any albums via FTP rather than from Publisher? This can cause errors, but usually you'll get an error message when trying to publish.
Since you only have the one album, it might just be easier to remove all albums from the Publisher instance in Lightroom and then delete the ttg-be folder on the server.
Then just start over with the ttg-be folder and upload your galleryand autoindex templates again. That shouldn't take too long, just a matter of going through the ttg-be set up for company name, email, API key, etc.
But if you don't want to go that route, then see this page: http://ce4.theturninggate.net/docs/doku … g_for_help
and send the indicated logs to Ben
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I went ahead and exported another version of the CE4Pages, CE4Gallery and CE4AutoIndex again but still resulted in the same behavior. I also see a gallery snowfield gallery up there that I don't recall putting up there as it's not in my Publisher. Should I upload the ttg-be folder again and start everything from scratch on the server as there seems to be residuals left over?
Also, I'm not sure if this is related, but when I log into the http://phillchevalier.com/ttg-be/admin/ and click on TTG-BE settings or Publisher Settings it throws this error message below. I can still make changes but the error still stays.
Parse error: syntax error, unexpected T_STATIC, expecting T_STRING or T_VARIABLE or '$' in /home5/phillche/public_html/ttg-be/framework/lib/Parsedown.php on line 1489
How can I fix this and can it be tied in to why the gallery page is blank. Thanks.
Offline
OK, I'll try your fix now. I did delete some albums via ftp and not Publisher so I'll deleted everything from the server and upload the ttg-be folder again as it won't take me too long. I'm hoping that will be the fix.
Offline
Unfortunately, that fix didn't work. I deleted everything from the server and uploaded the ttg-be folder, publisher folder, (exported the CE4Pages, CE4Gallery and CE4AutoIndex again from Lightroom CC). I went ahead and uploaded only two galleries to test and it's still blank. My hunch is it's something in CE4Pages. Would the below error message be part of the cause?
Parse error: syntax error, unexpected T_STATIC, expecting T_STRING or T_VARIABLE or '$' in /home5/phillche/public_html/ttg-be/framework/lib/Parsedown.php on line 1489
Any other suggestions?
Last edited by prchevalier (2016-04-20 06:52:04)
Offline
I just deleted the publisher from Lightroom CC by using the add in manager and copied a new version from my original download, re-add it back into Lightroom and still no luck when I published a gallery. Still blank...
Offline
Yep, that error indicates that there's a problem with Parsedown. This is happening to those whose servers are running php 7.
There was an incremental update to TTG-BE to version 2.0.5a to address this. Try downloading TTG-BE again (even though your download will show 2.0.5) and updating the indicated files shown in the Changelog for v2.0.5a:
http://ce4.theturninggate.net/docs/doku … _changelog
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I downloaded the new TTG-BE and uploaded the entire ttg-be folder again to my server since I don't have anything to lose right now. Logged into TTG-BE Admin console and chose settings->ttg-be settings...I still get the error message below. Seems like the new version has not fixed this issue. Do I need to delete everything from the server and try again?
TTG BE Settings
Edit Settings
Parse error: syntax error, unexpected T_STATIC, expecting T_STRING or T_VARIABLE or '$' in /home5/phillche/public_html/ttg-be/framework/lib/Parsedown.php on line 1489
I also tried publishing another gallery again that resulted in the same behavior, a blank screen. Is the error message above the root of my problems as you weren't clear before? Seems like there is no clear fix for this bug and I have to start from scratch which is time consuming.
I can't my head around this because I had it working yesterday even with the error message above which indicates to me the problem lies somewhere else?
Last edited by prchevalier (2016-04-20 09:51:12)
Offline
I suggest contacting Ben. He'll need admin access to ttg-be to see what php version your host is using and if there are any anomalies.
What's weird about that error code is that there are only 1403 lines in the Parsdown.php file.
But let Ben figure it out.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Here's the situation with Parsedown:
* The older version of Parsedown.php (which is 1403 lines long) was compatible with PHP versions lower than 7.
* The newer version of Parsedown.php (which is about 1540 lines long) is compatible with PHP versions above 5.2. (This is something that I only recently became aware of)
I had thought that the error was due to incompatibility between the old Parsedown.php and PHP 7. It is instead due to incompatibility between the new Parsedown.php and PHP 5.2.17
I will be updating the new Parsedown.php file to also be compatible with PHP 5.2. In the mean time, this can be fixed by editing the file ttg-be/framework/lib/Parsedown.php and changing line 1489 from:
$instance = new static();
to:
$instance = new self();
Offline
Ben, the Parsedown.php file that I'm able to download with the existing version of ttg-be (CE4-TTG-BE-205.zip) is only 1403 lines.
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, just want everyone to know that Ben suggestion fixed my issue. I downloaded the CE4-TTG-BE-205a.zip yesterday and edited the ttg-be/framework/lib/Parsedown.php and changed line 1489 from $instance = new static(); to $instance = new self(); and my issue and error message went away.
Rod, the parsedown.php file I downloaded and edited yesterday did goto to line 1539.
Thank you both for your fast and helpful resolution to my problem. Your service was top notch!
Offline
Pages: 1