My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Here is the error I am getting:
[28-Oct-2013 09:08:21 America/Denver] PHP Parse error: syntax error, unexpected ''<p>Your testimonial will be a' (T_ENCAPSED_AND_WHITESPACE) in /home3/studirj5/public_html/shop/includes/languages/english/extra_definitions/pure_blue_free/testimonials_manager_defines.php on line 30
I'm not sure what that all means.
For one thing your not running the current version of Testimonial Manager. Looks like you are still running v1.5.2 4 and the current version is v1.5.4. Regardless of that the change you want to make will work with no problems at all. There something else wrong causing your issue. You can see that the file you were showed that you were was having a issue is clearly working here. I have my Testimonial Manager set up to show reviews instead.
Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation
I agree.. I made the same change using the latest version of Testimonials Manager and had no issues either. Here's my code:
Code:<?php /** * Testimonials Manager * * @package Template System * @copyright 2007 Clyde Jones * @copyright Portions Copyright 2003-2007 Zen Cart Development Team * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: Testimonials_Manager.php v1.5.4 */ define('BOX_HEADING_TESTIMONIALS_MANAGER', 'Testimonials'); define('TESTIMONIALS_MANAGER_DISPLAY_ALL_TESTIMONIALS', 'View All Testimonials'); define('TESTIMONIALS_BY', 'Project Submitted By: '); define('TESTIMONIALS_MANAGER_ADD_TESTIMONIALS', 'Add A Testimonial'); //Button Defines define('BUTTON_IMAGE_TESTIMONIALS', 'button_testimonials.gif'); define('BUTTON_TESTIMONIALS_ADD_ALT', 'Add My Testimonial'); define('BUTTON_IMAGE_SUBMIT_TESTIMONIALS', 'button_submit_testimonials.gif'); define('BUTTON_TESTIMONIALS_SUBMIT_ALT', 'Submit My Testimonial'); define('BUTTON_IMAGE_VIEW_TESTIMONIALS', 'button_view_testimonials.gif'); define('BUTTON_VIEW_TESTIMONIALS_ALT', 'View All Testimonials'); define('CITY_STATE_SEPARATOR', ', '); define('NAME_SEPARATOR', ' — '); define('TESTIMONIALS_MANAGER_READ_MORE', 'Read More ->'); define('TESTIMONIALS_SUBMIT_THANKS', '<h3>Thank you for submitting a testimonial!</h3>'); define('TESTIMONIALS_SUBMIT_MESSAGE', '<p>Your testimonial will be actived as soon as our store manager reviews it. If you have any questions regarding your testimonial, please contact us.</p><br /><h4>Thanks Again, we look forward to serving you in the future.</h4>'); //EOF
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
To answer the unasked question about the error message you received, if you compare the code above with what you posted, you will notice that the two pound signs are missing. Also, the error message indicated that line 30 of that file had a problem. I'm not sure why it manifests only after making a change, but itseems to me that the two previous poster's suggestion of upgrading to the current version (although, and I have not downloaded the recent version before stating this, it could be possible that the file version # in the file itself has not been updated to reflect the current version, but there was definitely a difference in line 30 of the code). Updating the version # is up to the code author, and depending on the philosophy, may only be updated when a change is made to that file, there are some that would update all files to reflect the most recent version, and then there are those that won't change it at all.
Hopefully though, you now have a better understanding about how to find, troubleshoot, and report the problem maker.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Okay...thanks for everyone's help. I will install the newer version and if I run into any snags...I'll be back!!! LOL...Thanks :)
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Hi Again everyone...well here's what I discovered. I am installing a new cart for someone using the Testimonial Manager once again as a project gallery and ran into the same problem. BUT...I figured out that if you modify the file and then upload it it allows me to do what I want.
To refresh...I was trying to change the Testimonial By: area to read Project Submitted By: and when I would change the testimonials_manager_defines.php in the includes/languages/english/extra_definitions/mycustomtemplate the entire store would disappear to a white screen.
I just changed the file and re-uploaded it and it's working fine and doing what I want. Thanks everyone for all your help.
BTW - The new install was done with the latest version of TM and still gave me the same problem.
So let me get this straight.. You modified the file locally then FTPd it to your site and it worked.. Before that you were trying to modify the file directly from what??? your hosts file manager??? your FTP tool?? Some WYSIWYG Editor you are using??? WHAT??
In any case it sounds like the issue (as I suspected) was NEVER this module, but something you were doing which caused the issue.. the question is what..
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation
Bookmarks