Forums / All Other Contributions/Addons / Testimonial Manager Support Thread

Testimonial Manager Support Thread

Started by clydejones on 11 Jan 2007, 10:12 PM · Views: 278,959

Results 1,421 to 1,440 of 1,502
27 Aug 2012, 2:28 PM
#1421
olcs avatar

olcs

New Zenner

Join Date:
Dec 2011
Posts:
92
Plugin Contributions:
0

Testimonial Manager Support Thread

Hi,

I wonder if someone can help me? I have just installed this mod on my site however it doesn't appear to be working correctly. When I try to add a new testimonial by clicking 'Add a Testimonial' from the sidebox it just displays a blank page. I have disabled the option for only registered users to be able to post a testimonial for testing purposes.

My website is:

h t t p : / / w w w. o u r l i t t l e c o t t a g e s h o p . c o . u k

The testimonials sidebox is on the left side of the homepage.

I would appreciate any help any one is able to give.

Many thanks

27 Aug 2012, 2:47 PM
#1422
olcs avatar

olcs

New Zenner

Join Date:
Dec 2011
Posts:
92
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Have just found out that the error being produced is:

PHP Fatal error: Cannot redeclare zen_db_insert_id() in /web/docroot/1870/ourlittlecottageshop.co.uk/htdocs/includes/functions/testimonials.php on line 12

Any help would be really appreciated!

29 Aug 2012, 8:52 PM
#1423
olcs avatar

olcs

New Zenner

Join Date:
Dec 2011
Posts:
92
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Has anyone got any thoughts on what may be causing this error?

Many thanks

29 Aug 2012, 10:13 PM
#1424
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Testimonial Manager Support Thread

OLCS:

Has anyone got any thoughts on what may be causing this error?

Many thanksSounds like you have two files in the htdocs/includes/functions folder both trying to declare the same class.. You need to figure out which file is the one causing the conflict.. BTW the most common cause is folks leaving "backup" files on their site which are both being executed because the .php file extension is left in place on the "backup" file..

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.

30 Aug 2012, 5:47 PM
#1425
olcs avatar

olcs

New Zenner

Join Date:
Dec 2011
Posts:
92
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Hi DivaVocals,

Many thanks for responding. I have searched through each of the php files within the directory you suggested and none of them appear to be declaring the same class as the testimonials.php file. I have also checked that there aren't any backup files within that directory. The contents of the testimonials.php is:

<?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.2 4-16-2010 Clyde Jones $ */ function zen_db_insert_id() { return mysql_insert_id(); } //EOF This same function does not appear in any of the other files in the htdocs/includes/functions directory so I am still at a bit of a loss as to what is causing this problem. Is there any further help you can give me please? Many thanks
30 Aug 2012, 6:15 PM
#1426
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Testimonial Manager Support Thread

It's possible another add-on you've installed is causing the issue.. suggest using the developer tools in Zen Cart to find out where else that class is being declared..

OLCS:

Hi DivaVocals,

Many thanks for responding. I have searched through each of the php files within the directory you suggested and none of them appear to be declaring the same class as the testimonials.php file. I have also checked that there aren't any backup files within that directory. The contents of the testimonials.php is:

<?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.2 4-16-2010 Clyde Jones $ */ function zen_db_insert_id() { return mysql_insert_id(); } //EOF This same function does not appear in any of the other files in the htdocs/includes/functions directory so I am still at a bit of a loss as to what is causing this problem. Is there any further help you can give me please? Many 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.

30 Aug 2012, 6:22 PM
#1427
olcs avatar

olcs

New Zenner

Join Date:
Dec 2011
Posts:
92
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

DivaVocals:

It's possible another add-on you've installed is causing the issue.. suggest using the developer tools in Zen Cart to find out where else that class is being declared..

Thanks again DivaVocals.

I have just used the Developers Toolkit and the only files it came back as having the text: function zen_db_insert_id() in them are testimonals.php and admin/includes/functions/database.php (my admin file is renamed but have put it in this post as the default).

Could it be this file therefore that is causing the problem?

Thanks

