PHP Deprecated: Function get_magic_quotes_runtime() is deprecated in /public_html/lib/database/mysqli.php on line 87 (Reference: https://www.php.net/manual/en/function.get-magic-quotes-runtime.php) PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /public_html/includes/classes/class.checkoutprovider.php on line 680 PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /public_html/lib/multibyte.php on line 201~214 PHP Fatal error: Uncaught ArgumentCountError: Too…
Category: PHP
Upgrade ISC to PHP 7.3
Testing Procedure You should monitor the console and all logs after the changes. You should test and go through each section, page, and button for both Desktop site, Mobile site, and Admin Area Monitor Apache Error Log Monitor PHP Error Log Monitor ISC System Log Monitor Browser DevTools Console Desktop Site Test List Homepage Category …
Custom PayPal Image Logo for PayPal Express
In module.paypalexpress.php (around line 316) Find Replace Reference: https://developer.paypal.com/docs/classic/api/merchant/SetExpressCheckout-API-Operation-NVP/ https://developer.paypal.com/docs/classic/express-checkout/integration-guide/ECCustomizing/#include-your-company-logo
404.php alternative
This is a replacement of the class.404.php file and provides a lot more information to help backtrace problems, hacking attempts, etc… Replace /includes/classes/class.404.php with: Alternative version to catch all 404 without $_POST and $_GET, only exclude when particular strings in URL
Fix the ISC File Include Bug
Background From ISC doc: It’s also possible to include another file within a template. This can be accomplished using file include variables. This is extremely useful if external files such as banners, site‐network headers or other content need to be included. File includes can either be local (relative to the Interspire Shopping Cart base directory),…
Server Configuration and Tuning for Optimal Server Performance
Here is a summary of server configuration for optimal server performance, site speed, and security for a single ecommerce site dedicated server with 16GB RAM. File locations are based on cPanel EA4 Apache 2.4 Event MPM PHP 7.4 PHP-FPM MariaDB 10.3 All configuration values are defined and tuned based on our actual website usages. E.g….
Disable mysqlnd.collect_statistics to Improve Performance
In php.ini Reference https://haydenjames.io/php-5-6-eol-end-of-life-php-7-compatibility-check/
PHP Realpath Cache
PHP has a feature to cache the realpath resolutions to speed up frequent accesses to the filesystem. Check current realpath cache size using Reference https://haydenjames.io/set-monitor-phps-realpath_cache_size-correctly/ https://tideways.com/profiler/blog/how-does-the-php-realpath-cache-work-and-how-to-configure-it