Results 1 to 7 of 7
  1. #1

    Default Warning: preg_match

    Hi hope someone might be able to help me here i was doing my featured items for the month, and went to my website to view, and when i clicked on the item i get this on my website. This to my knowledge is only on the one item. So i deleted the item and redid it to the same avail.
    Regards
    Vicki

    Here is the link to view the error
    http://www.pyewhacket.com/index.php?...roducts_id=848

    Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 17 in /home/pye35565/public_html/includes/modules/pages/product_info/main_template_vars_images_additional.php on line 52

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Warning: preg_match

    What version of Zen Cart are you using?
    Was this an upgrade? from what version?
    What addons/contributions are installed?
    What is unique to this product vs other products?
    When did this start happening?
    What else has changed on the site or server recently, esp around the time this started happening?
    .

    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

    Default Re: Warning: preg_match

    Hi
    I just changed the name of the image and it seems ok ?

    http://www.pyewhacket.com/index.php?...roducts_id=848

    Zen Cart 1.2.6
    No ive not done any upgrades. I am not sure about doing this.
    No addons or contributions as i am aware.
    Nothing unique compared to other items.
    Not sure when it started, i was adding featured itms on the first of month like usual.

    Regards
    Vicki

  4. #4
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Warning: preg_match

    What was the old image called?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5

    Default Re: Warning: preg_match

    Hi it was
    w c yin yan comp]

    and renamed to
    w c yin yan

    Regards
    Vicki

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Warning: preg_match

    Just because Windows lets you use spaces in filenames doesn't mean that it is a good thing to do. Other software may interpret a space as the end of a name, or otherwise mess up.

    Much better to use - or _ when you need to separate words in a filename, and no other characters ever (beside ".").

  7. #7

    Default Re: Warning: preg_match

    Hi I very rarely use characters in my file names I am asuming this was an honest type o :)
    Thanks for your advice however :)
    Regards
    Vicki

 

 

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. USPS Shipping Version: 2013-07-28 J - Preg_Match Warnings
    By jbible in forum Addon Shipping Modules
    Replies: 3
    Last Post: 29 Jul 2013, 09:28 PM
  3. preg_match() Unknown modifier 'a' warning in Admin Additiona Images addon
    By dlamar in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 26 Mar 2010, 03:20 PM
  4. Warning: preg_match(): Compilation failed: missing ) ... using Tabbed Products Lite
    By spottedhaggis in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 19 Mar 2009, 05:39 PM
  5. Fatal Error Call to undefined function: preg_match
    By droland in forum General Questions
    Replies: 3
    Last Post: 3 May 2008, 06:58 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