Required to be added for PHP 8.2 sites. Without this patch the site errors at checkout steps.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This motd.sh file is to be placed in /etc/profile.d/ to be executed upon | |
# successful login. | |
# ------------------------------------------------------------------------- | |
# Copyright (c) 2018 Mike Centola (mikecentola.com) | |
# | |
# This program is free software: you can redistribute it and/or modify it under | |
# the terms of the GNU General Public License as published by the Free Software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: magento/app/code/Ubertheme/Ubdatamigration/Block/Index.php | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- magento/app/code/Ubertheme/Ubdatamigration/Block/Index.php (date 1585223427069) | |
+++ magento/app/code/Ubertheme/Ubdatamigration/Block/Index.php (date 1585223427069) | |
@@ -70,11 +70,17 @@ | |
public function getToken() { | |
$token = ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration file for db-sync (https://github.com/clivewalkden/bash-magento2-db-sync) | |
remote_host={{remote_host}} | |
remote_domain={{remote_domain}} | |
remote_port={{remote_port}} | |
remote_username={{remote_username}} | |
remote_magento_dir={{remote_magento_dir}} | |
remote_backup_dir={{remote_backup_dir}} | |
remote_shared_deployment_dir={{remote_shared_deployment_dir}} | |
local_backup_dir={{local_backup_dir}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[php70] | |
user = clive | |
group = webdev | |
listen = /run/php/php7.0-fpm.sock | |
listen.owner = www-data | |
listen.group = www-data | |
pm = dynamic | |
pm.max_children = 20 | |
pm.start_servers = 2 | |
pm.min_spare_servers = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zend_extension = /usr/lib/php/20170718/ioncube_loader_lin_7.2.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zend_extension = /usr/lib64/php/modules/ioncube_loader_lin_7.2.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Readme | |
Good starting point for a development machine. This is how to setup multiple php version on a Ubuntu 18.04 instance with ondrejj setup. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Before this is run you need to change the disk size on the cloud (or via cli) | |
# Get the partition and device information | |
df -h | |
# Get the block size of the device and any partitions | |
sudo lsblk | |
# Make sure you have the tools to resize a drive | |
sudo yum -y install cloud-utils-growpart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Display the number of SKUs in a attribute set | |
SELECT eas.attribute_set_name, COUNT(cpe.sku) | |
FROM eav_attribute_set AS eas | |
LEFT JOIN catalog_product_entity AS cpe ON cpe.attribute_set_id = eas.attribute_set_id | |
WHERE entity_type_id = 4 | |
GROUP BY eas.attribute_set_name | |
# To see if an email to a user has been successfulyy sent in the sales_order table and sales_shipment table | |
SELECT s.email_sent AS "Shipment Email Sent", o.email_sent AS "Order Email Sent", s.order_id | |
FROM sales_shipment AS s |
NewerOlder