Need to refresh Admin page twice to load it correctly in Magento 1.8.10 - php

I am trying to install vanilla magento 1.8.1.0 on a fresh new server, but after installation, on every admin page I go, I have to refresh the page twice to load it correctly.
When I just click on a link, only the header loads (without menubar) and the body is empty. If I refresh the page, it looks correctly. This happens sometimes on the front-end also, but happens always on the admin backend.
I have installed PHP 5.5 with OPCache on nginx on Ubuntu 13.10 server. There are no themes or plugins or any products created yet.
Any Ideas why this is happening?
Thanks,
Navneet
First click on the link -
*****Then I refresh the page to load it correctly *****

The problem was that php5-json module was not installed on the server. With previous version of PHP it was installed by default, but not anymore.
There is a simple fix to it -
apt-get install php5-json
Hope this helps anybody else who ran into same issues while clean installing a server with all latest releases.

Related

Magento install - page not redirecting properly

I've been at this for days now with zero luck. I've tried to install Magento 2.4.3 on my local system (Ubuntu 20) but every time after composer install is done if I were to open the site I get a "The page isn’t redirecting properly" error.
Developer tools shows up nothing and I've done everything to try and isolate what is causing this with no luck. How do I get this sorted?

CraftCMS - ERR_EMPTY_RESPONSE When clicking "Settings" menu item

Description
Hey guys, Just trying setup Craft CMS for the first time and it all seems to work fine but when I click "Settings" in the admin panel I get the error:
localhost didn’t send any data.
ERR_EMPTY_RESPONSE
I've increased memory limit and execution time, after a lot of Googling around. But it didn't help. Sometimes I can click into the Settings page but then If I hit refresh it shows the ERR_EMPTY_RESPONSE error again. Would love to know if anyone else had had/fixed this before? Thanks
Steps to reproduce
Install and set up fresh install from composer using MAMP on local machine.
Click "Settings" item in admin menu
Additional info
Craft version: Craft Solo 3.4.5
PHP version: 7.4.1
Database driver & version: MySQL 5.7.26
Plugins & versions: None
Try upgrading MAMP to version 5.7

Magento 2 install setup - blank page

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

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.

Magento Partially Updated. Want to re-update

I have a site with magento version 1.8.1.0. For upgrading, I logged into magento connect and selected Version 1.9.2.2 for Mage_All_Latest and clicked "Commit Changes" button. After some time, the process of upgrading stopped, showing an error of file permission. When I clicked the refresh button, the website was neither going to the magento connect page, nor to the home page. Each request was being redirected to this url: http://siteurl/downloader
I replaced the app folder and some other files with the backups I had. The site was then loading. When I logged into magento connect, It was showing version 1.9.2.2. But the admin footer is still showing 1.8.1.0. I checked the site with http://magereport.com/ but it was showing some security risks which are solved in version 1.9.2.2. So the update was not completely done. I want to update the site again but I find no way to do this. I tried with reinstalling "Mage_All_latest" but it does nothing. Is there a way to do this?
Follow the upgrade guide from Magento: http://devdocs.magento.com/guides/m1x/install/installing_upgrade_details.html or copy the latest version over your current installation (with the disadvantage that removed files in comparison with your version will not be removed).

Categories