Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2011
    Posts
    196
    Plugin Contributions
    0

    Default Error in Product Info Page in Admin

    When I goto a product info page in admin, I get a blank screen for all the products.

    Error log:
    Code:
    [28-Jan-2015 14:28:26] PHP Parse error:  syntax error, unexpected T_STRING in /home1/mydomain/public_html/my-admin/includes/modules/product/collect_info.php on line 402
    referred line is here:

    PHP Code:
                                <td class="main" width="100%"><?php echo zen_draw_textarea_field('products_description[' $languages[$i]['id'] . ']''soft''100%''30'htmlspecialchars((isset($products_description[$languages[$i]['id']])iso-latin-1) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id$languages[$i]['id']), ENT_COMPATCHARSETTRUE)); //,'id="'.'products_description' . $languages[$i]['id'] . '"'); ?></td>
    Any ideas?
    Last edited by sle39lvr; 29 Jan 2015 at 07:11 PM.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Error in Product Info Page in Admin

    Where did this come from, in the middle of it?
    Code:
    iso-latin-1
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jan 2011
    Posts
    196
    Plugin Contributions
    0

    Default Re: Error in Product Info Page in Admin

    Not sure.. so just remove that exact chunk?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Error in Product Info Page in Admin

    I recommend you compare that file against the original one from the official Zen Cart zip, and make whatever fixes are appropriate based on the differences you see.
    WinMerge or Beyond Compare will make that as fast as 15 seconds to do the compare and another couple minutes to look at all the differences visually.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v138a error display of date on product info page
    By limii in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 15 Dec 2012, 06:55 AM
  2. Admin Product Info error??????
    By NSABaits in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 22 Dec 2009, 03:52 PM
  3. Product url on orders info page in admin
    By james739 in forum General Questions
    Replies: 1
    Last Post: 3 Jun 2008, 06:32 PM
  4. Error Message on product info page
    By kajunto in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Feb 2007, 03:33 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