30 Aug 2012, 6:35 PM
#1428
olcs avatar

olcs

New Zenner

Join Date:
Dec 2011
Posts:
92
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Actually I have just realised that admin file is actually an unmodified core file, therefore if that file is causing the problem then surely there is an issue with the testimonials add on isn't there?

30 Aug 2012, 8:53 PM
#1429
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Testimonial Manager Support Thread

OLCS:

Actually I have just realised that admin file is actually an unmodified core file, therefore if that file is causing the problem then surely there is an issue with the testimonials add on isn't there?

Your problem is with the /includes/functions/testimonials.php. Check and make sure the file uploaded correctly and it is the right file-size. I know that is the only file which could be causing you the trouble unless like Diva said you have another add on casing it.

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation

30 Aug 2012, 9:02 PM
#1430
olcs avatar

olcs

New Zenner

Join Date:
Dec 2011
Posts:
92
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

countrycharm:

Your problem is with the /includes/functions/testimonials.php. Check and make sure the file uploaded correctly and it is the right file-size. I know that is the only file which could be causing you the trouble unless like Diva said you have another add on casing it.

Hi CountryCharm,

Thanks for your response. I have re-checked the file and it has uploaded correctly. These are the contents of the file:

<?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.2 4-16-2010 Clyde Jones $ */ function zen_db_insert_id() { return mysql_insert_id(); } //EOF As mentioned in my post above, the only other file within my store that has the same function as testimonials.php is admin/includes/functions/database.php Have no idea why it's not working for me unfortunately, so I guess I am just going to have to do without this add on. Thank you for your help though
30 Aug 2012, 9:28 PM
#1431
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Testimonial Manager Support Thread

OLCS:

Hi CountryCharm,

Thanks for your response. I have re-checked the file and it has uploaded correctly. These are the contents of the file:

<?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.2 4-16-2010 Clyde Jones $ */ function zen_db_insert_id() { return mysql_insert_id(); } //EOF As mentioned in my post above, the only other file within my store that has the same function as testimonials.php is admin/includes/functions/database.php Have no idea why it's not working for me unfortunately, so I guess I am just going to have to do without this add on. Thank you for your help though

I don't have a clue why it is not working for you. If everything uploaded correctly and is in there rightful place making sure you have renamed the YOUR_TEMPLATE folder to your custom folder name and the admin folder name to yours it should work with no problem. Sorry you couldn't get it to work for you.

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation

30 Aug 2012, 9:36 PM
#1432
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Testimonial Manager Support Thread

I have this working on a client site.. I will look to see which file this function shows up in (I kept calling is a class incorrectly..) You cannot declare it twice which is why you are getting the error.. I'll let you know what I find..

OLCS:

Hi CountryCharm,

Thanks for your response. I have re-checked the file and it has uploaded correctly. These are the contents of the file:

<?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.2 4-16-2010 Clyde Jones $ */ function zen_db_insert_id() { return mysql_insert_id(); } //EOF As mentioned in my post above, the only other file within my store that has the same function as testimonials.php is admin/includes/functions/database.php Have no idea why it's not working for me unfortunately, so I guess I am just going to have to do without this add on. Thank you for your help though

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.

30 Aug 2012, 9:39 PM
#1433
olcs avatar

olcs

New Zenner

Join Date:
Dec 2011
Posts:
92
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Thank you to you both for all your help. I really do appreciate it. :smile:

30 Aug 2012, 9:56 PM
#1434
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Testimonial Manager Support Thread

OLCS:

Has anyone got any thoughts on what may be causing this error?

Many thanks

OLCS:

Have just found out that the error being produced is:

PHP Fatal error: Cannot redeclare zen_db_insert_id() in /web/docroot/1870/ourlittlecottageshop.co.uk/htdocs/includes/functions/testimonials.php on line 12

Any help would be really appreciated!

OLCS:

Hi DivaVocals,

Many thanks for responding. I have searched through each of the php files within the directory you suggested and none of them appear to be declaring the same class as the testimonials.php file. I have also checked that there aren't any backup files within that directory. The contents of the testimonials.php is:

