Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default [Done 1.3.9c] Unknown modifier 'h' in layout_controller.php

    03-May-2010 02:51:37] PHP Warning: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Unknown modifier 'h' in /home2/xxx/public_html/xxx/xxx/admin/layout_controller.php on line 224

    I noticed it on both my own site and my clients after the 1.3.9 upgrade and still there after the 1.3.9b one.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: what does this error mean and how do i fix it?

    On that line you can replace
    Code:
    preg_replace('/' . DIR_FS_CATALOG_MODULES . '/', '', $boxes_directory_template)
    with
    Code:
    str_replace(DIR_FS_CATALOG_MODULES, '', $boxes_directory_template)
    .

    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
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: []what does this error mean and how do i fix it

    Thanks worked like a charm...someday I hope to learn more of this coding stuff but man oh man it is confusing...lol

    have a good week

 

 

Similar Threads

  1. preg_match(): Unknown modifier '0' ???
    By AnglersCorner in forum Upgrading to 1.5.x
    Replies: 5
    Last Post: 1 Jun 2015, 12:36 PM
  2. v139h Error: Unknown modifier '$' in main_product_image.php
    By divinelighting in forum General Questions
    Replies: 12
    Last Post: 27 Sep 2012, 10:26 AM
  3. Replies: 5
    Last Post: 15 Sep 2011, 03:16 PM
  4. preg_replace(): Unknown modifier 'h' in layout_controller.php
    By rashuweb in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 4 May 2011, 01:47 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