Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2006
    Location
    Michigan
    Posts
    196
    Plugin Contributions
    0

    Default tpl_list_box_content.php issue

    Okay here is the problem. I am working on converting our template over to the latest version of the cart. As far as I can tell I have worked out almost all the bugs except one.

    I am getting this error when I try to look at a product info:

    Code:
    Fatal error: Cannot use string offset as an array in /home/matthewk/public_html/includes/templates/tm000/common/tpl_list_box_content.php on line 30
    To fix other problems I deleted our custom file and replaced it with the default file just to check errors. If I replace (or remove and let it use default) this file I still get the same error. This leads me to believe it has to do with other override files but I can't seem to figure out which one.

    Like I said..this apears to be the final fix before I can transfer data over to my live site and get it all nice and updated. If anyone has any insight that would be appreciated. Thanks again.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: tpl_list_box_content.php issue

    To fix other problems I deleted our custom file and replaced it with the default file just to check errors. If I replace (or remove and let it use default) this file I still get the same error
    You could follow your process for the other files you have altered to locate the offending file. Once located if you can determine the cause, great or you can then post the file contents or the lines that you have altered for specific assistance.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2006
    Location
    Michigan
    Posts
    196
    Plugin Contributions
    0

    Default Re: tpl_list_box_content.php issue

    Quote Originally Posted by kobra
    You could follow your process for the other files you have altered to locate the offending file. Once located if you can determine the cause, great or you can then post the file contents or the lines that you have altered for specific assistance.
    I just copied over all the default files and am going to rebuild it from the ground up. I will loose a bit of custimization this way but atleast things will be functional.

    Consider the problem solved. Thanks.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: tpl_list_box_content.php issue

    too late...from your original post where you seemed to be using the override system I assumed that you only had altered files in your override folder as it should be.

    But from this post where you state that you have copied over "all the default files" I then have to wonder.

    It is recommended that one only copy altered files to their custom override folders, one to protect them from an upgrade and two to track what files have been edited as you know from your statement that if an edited file is not found, that the default will be used.
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jun 2006
    Location
    Michigan
    Posts
    196
    Plugin Contributions
    0

    Default Re: tpl_list_box_content.php issue

    If it was only that easy. I unfortunately didn't design the template. I took over the project at about 50% and was running Zen Cart 1.2.x. So not only did I not know what files were changed but the ones that were changed are incompatible with the new version.

    I'm going to take time during this upgrade process though and make sure to get things right. Thanks for the help and advice though.

 

 

Similar Threads

  1. PHP Integration Issue
    By lenswipe in forum General Questions
    Replies: 10
    Last Post: 28 Oct 2009, 01:23 AM
  2. PHP issue
    By DieuxSoldat_04 in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 22 Sep 2008, 06:49 AM
  3. sessions.php issue. cant login to admin? PHP 5.2.0
    By Slashdot in forum General Questions
    Replies: 9
    Last Post: 30 Nov 2006, 12:44 PM

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