Sincere thanks to all who made suggestions, all of which are valid given the information I supplied. Magento 2 works fine on Win 7 and always did. I finally worked out what was wrong here and so am posting the fix for anyone searching in the future.
Check /var/log - observe only 2 files, debug.log and install.log, both of which are full but don't provide anything useful. Observe many files copied, yet after completion still same as (12)ġ8. Using Chrome, Switch Person | Browse as Guest to eliminate browser cache/cookie problemsġ7. In root of site, "php bin/magento setup:static-content:deploy"ġ6. Delete all files in var/cache, pub/static (except. Complete the database setup appropriatelyġ0. Visit & begin - ensure readiness check passes 100%ħ. Item name="view_preprocessed" xsi:type="object">Magento\Framework\App\View\Asset\MaterializationStrategy\CopyĦ. Item name="view_preprocessed" xsi:type="object">Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink
Before commencing, edit app\etc\di.xml so the "view_preprocessed" value is changed from "Symlink" to "Copy"
From, Download Community Edition 2.1.1 zipĤ. In MySql, "create database magento_example "ģ. In particular, ensure the phpinfo() page confirms apaches mod_rewrite is enabled.Ģ. (Added a file showing phpinfo() there to prove basic serving & php works). Options Indexes FollowSymLinks ExecCGI Includes Set up an Apache URL in XAMPP (7.0.8) - I used with nf entry Here is what I did to try, does anyone have any suggestions please?ġ. So just do find-replace.Īll in all very helpful instructions.This is on Windows, so the usual advice regarding chmod etc doesn't apply. Copy -> Paste from step 6 on these values copies with the wrong quotes – ”, instead of “. Magento\Framework\App\View\Asset\MaterializationStrategy\CopyĤ. What worked for me is, I left Symlink and I added the others Commenting in di.xml should not be with “\\” it should be with, so I was confused about Step 6. I chose the lowercase name and did not have any problemsģ.
Consider “Magento” and “magento” as the same. There are minor discrepancies in the instructions about the naming of the folder in htdocs. To find the exact xampp version you need to click on more downloads and navigate to the exact XAMPP version.Ĥ04 Error, or some deprecation issues occur if you don’t follow the versions exactly.Ģ. This setup needs to be run with the exact xampp and magento versions. I few minor notes/hints for anyone that might use this page:ġ. In a later post, we will discuss the integration with Microsoft Dynamics NAV and Business Central using the TINX-IT connector. My specialty with Magento up until this point has been supporting the integration of Magento to Microsoft Dynamics NAV. I have usually only worked with Microsoft proprietary applications. I honestly don’t know very much about Linux or PHP. This is just how I was able to get it up and running for myself.
If you know a way to streamline these steps, please let us know in the comment section. I don’t know why, but that worked for me. If you are still getting an error, go back into this file and remove the // on the Symlink line, and place it on the new line that you changed to “Copy”. Save and close the document, restart your services and try accessing the website, and admin panel once again. Magento\Framework\App\View\Asset\MaterializationStrategy\ Copy Paste this just below this line and change Symlink to Copy: Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink Magento\Framework\App\View\Asset\MaterializationStrategy\SymlinkĬomment this line out (by placing // in front of the line), copy the full string: Now that we are in the correct folder, we will type in the following: We need to be in C:\xampp\htdocs\magento. You will notice that it opens a cmd environment in folder C:\xampp. On the right-hand side, there’s a button with a cmd prompt icon that says Shell. This is because we need to reindex our Magento modules. You are welcome to restart your services and try again but you may receive an error message. Once that is done, save and close the document.
This is because Windows does not use double backslashes. We are telling the system to use a single forward slash instead of a double backslash. $realPath = $this->fileDriver->getRealPath($path) Ĭomment it out with // in front of it like this: // $realPath = $this -> fileDriver -> getRealPath ( $path ) īelow this line, add the following: $realPath = str_replace ( '\\', '/', $this -> fileDriver -> getRealPath ( $path )) //EH0219īest Practice: I have placed //EH0219 to document that Elizabeth Huber added this line in Feb.