Page 143 of 151 FirstFirst ... 4393133141142143144145 ... LastLast
Results 1,421 to 1,430 of 1501
  1. #1421
    Join Date
    Dec 2011
    Posts
    92
    Plugin Contributions
    0

    Default 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!

  2. #1422
    Join Date
    Dec 2011
    Posts
    92
    Plugin Contributions
    0

    Default Re: Testimonial Manager Support Thread

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

    Many thanks

  3. #1423
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Testimonial Manager Support Thread

    Quote Originally Posted by OLCS View Post
    Has anyone got any thoughts on what may be causing this error?

    Many thanks
    Sounds 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.

  4. #1424
    Join Date
    Dec 2011
    Posts
    92
    Plugin Contributions
    0

    Default 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
    Last edited by OLCS; 30 Aug 2012 at 06:48 PM. Reason: fat fingers

  5. #1425
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default 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..

    Quote Originally Posted by OLCS View Post
    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.

  6. #1426
    Join Date
    Dec 2011
    Posts
    92
    Plugin Contributions
    0

    Default Re: Testimonial Manager Support Thread

    Quote Originally Posted by DivaVocals View Post
    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

  7. #1427
    Join Date
    Dec 2011
    Posts
    92
    Plugin Contributions
    0

    Default 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?
    Last edited by OLCS; 30 Aug 2012 at 07:35 PM. Reason: can't spell!

  8. #1428
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Testimonial Manager Support Thread

    Quote Originally Posted by OLCS View Post
    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

  9. #1429
    Join Date
    Dec 2011
    Posts
    92
    Plugin Contributions
    0

    Default Re: Testimonial Manager Support Thread

    Quote Originally Posted by countrycharm View Post
    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

  10. #1430
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Testimonial Manager Support Thread

    Quote Originally Posted by OLCS View Post
    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

 

 

Similar Threads

  1. v150 Testimonial Manager Support Thread (for ZC v1.5.x)
    By countrycharm in forum All Other Contributions/Addons
    Replies: 261
    Last Post: 13 Jan 2025, 11:14 PM
  2. Link Manager 3.0 Support Thread
    By clydejones in forum Addon Sideboxes
    Replies: 1987
    Last Post: 6 Aug 2021, 02:56 PM
  3. Poll Manager Support Thread
    By boudewijn in forum Addon Sideboxes
    Replies: 148
    Last Post: 27 Jan 2016, 09:53 AM
  4. Empty Cart Manager [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 49
    Last Post: 26 May 2010, 10:26 AM
  5. [Support Thread] Simple Video Manager
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 1 Nov 2008, 02:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR