Magento 2.2 / 2.3 and varnish 6

Magento 2 is it compatible with the varnish 6?

Has anyone tried that?

php – Checkout onepage continues to redirect its purchases to your cart in magento 1.9

Use Magento 1.9.1. on the websites https://byroninbloom.com.au/ and https://www.neoflamshop.com.au/ Once the last step of the order is completed, it performs a loop / redirection to the basket. The items in the cart are not deleted. I have been looking for days and I try every possible solution that I could find, like:

1) Increase the life of cookies from 3600 to 86400

2) Redirect to the CMS page if cookies are disabled = No

3) web / url / redirect_to_base to 0 instead of 1

4) Clear the var / cache and var / sessions folders

5) Payment and shipping methods deactivated and modified

6) Increase the memory limit to 256 MB

and so on … Here is the system log from another site that has the same problem.

2019-11-06T06: 03: 54 + 00: 00 ERR (3): Warning: Varien_Simplexml_Element :: hasChildren (): The memory allocation failure in / home / neoflamcom / public_html / lib / Varien / Simplexml / Element.php on line 84 2019-11-11T06: 05: 18 + 00: 00 ERR (3): Warning: simplexml_load_string (): (null) Entity: line 393: error in analysis: insufficient memory error in / home / neoflamcom / public_html / app / code /core/Mage/Core/Model/Layout/Update.php on line 450 2019-11-11T06: 05: 18 + 00: 00 ERR (3) : Warning: simplexml_load_string (): ship to / home / neoflamcom / public_html / app / code / core / Mage / Core / Template / Layout / Update.php at line 450 2019-11-11T06: 05: 18 + 00: 00 ERR (3): Warning: simplexml_load_string (): ^ in / home / neoflamcom /public_html/app/code/core/Mage/Core/Model/Layout/Update.php on line 450 2019-11-11T06: 05: 18 + 00: 00 ERR (3): Warning: simplexml_load_string (): Entity: line 393: error Analysis: Additional content at the end of the document in /home/neoflamcom/public_html/app/code/core/Mage/Core/Model/Layout/Update.php at line 450 2019-11-11T06: 05: 18 +00: 00 ERR (3): Warning: simplexml_load_string (): shipped in /home/neoflamcom/public_html/app/code/core/Mage/Core/Model/Layout/Update.php on line 450 2019-11- 11T06: 05: 18 + 00: 00 ERR (3): Warning: simplexml_load_string (): ^ in /home/neoflamcom/public_html/app/code/core/Mage/Core/Model/Layout/Update.php on line 450

So you think it's due to lack of memory? I hope someone can help.

magento2 – Magento 2 folder location etc for development

I'm developing for the first time using Magento (2.3).

I'm building a widget that goes with an API.

I think the structure will work under app / code is as follows:

- /Company
  - /Product
    - /Api
      - registration.php
      - /etc
        - di.xml
        - module.xml
        - webapi.xml
    - /Widget
      - registration.php
      - /etc
        - module.xml
        - widget.xml

Will it work? Or should the / etc folder reach a level like this:

- /Company
  - /Product
    - /etc
      - di.xml
      - module.xml
      - webapi.xml
      - widget.xml
    - /Api
      - registration.php
    - /Widget
      - registration.php

If so, how can I handle multiple module.xml files? can I place multiple "module" elements in the "config" element?

factory – Magento 2 how to request a custom collection

SELECT the time of my_timeslot_list WHERE date = "2019-11-12" GROUP BY by time;

How can I run this query on the collection factory.

This is the code  $collection = $this->collectionFactory->create();
$collection->addAttributeToSelect('*');
$collection->addAttributeToFilter('date', $date);

But that's not correct. Is there anyway I could do the collection query

checkout – Magento 1 – Get file entries from the form when ordering

I have created a custom step in the checkout and in this step I have created a form with an entry type = "file". I wish that when I click to confirm the command I can take the value of the input file and save it in my directory that I indicate.

I've tried with $ _FILES ('file_upload') ('name') inserting it into the saveOrder () function but it does not work and does not take the value.

Help?

Magento 1 adds a color shade link to the one-step payment page

I want to add a color shade option for the configuration product on the one-step payment page. Can someone guide me, how can I proceed?

In short, I want to give the user the ability to change color on the payment page in one step.

Magento 2: Old product URL to the new product URL, redirection

  1. Create some new products. And set a URL for that (test1, test2, test3, etc.)
  2. Change the URL via the CSV import of this product (SKU, url_key) .. (go to 10test, 11test, 12test, etc.)
    . When you use the old URL in the front-end, it must be redirected to the new URL.
    Help? Thank you in advance.

magento2.3.2 – Can only install one of the following software: magento / page-builder-commerce 1.0.3, 1.0.1?

I am on Magento 2.3.2. I would like to install the new security patch, so I have

composer require magento/product-enterprise-edition=2.3.2-p2 which gives me this output- 

Your requirements could not be resolved to an installable set of packages.

Problem 1
- Can only install one of: magento/page-builder-commerce(1.0.3, 1.0.1).
- Can only install one of: magento/page-builder-commerce(1.0.3, 1.0.1).
- Can only install one of: magento/page-builder-commerce(1.0.1, 1.0.3).
- magento/product-enterprise-edition 2.3.2-p2 requires magento/page-builder-commerce 1.0.3 -> satisfiable by magento/page-builder-commerce(1.0.3).
- Installation request for magento/product-enterprise-edition 2.3.2-p2 -> satisfiable by magento/product-enterprise-edition(2.3.2-p2).
- Installation request for magento/page-builder-commerce (locked at 1.0.1) -> satisfiable by magento/page-builder-commerce(1.0.1).

I thought I would try to update Pagebuilder.

composer update magento/module-page-builder
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update

I have tried adding the version number but this adds more errors.

composer require magento/module-page-builder:1.1.0
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
- magento/module-banner-page-builder 1.0.1 requires magento/module-page-builder 1.0.* -> satisfiable by magento/module-page-builder(1.0.1, 1.0.0, 1.0.3) but these conflict with your requirements or minimum-stability.
- magento/module-banner-page-builder 1.0.1 requires magento/module-page-builder 1.0.* -> satisfiable by magento/module-page-builder(1.0.1, 1.0.0, 1.0.3) but these conflict with your requirements or minimum-stability.
- magento/module-banner-page-builder 1.0.1 requires magento/module-page-builder 1.0.* -> satisfiable by magento/module-page-builder(1.0.1, 1.0.0, 1.0.3) but these conflict with your requirements or minimum-stability.
- Installation request for magento/module-banner-page-builder (locked at 1.0.1) -> satisfiable by magento/module-banner-page-builder(1.0.1).


Installation failed, reverting ./composer.json to its original content.

How can I install the security patch?

magento2 – How to add a validation to the street_2 address field of the delivery address entry form in edit.phtml? magento 2

I have tried to add a validation to street_2 but my validation has not been added. The same validation works well with street_1. So in the picture you can see my personalized validation (validate-street-part1) for the first field of the street address works well. But personalized validation (validate-street-part1) does not work for the second field of the mailing address. I receive no errors or warnings.

app design frontend COMPANY_NAME Magento_Customer templates address edit.phtml

helper('MagentoCustomerHelperAddress')->getStreetLines(); $_i < $_n; $_i++): ?>

enter the description of the image here
I am open to any suggestions or advice that will certainly help me. This page is a form of change of delivery address. thank you and yours

I manually install an extension, but the database schema is not updated magento 2.3.3

I'm installing an extension with ftp. The installed extension when I use
bin/magento setup:upgrade.
But the extension tables in the database are not created.
Is it possible to install them manually? And what is the correct procedure when I manually install a magento extension with ftp for the database schema to be updated correctly?
Thank you in advance.