Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

syntax error in cache/_count_tree_all.tmp.php
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=3742
Page 1 of 1

Author:  acroglobal [ 9. Oct 2014, 21:55 ]
Post subject:  syntax error in cache/_count_tree_all.tmp.php

Attempting to open /twg21/ or /twg22/ we get this error:

Parse error: syntax error, unexpected T_STRING, expecting ']' in /home/acroglobal/irishnewengland.com/twg22/cache/_count_tree_all.tmp.php on line 1

Contents of _count_tree_all.tmp.php:

<?php $_SESSION["count_treecpictures/L Street Brownies - New Years Day 2012"] = 12;$_SESSION["count_treecpictures/A Perspective on the Irish Economy in 2014 - Boston 29 September 2014"] = 10;$_SESSION["count_treecpictures/St Augustine Chapel & Cemetery - South Boston, MA 17 March 2012"] = 7;$_SESSION["count_treecpictures/International Irish Famine Commemoration - Boston May 5, 2012"] = 8;$_SESSION["count_treecpictures/South Boston St. Patricks Day Parade - March 18, 2012"] = 44;$_SESSION["count_treecpictures/Tourism Ireland "Jump into Ireland" event - Boston Harbor Hotel 25 September 2014"] = 13;$_SESSION["count_treecpictures"] = 94; ?>

We can make this problem go away TEMPORARILY by cleaning cache. But it comes back after restarting PC or browser. This happens with any browser on any PC we have.

We don't have this problem on other sites running twg2 - just the one with twg21 which we updated to twg22 to try to fix problem (It didn't.)

We have also removed all apostrophes from gallery names (but not from photo captions). Didn't help.

How can we overcome this?

Thank you.

Author:  TinyWebGallery [ 9. Oct 2014, 22:27 ]
Post subject:  Re: syntax error in cache/_count_tree_all.tmp.php

Tourism Ireland "Jump into Ireland" event - Boston Harbor Hotel 25 September 2014

Seems to be the folder that is causing that. Please use a foldername.txt to use this kind of folder names.

Best, Michael

Author:  acroglobal [ 10. Oct 2014, 17:56 ]
Post subject:  Re: syntax error in cache/_count_tree_all.tmp.php

Removed the " from that gallery name, and that seems to have fixed the problem.

Thanks very much.

-DB

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/