Magento 2 install setup - blank page - php

It's my first time with Magento shop. I try to install it on my web server (shared hosting) and got blank page with little grey stripe on the top.
My steps:
Download ZIP file with Magento
upload package on my web serwer via FTP
open URL with magento setup
Got blank page (screen below)
I was trying magento 2.3 with PHP 7.2 or Magento 2.2 with PHP 7.1 and also few other configurations. Always the same problem: blank page with grey tripe on the top. Where can be problem? Hosting provider told me that there is no errors, but maybe Magento need something more. Someone told me that Magento need at least 512MB of memory, so I made changes in php.ini file even to 756 and nothing...
No PHP errors. In /var/log/debug.log I have this mesages:
[2019-01-28 23:14:15] main.ERROR: Error: Application is not installed yet. [] []

You have to install Magento either by CLI or webinterface.
follow these official instructions
https://devdocs.magento.com/guides/v2.3/install-gde/install-roadmap_part1.html

Related

MISSING UPDATES FOR: MEDIA Drupal 9

I have started facing an issue with locally hosted Drupal 9 (Xampp, Windows 10). The issue started when I was trying to create events in drupal 9 and I was redirected to Install.PHP page. However, upon checking I was redirected to Update.php and the error seems to be as mentioned below.
Install.PHP page message:
Drupal 9.2.2 Drupal already installed To start over, you must empty
your existing database and copy default.settings.php over
settings.php. To upgrade an existing installation, proceed to the
update script. View your existing site.
Update.php Page Message:
MISSING UPDATES FOR: MEDIA The installed version of the Media module
is too old to update. Update to a version prior to 9.0.0 first
(missing updates: media_post_update_collection_route,
media_post_update_storage_handler,
media_post_update_enable_standalone_url,
media_post_update_add_status_extra_filter).
I'm well aware of the fact that Media is a core module and I havent tried upgrading it or my site. My site has always been a D9 installation and there were no migrations etc. I would really appreciate expert help on this issue.
Running this in a function in my .theme file did the trick for me:
\Drupal::service('update.post_update_registry')
->registerInvokedUpdates(['media_post_update_collection_route', 'media_post_update_storage_handler', 'media_post_update_enable_standalone_url', 'media_post_update_add_status_extra_filter', 'setting functions as applied according_to_the_error_message']);
I personally used hook_theme() (Make sure to clear your cache for it to run and also remove this code once the issue is fixed.)

Ubuntu Wordpress installation: error 500 on every plugin activation

I have a Ubuntu 20.04 VPS with LAMP and Wordpress 5.7 installed.
Everytime that I try to activate a plugin, the website goes in error 500.
I want to understand why.
Actually to solve the issue I have to copy Wordpress core files in the main directory of my website, and I have to do this every time I want to activate a plugin...
I also tried to edit the PHP memory limit (now at 3000M) and then increase this limit also in the wp-config file, but with no success.
The error 500 means that there has been an error in the server side. Most probably you won't be able to fix it yourself.
My suggestion is to export the site using All-In-One plugin https://es.wordpress.org/plugins/all-in-one-wp-migration/
Reinstall wordpress from scratch and import the site back.

Magento 2 custom module routes are not picked up

I have a clean install of Magento 2 and am trying to create a really simple custom module, but it doesn't seem to recognize any of the code in the module. The module itself shows up in the list in the back-end, and can be enabled, but (for example) custom routes in routes.xml always go to a 404 page.
This is not just happening for new custom modules that I create, but also for modules downloaded from elsewhere. I get a 404 when I install Alan Storm's "Hello World" module (http://alanstorm.com/magento_2_mvvm_mvc) and try to navigate to /hello_mvc/hello/world. I also get a 404 on navigating to /newpage after installing the sample module Sample New Page.
I have cleared the cache, set the mode to developer, run setup:upgrade and setup:di:compile. Other pages, such as the /customer/account/ page, work fine, so it's not the rewriting that's the issue (I don't think).
I'm on Windows 8.1 running WAMP with (the standard) Apache 2.4.18, PHP 7.0.4 & MySQL 5.7.11. I've tried the latest 2 versions of Magento 2 (2.0.4 & 2.0.5) and have the same result.
Unfortunately I didn't get to the bottom of why this was happening, but after a clean install of Magento I have now been able to get this working.

Error in Installing Magento 2.0

I am new to Magento. I have installed Magento on localhost and I am using XAMPP (Windows) server. The installation was successful.
And when I opened the home page, it was so blank with no images on it
Store home page:
When I opened the console I got the following errors
Console errors:
How do I fix this?
It is a common problem on windows servers (mostly local xampp servers) because these servers dont have symlinks.
Do this to fix it:
go to app/etc/di.xml and delete name="view_preprocessed" in virtualType name="developerMaterialization" section.
go to pub/static and delete all files except the .htaccess
after that I installed it again and it worked
Install composer. You can use Composer to install Magento 2. It is a tool for dependent management in PHP which allows you to declare the dependent libraries your project needs and install them for you. Composer enables you to manage Magento 2, extensions, and their dependencies
Check permissions of the /pub/media and pub/static folders
system permissions for Magento 2

This webpage is not available error when running Drupal Commerce Kickstart 2 installatgion

I am attempting to play with Drupal Commerce and have set up WAMP on a Windows 7 machine. I have updated the curl DLL to be the correct one for WAMP as per instructions from Drupal Commerce pagef. I've then extracted the files into a folder called "ecomtest" and then browse to
http://localhost:8080/ecomtest
but instead of the Welcome screen for Drupal Commerce I get "This webpage is not available" There is a slight pause before this comes up, but I have tried in two clean directories and this problem persists. Has anyone had this issue and how do I solve it?

Categories