Questions tagged [webserver]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
20 views

Magento 2 error: open_basedir restriction in effect

In an existing Magento 2.4.3 instance, I changed its database and connected with another 2.4.3 DB, different extensions and theme. New Magento had been working, but after changing back to the old ...
user avatar
  • 348
0 votes
1 answer
35 views

M2 | CREAT USER statement giver syntax error when "WITH mysql_native_password" is used it it

I am installing fresh Magento, after installing MariaDB serve, I am creating database user as: mysql> CREATE USER 'magento'@'localhost' IDENTIFIED WITH mysql_native_password BY 'm0d1fyth15'; The ...
user avatar
  • 1,551
0 votes
1 answer
159 views

PHP 7: How to create a separate log file in PHP to log only the order data(Order info retrieved from an Magento Order object)?

I have an application developed to manage the orders, vendors and many more things. The default error_log() functionality has already been in use across the application coded in PHP to log not only ...
user avatar
1 vote
1 answer
353 views

Magento 2.3.4: Exception #0 Recoverable Error: Object of class Magento\Framework\App\State\Interceptor could not be converted to string

I am employing the code below to check what deployment mode server is on. This is throwing the error. Please point out the issue with the usage of the object $this->_appState to get the the mode. ...
user avatar
0 votes
0 answers
171 views

Notice: Undefined property: DOMText::$tagName

Google Search Console initially, a few days ago, reported 500XXX error for an AMP page that has now been moved under N/A with 0 affected pages. When the link to the previously affected AMP page is ...
user avatar
0 votes
1 answer
176 views

Magento 2: Server error (5xx)

Google Search Console notifies an error as shown in the screenshot. How to ensure such errors do not occur so the search engines can crawl and access the pages on the site?
user avatar
0 votes
1 answer
210 views

Magento 2: How to get only the file name of Home Page Logo?

is there a way to only get the filename of an Homepage logo in the logo.phtml template file? $block->getLogoSrc() in logo.phtml returns the URL to the logo, but I need only the filename like someimage....
user avatar
0 votes
2 answers
30 views

How to setup and configure perfect webserver on centos for magento2

I want to Build a new AWS EC2 centos webserver with the best configuration for Magento2 ? there is any clear steps or script? Regards, Ahmed
user avatar
0 votes
1 answer
330 views

Magento2.3: Javascript is not loading in server but working in localhost

I'm facing a strange issue. I have main.js file in my theme (that is extended luma theme), there I have included javascript and jquery of megamenu, add to compare, etc. Now, the issue I'm facing is ...
user avatar
  • 480
0 votes
1 answer
6k views

New Magento 2, nginx config error 403 forbidden

After my installation of magento2 on Ubuntu, I get this error on localhost http://localhost/magento2/ - 403 forbidden I have to change the port to any other like 8080 in file /etc/nginx/sites-...
user avatar
  • 101
0 votes
1 answer
594 views

<?php echo $this->getChildHtml('order_totals') ?> finding path

<?php echo $this->getChildHtml('order_totals') ?> I am searching the path in server. but unable to find Please help me.
user avatar
1 vote
1 answer
54 views

How to commit the changes from Server to GitHub in Magento?

We have three servers for our Magento site. They are as Development, Staging and Live/Production. We are doing the code changes directly on the server. For example, to edit the CSS and other code ...
user avatar
  • 1,124
0 votes
1 answer
340 views

Magento 2.3.1 server resources requirements

I have a Magneto CE 2.3.1 installation whit 7 stores and a total of 24 store views, in each store I got ~60 000 product's, so that's almost ~1.440.000 of different product data. I'm using multi-source ...
user avatar
1 vote
1 answer
488 views

Magento 2 in SEO Checker - "The Accessible Index Page is Configured wrong"

So I run our site (on Magento 2.2.3) thru an SEO checker and it flagged up an interesting issue: The Accessible Index Page is Configured wrong. Search engines see your https://www.xyz.co and https://...
user avatar
  • 31