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 Classifieds Support > Classifieds Installation & Upgrades

Classifieds Installation & Upgrades If you're having install or upgrade problems, post here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old March 18th, 2009, 02:51 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2009
Location: Eastern Canada
Posts: 58
Question Editing Ad After Upgrading

I just finishing upgrading to 3.1 and one thing I noticed is when I try and edit an ad I am getting this error. How would I go about correcting this?

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/cycl2580/public_html/vbclassified/templates/vb3enhanced/editproduct.tmpl on line 12
Tr!p is offline   Reply With Quote
Old March 18th, 2009, 03:47 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Try redownloading the build and reuploading the templates
__________________
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 March 19th, 2009, 09:52 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2009
Location: Eastern Canada
Posts: 58
Thank you, that corrected that problem.
I noticing when a user places an ad, within the description it will show <p> </p> and <br> </br> etc, I have even tried editing and retyping the ads but the html tags still remain.
Tr!p is offline   Reply With Quote
Old March 19th, 2009, 11:45 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Are you using the WYSIWYG editor
__________________
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 March 19th, 2009, 01:41 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Mar 2009
Location: Eastern Canada
Posts: 58
I had it set on basic. I tried turning it off, and the html code was replaced with "&lt;p&gt"
Tr!p is offline   Reply With Quote
Old March 19th, 2009, 01:43 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
well you are using the WYSIWYG editor whether basic or advanced and it inserts <p> and <br /> tags thats normal I beleive for that product.
__________________
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 March 19th, 2009, 02:01 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Mar 2009
Location: Eastern Canada
Posts: 58
Have a look and tell me if the description looks right to you
1997 Suzuki GSXR 750 SRAD - Hardcore Biker Classifieds
To me, it should not matter what mode the editor is in. When a viewer is reading the description he/she should not see the html code.
Tr!p is offline   Reply With Quote
Old March 19th, 2009, 02:23 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
You can try adding in showproduct.php under this line the line in bold.

Code:
Content visible to verified customers only.
__________________
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 March 19th, 2009, 02:31 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Mar 2009
Location: Eastern Canada
Posts: 58
Do you mean this?? I'm not finding a reference to "editor"
Code:
Content visible to verified customers only.
Tr!p is offline   Reply With Quote
Old March 19th, 2009, 02:40 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
what version are you using? That might be your issue did you upload the new showproduct.php file if your using 3.1. I noted in the announcement you want to upload most everything was changed.

Omegatron Classifieds - test

If you dont see an editor line in showproduct.php your not using the latest version of showproduct.php
__________________
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 March 19th, 2009, 03:13 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Mar 2009
Location: Eastern Canada
Posts: 58
I'm sorry, my mistake. I did find that reference and inserted that piece of code and seems to have corrected the issue. Thank you

Last edited by Tr!p; March 19th, 2009 at 03:28 PM.
Tr!p is offline   Reply With Quote
Old March 19th, 2009, 08:49 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
I was getting read to say the line I noted was 2 lines down from the line you note.
__________________
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing ad - error CGMathis Classifieds How do I...? 2 October 26th, 2006 09:20 PM
Upgrading and moving the forum.. moving and upgrading the gallery... ThomasR General Discussion 14 July 7th, 2006 05:50 AM
editing emails spartanic ReviewPost How do I...? 1 March 11th, 2006 12:47 PM
editing categories fionn General Discussion 4 February 26th, 2006 06:35 PM
Editing templates KingAdora Photopost Pro Installation & Upgrades 1 October 23rd, 2005 11:01 AM


All times are GMT -5. The time now is 05:41 PM.

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