Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2006
    Posts
    20
    Plugin Contributions
    0

    Default Fatal Error Call to undefined function: preg_match

    V 1.3.6, no recent changes.
    I am getting these error randomly in the store and admin:

    ADMIN gets this:
    Fatal error: Call to undefined function: preg_match() in /home/qualityw/public_html/store/admin/includes/application_top.php on line 109

    STORE gets this:
    Fatal error: Call to undefined function: preg_match() in /home/qualityw/public_html/store/admin/includes/application_top.php on line 80

    www.qualitywindowscreen.com

    Anyone know what is happening?
    Dan

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

    Default Re: Fatal Error

    preg_match() is a PHP function.

    If it's not available in your PHP then either you're using an old version of PHP or your host has removed preg support from their PHP install. You'll probably need to talk to your hosting company to resolve that matter.
    .

    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
    Dec 2006
    Posts
    20
    Plugin Contributions
    0

    Default Re: Fatal Error

    Quote Originally Posted by DrByte View Post
    preg_match() is a PHP function.

    If it's not available in your PHP then either you're using an old version of PHP or your host has removed preg support from their PHP install. You'll probably need to talk to your hosting company to resolve that matter.
    Hosting company is siteground and they are no help at all.

    They say it is not their problem.

  4. #4
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,927
    Plugin Contributions
    4

    Default Re: Fatal Error Call to undefined function: preg_match

    It would seem as though your hosting company has not compiled in the Perl Compatible Regular Expression libraries.

    I would ask them specifically about that :)

 

 

Similar Threads

  1. Fatal error: Call to undefined function:
    By Spdster in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 10 May 2008, 05:17 AM
  2. Fatal error: Call to undefined function
    By Brenda in forum General Questions
    Replies: 1
    Last Post: 9 Oct 2006, 08: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