Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: usps shipping module installation problems

    Quote Originally Posted by ken1 View Post
    ... PHP Warning: preg_replace() has been disabled for security reasons ...
    Contact your hosting provider and tell them you need to be able to use preg_replace().

    If they are not willing to allow the use of preg_replace, you may wish to change to a different hosting provider. The function preg_replace is used by a number of Zen Cart plugins..
    Last edited by lhungil; 23 Apr 2014 at 07:17 PM.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  2. #12
    Join Date
    Mar 2014
    Location
    Central California
    Posts
    104
    Plugin Contributions
    0

    Default Re: usps shipping module installation problems

    I have checked with my hosting company and apparently they have preg_replace disabled and will check for
    a work around.
    Is there a manual way to make the changes.
    k1

  3. #13
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: usps shipping module installation problems

    If your host is too scared to re-enable preg_replace (and the other preg_ functions) (those are all normally enabled by default) then your host is not capable of running Zen Cart or other advanced website applications. Chances are that they're being frequently hacked and don't know how to secure their servers properly, so they're applying a very inefficient broad brush which cripples normal people like you. Find another host: http://www.zen-cart.com/content.php/3-services
    .

    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.

  4. #14
    Join Date
    Mar 2014
    Location
    Central California
    Posts
    104
    Plugin Contributions
    0

    Default Re: usps shipping module installation problems

    Thanks everyone for the help.
    I got in touch with my hosting company and they re-enabled the preg_replace function.
    That seems to have taken care of the problem.
    I installed the usps shipping module and now I can input my user information into it.
    k1

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

    Default Re: usps shipping module installation problems

    Thanks for the update that your hosting provider was finally able to set the settings correctly and that this are now working ...
    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!

  6. #16
    Join Date
    Mar 2014
    Location
    Central California
    Posts
    104
    Plugin Contributions
    0

    Default Re: usps shipping module installation problems

    To give a update for any one having this problem. I started being unable to edit the USPS module and looked in the log folder for
    any errors. I was getting the preg_replace error again.
    I contacted my hosting company and here is what they said,
    The following line must be in your .htaccess file in order for preg_replace() to be enabled for your hosting account:
    suPHP_ConfigPath /home/hidden/public_html
    If that line is not in your .htaccess file, then preg_replace() will be disabled for your hosting account.

    Sure enough the line was added and instantly I was able to edit.

    I hope this helps.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v154 USPS Module Installed, set for Production, but no USPS Shipping Choices
    By themanorhouselibrary in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 3 Feb 2015, 11:16 PM
  2. v139b Problems With Installation of New USPS Shipping Module
    By bswarren in forum Addon Shipping Modules
    Replies: 23
    Last Post: 25 Jun 2014, 08:39 PM
  3. v151 Question about the USPS module installation
    By shadowpdx in forum Addon Shipping Modules
    Replies: 2
    Last Post: 17 Nov 2012, 11:42 PM
  4. v139h Is the USPS shipping module required to ship with USPS?
    By yeahwhatever in forum Addon Shipping Modules
    Replies: 3
    Last Post: 14 Feb 2012, 12:58 AM
  5. Problems with USPS module
    By rechargebaskets in forum General Questions
    Replies: 2
    Last Post: 22 Apr 2008, 03:39 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