PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 25th, 2010, 04:36 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2010
Posts: 2
Images not showing in Galleries

Sometime recently the images stopped working & this error is being shown.

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/dahubb/public_html/gallery/templates/showgallery.tmpl on line 262

I have checked the php file & can see nothing missing.
as Below : 262 to 267

echo "<option value="f"". ($sortby=="f" ? " selected="selected"" : "") .">{$Globals['pp_lang']['filename']}</option>";
echo "<option value="s"". ($sortby=="s" ? " selected="selected"" : "") .">{$Globals['pp_lang']['filesize']}</option>";
echo "<option value="r"". ($sortby=="r" ? " selected="selected"" : "") .">{$Globals['pp_lang']['rating']}</option>";
echo "<option value="l"". ($sortby=="l" ? " selected="selected"" : "") .">{$Globals['pp_lang']['lastcomment']}</option>";
echo "<option value="d"". ($sortby=="d" ? " selected="selected"" : "") .">{$Globals['pp_lang']['posted']}</option>";
echo "<option value="v"". ($sortby=="v" ? " selected="selected"" : "") .">{$Globals['pp_lang']['views']}</option></select>";

The site is here

Da Hub Gone Postal Stamps & Postal History photo gallery - Da Hub Virtual gallery

Any help would be much appreciated, it was working, now is not ??

Thanks in advance
Steve
dahubbpostal is offline   Reply With Quote
Old July 25th, 2010, 09:02 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
It looks to me like you have a corrupt template simply redownload the build and upload a clean showgallery template
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 27th, 2010, 12:56 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2010
Posts: 2
Adding a few backslashes did the trick as well.

echo "<option value=\"f\"". ($sortby=="f" ? " selected=\"selected\"" : "") .">{$Globals['pp_lang']['filename']}</option>";
echo "<option value=\"s\"". ($sortby=="s" ? " selected=\"selected\"" : "") .">{$Globals['pp_lang']['filesize']}</option>";
echo "<option value=\"r\"". ($sortby=="r" ? " selected=\"selected\"" : "") .">{$Globals['pp_lang']['rating']}</option>";
echo "<option value=\"l\"". ($sortby=="l" ? " selected=\"selected\"" : "") .">{$Globals['pp_lang']['lastcomment']}</option>";
echo "<option value=\"d\"". ($sortby=="d" ? " selected=\"selected\"" : "") .">{$Globals['pp_lang']['posted']}</option>";
echo "<option value=\"v\"". ($sortby=="v" ? " selected=\"selected\"" : "") .">{$Globals['pp_lang']['views']}</option></select>";

Thanks Steve

I presume a new php update caused it
dahubbpostal is offline   Reply With Quote
Old July 27th, 2010, 07:39 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Okay let us know if you need anything else.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adjust # of Images Showing at Top of Member Galleries? backgroundguy Photopost Pro How Do I...? 3 August 31st, 2009 11:25 AM
Member Galleries not showing up JokerBuzzed Photopost Pro How Do I...? 7 April 19th, 2008 10:09 AM
Galleries not showing Fortissimo Photopost Pro Installation & Upgrades 7 September 11th, 2007 10:30 AM
Some galleries not showing Delw Installs and Upgrade - vBulletin 3.0.X 3 January 7th, 2005 12:03 PM


All times are GMT -5. The time now is 11:10 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0