<?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.2 4-16-2010 Clyde Jones $ */ function zen_db_insert_id() { return mysql_insert_id(); } //EOF This same function does not appear in any of the other files in the htdocs/includes/functions directory so I am still at a bit of a loss as to what is causing this problem. Is there any further help you can give me please? Many thanks

OLCS:

Thanks again DivaVocals.

I have just used the Developers Toolkit and the only files it came back as having the text: function zen_db_insert_id() in them are testimonals.php and admin/includes/functions/database.php (my admin file is renamed but have put it in this post as the default).

Could it be this file therefore that is causing the problem?

Thanks

Okay I looked at my clients store.. I don't have any issues which would cause the same problem you are having (no files declaring the same function the same folder)

That said, your search results using the developers toolkit concerns me.. There are MANY more core files that declare this function and if you say that you are only finding TWO files declaring that function using the developers toolkit, then there is something SERIOUSLY wrong with your store.. (or you are not using the developer's toolkit correctly to get the correct result)

which leads me to believe that one or more things is going on.

  1. You have this add-on installed incorrectly to begin with
  2. You have another add-on with files that declares that same function.

Either way if this is a test store (which it should be..) I suggest rolling back to the state you were before installing testimonials manager and then starting over with your install.. My guess is that you just simply don't have all the files for this add-on in the right places..

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.

30 Aug 2012, 10:16 PM
#1435
olcs avatar

olcs

New Zenner

Join Date:
Dec 2011
Posts:
92
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Hi DivaVocals,

Many thanks again.

That said, your search results using the developers toolkit concerns me.. There are MANY more core files that declare this function and if you say that you are only finding TWO files declaring that function using the developers toolkit, then there is something SERIOUSLY wrong with your store.. (or you are not using the developer's toolkit correctly to get the correct result)

I am guessing I am using the developers toolkit incorrectly as my store seems absolutely fine. In the toolkit I used the "Look up in all files" search wit the following criteria:

Key or Name: function zen_db_insert_id()
All Files Look-ups: All Files - Catalog/Admin
File type: php only

This is the search that only returned 2 results. Is what I have done incorrect?

I'll roll back as you suggested and do a full re-install.

Thanks

Lee

30 Aug 2012, 10:36 PM
#1436
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Testimonial Manager Support Thread

You need to search "zen_db_insert_id()". It's looking for an exact match to your string which is why you are not getting the right result.. Try the search again before you rollback..

OLCS:

Hi DivaVocals,

Many thanks again.

I am guessing I am using the developers toolkit incorrectly as my store seems absolutely fine. In the toolkit I used the "Look up in all files" search wit the following criteria:

Key or Name: function zen_db_insert_id()
All Files Look-ups: All Files - Catalog/Admin
File type: php only

This is the search that only returned 2 results. Is what I have done incorrect?

I'll roll back as you suggested and do a full re-install.

Thanks

Lee

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.

18 Sep 2012, 7:38 PM
#1437
amandas avatar

amandas

New Zenner

Join Date:
Sep 2012
Posts:
9
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Hi I am wondering if there is a way to edit the Testimonial Manager to only show on the main page, as it is out of alignment on my other pages.
Thanks

19 Sep 2012, 6:29 AM
#1438
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Testimonial Manager Support Thread

AmandaS:

Hi I am wondering if there is a way to edit the Testimonial Manager to only show on the main page, as it is out of alignment on my other pages.
Thanks

It always a good idea to show a link to your site so we can see the problem you are having.

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation

19 Sep 2012, 3:26 PM
#1440
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Testimonial Manager Support Thread

AmandaS:

Hi I am wondering if there is a way to edit the Testimonial Manager to only show on the main page, as it is out of alignment on my other pages.
Thanks

AmandaS:

http://qualityhairlace.com/store/index.php?main_page=
Sorry & Thank You :P

Okay.. so what EXACTLY is your "alignment"issue??? Please don't take this wrong, but you've provided very little information, and we cannot know what it is you are having issues with without DETAILS.. So far looking at your page I have NO IDEA what the issue is you are reporting..

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.