Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2006
    Posts
    142
    Plugin Contributions
    0

    Default Fatal Errors after adding product

    I added 1 manufacturer and 3 products today, and after doing that, I went to check that the products all showed up good, but now when I click on any product in the store (except for 1 product), instead of the prodcut description and price, I get an error screen:

    Fatal error: Call to undefined function: zen_truncate_paragraph() in /home/content/p/a/p/papersite/html/store/includes/modules/meta_tags.php on line 252

    So, I opened the /includes/modules/meta_tags.php, and found line 252, it says:
    $products_description = zen_truncate_paragraph(strip_tags(stripslashes($product_info_metatags->fields['products_description'])), MAX_META_TAG_DESCRIPTION_LENGTH);

    Can anyone help me figure out what is going on????

  2. #2
    Join Date
    Dec 2004
    Posts
    81
    Plugin Contributions
    0

    Default Re: Fatal Errors after adding product

    I have the same problem , did any one sort it
    http://tackleoutlet.co.uk/index.php?...products_id=24

  3. #3
    Join Date
    Sep 2006
    Posts
    142
    Plugin Contributions
    0

    Default Re: Fatal Errors after adding product

    Basically I just reuploaded the metatags mods...no longer get the fatal error, but I can no longer put meta tags on the products either....

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Fatal Errors after adding product

    What version Zen Cart are you running?

    Clean install or an upgrade? If an upgrade, from what version and how did you do the upgrade?

    What add-ons to you have installed?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Sep 2006
    Posts
    142
    Plugin Contributions
    0

    Default Re: Fatal Errors after adding product

    Who knows what was happening, but after 10 days of this not working, now it seems to work just fine.....

  6. #6
    Join Date
    Feb 2005
    Location
    Melbourne Australia
    Posts
    48
    Plugin Contributions
    0

    Default Re: Fatal Errors after adding product

    Hi guys
    I have a client that has just run into this problem as well in the last few days...
    The exact same error.. in her 1.3.0.1 install, that has been fine for months until now. (not updated)

    error:
    "Call to undefined function: zen_truncate_paragraph() in ............ /includes/modules/meta_tags.php on line 252 "

    Could anyone please help me in the right direction, as top where to start trouble shooting this ... :-)

    Is a quick fix available for this ?

    I uploaded a new meta_tags.php into the modules folder with no result , just the same error.

    any help would be much appreciated :-)

    thanks again
    Steve
    Australia
    http://home-business-host.com - Hosting and Design

    I do it not for you - I do it for the people that did it for me :-)

  7. #7
    Join Date
    Feb 2005
    Location
    Melbourne Australia
    Posts
    48
    Plugin Contributions
    0

    Default Re: Fatal Errors after adding product

    That phantom error just seemed to go away by its self ?? weird ?

    I am currious as to what may have caused it still .

    If anyone could explain it to me , I would be appreciated :-)
    Steve
    Australia
    http://home-business-host.com - Hosting and Design

    I do it not for you - I do it for the people that did it for me :-)

  8. #8
    Join Date
    Sep 2006
    Posts
    142
    Plugin Contributions
    0

    Default Re: Fatal Errors after adding product

    Well, I thought it went away, but it didn't. If I upload product under the GENERAL category, I don't seem to have a problem, I can add metatags.

    However, I have the php download mod (to add downloadable products to the store) and only on those products am I unable to add metatags. If I click on the metatag icon, I get the following error:

    Warning: main(includes/modules/product_dnld/collect_info_metatags.php): failed to open stream: No such file or directory in /home/content/p/a/p/papersite/html/store/admin/product_dnld.php on line 151

    Fatal error: main(): Failed opening required 'includes/modules/product_dnld/collect_info_metatags.php' (include_path='.:/usr/local/lib/php') in /home/content/p/a/p/papersite/html/store/admin/product_dnld.php on line 151

    I use Zen Cart 1.3.0.2

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Fatal Errors after adding product

    It looks like you made a new product type ...

    Did you make all of the files for the new product type so that something exists for all of the files in the Admin?

    It looks like you may have forgotten something such as a file to manage the meta tags or have a typo in the file(s) that you made etc.
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Fatal Errors after upgrade fro 1.3.9f to h
    By DebbyP in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 6 Jan 2011, 12:35 AM
  2. Account Creation Errors - after adding Additional Customer Fields addon
    By slavna77 in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 1 Sep 2008, 05:04 AM
  3. Fatal error after adding rss2html.php application
    By nick04263 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Mar 2007, 04:05 AM
  4. fatal error when adding product
    By gnat in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 26 Jul 2006, 09:42 PM
  5. Fatal errors after clean (successful) install
    By dustygain in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 26 May 2006, 04:31 AM

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