 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
March 18th, 2009, 02:51 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2009 Location: Eastern Canada
Posts: 58
| 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
|
| |
March 18th, 2009, 03:47 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Try redownloading the build and reuploading the templates
|
| |
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.
|
| |
March 19th, 2009, 11:45 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Are you using the WYSIWYG editor
|
| |
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 "<p>"
|
| |
March 19th, 2009, 01:43 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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.
|
| |
March 19th, 2009, 02:23 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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.
|
| |
March 19th, 2009, 02:40 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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.
|
| |
March 19th, 2009, 08:49 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
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.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 05:41 PM. | |