Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2009
    Location
    Texas
    Posts
    217
    Plugin Contributions
    2

    Default USE_PCONNECT warning

    Was wondering if anyone knew what was causing this warning and what I could do to fix it. PHP 7.2.

    Code:
    [17-May-2019 15:02:26 America/Chicago] Request URI: /ipn_main_handler.php, IP address: 
    #1  require(/home/dentalplanet/www.dentalplanet.com/includes/init_includes/init_database.php) called at [/home/dentalplanet/www.dentalplanet.com/includes/autoload_func.php:48]
    #2  require(/home/dentalplanet/www.dentalplanet.com/includes/autoload_func.php) called at [/home/dentalplanet/www.dentalplanet.com/includes/application_top.php:170]
    #3  require(/home/dentalplanet/www.dentalplanet.com/includes/application_top.php) called at [/home/dentalplanet/www.dentalplanet.com/ipn_main_handler.php:114]
    --> PHP Warning: Use of undefined constant USE_PCONNECT - assumed 'USE_PCONNECT' (this will throw an Error in a future version of PHP) in /home/dentalplanet/www.dentalplanet.com/includes/init_includes/init_database.php on line 23.
    Thank you,
    DentalPlanet Designed/Administrated by Falls Geek

  2. #2
    Join Date
    Jan 2004
    Posts
    65,266
    Blog Entries
    7
    Plugin Contributions
    226

    Default Re: USE_PCONNECT warning

    You can apply the fix shown here:
    https://github.com/zencart/zencart/pull/2239/files
    .

    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
    Jul 2009
    Location
    Texas
    Posts
    217
    Plugin Contributions
    2

    Default Re: USE_PCONNECT warning

    Thank you kindly.
    DentalPlanet Designed/Administrated by Falls Geek

 

 

Similar Threads

  1. Replies: 10
    Last Post: 31 Oct 2015, 08:09 PM
  2. Replies: 8
    Last Post: 19 Sep 2012, 03:37 AM
  3. Replies: 1
    Last Post: 10 Dec 2010, 09:48 PM
  4. USE_PCONNECT / mysql_pconnect is unused?
    By theg33kb0y in forum General Questions
    Replies: 5
    Last Post: 22 Nov 2010, 12:09 AM
  5. Persistent Database Connections (USE_PCONNECT)
    By marcopolo in forum Basic Configuration
    Replies: 4
    Last Post: 16 Mar 2009, 11:33 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