Website is not loading on MAMP - xampp

I was developing website in my school's lab where XAMPP is installed, and everything was working properly. But now I'm facing need to work on my mac. I have installed the latest version of MAMP 2.0, and my website is not working properly on it. It is only loading half of the page, seems that at some point it stops compiling the page.
At first I thought it's database connection issue, but no, the connection strings are correct. I have tried configuring php.ini, put error_reporting to E_ALL and reinstalled MAMP, but still no luck.
Wondering what can be the issue that is causing this situation... If you have any idea please share...

Related

TYPO3 installation issue on Mamp

trying to install the latest version of TYPO3 vers. 10.4 on my local machine. I am on a Mac and the local server is set up with Mamp Pro. Database is MySQL.
I am following this tutorial: https://docs.typo3.org/m/typo3/guide-installation/master/en-us/QuickInstall/Composer/Index.html
I am getting to step 4 out 5. Manage to connect to the database, but it seems like it's freezing up at step 4. After a long while waiting, I then tried to refresh the browser. That's a success - getting to the final step. But I can't login with the username and password, that was just created. Then I tried to look in the Database, and there are no BE users. So it would seem like the installation is not complete.
Can you guys tell me, what I am missing here or doing wrong? Or perhaps others with a similar issue, that managed to solve this.
As described in this question, I had the same problem last year. I have just tested a fresh setup of TYPO3 10.4.1 without problems on my Mac with MAMP 5.5.
Since last year I have updated my MAMP. So I guess, that MAMP 5.5 is fixing this issue.

500 error on local Laragon website

I usually don't have any problem with Laragon as it works pretty good. I had no problem using Laravel.
But recently, my laptop made a Windows update, and since it restarted, nothing works anymore.
By nothing, I mean that when I try to load my virtual host "foo.dev", I have a 500 error without any info. So I tried the old way by going on localhost/www/foo/public and it loaded my website. Great !
But new bad news, impossible to connect to the database, even using a software, as if the password had been changed...
I don't have any idea on how to fix these problems and where does the problem comes from...So I'm asking for your help, if anyone has already faced a similar problem and reached to solve it.
Thank you.
I guess when updated your windows, Chrom also updated and apparently Chrome made new release that forces .dev, .app, and a few other TLDs to use HTTPS. The best fix is to use .local instead of another TLD.
see this question for more info

Xampp server issue: localhost/app_folder giving error 'connection reset'

Good morning!
My Xampp has been working fine till a few days ago.
i can access localhost/phpmyadmin - i see my db/tables all intact!
BUT i cant access localhost/ like i used to. it says connection reset.
when i try to access my application thru 127.0.0.1/ the site is not displayed as it is supposed to. images are missing and formatting is out. but i do know my php scripts are working since the menus are being correctly displayed and i am able to log in.
i dont use skype but i do have teamviewer and mu torrent
any ideas will be appreciated
I had the connection reset problem but I fixed it out by:
Disconnection from my WiFi
Uninstalling and re-installing the XamppServer
Checking if phpMyAdmin works (it did in my case)
Re-connecting to WiFi and enjoying the internet :)
Hope it might help

Xampp is runni8ng but .php files won't load

I've got a strange problem. My xampp seems to run just fine, at least the control panel says so. A couple of months back I was able to use xampp properly as well. But now, if I try to load anything in htdocs the browser tells me that the website is not available.
The only things that have changed since I used xampp successfully:
I've briefly installed wampp, but decided to deinstall it again. As far as I can tell, I have removed snd deinstalled everything succesfully.
And, I'm using an other internet connection. Is there a possibility that the firewall of the modem messes xampp up?
Any ideas are greatly appreciated.
PS: I did not post the config files of xampp, because I haven't changed them since everything worked properly, so I hardly think that it is relevant.
Considering your problem and the information I have gathered from you.
The best solution is:
Make a backup of all your files in htdocs.Uninstall Xampp completely.Download and install once again.
Note:
Latest Xampp versions comes with MariaDB unlike mysql.Now some versions of MariaDB is unstable.This would create problems when you are actually working with database and sql queries.
Either download and install Xampp which comes with Mysql or find a version of xampp which comes with a stable version of MariaDB and the latest PhpMyAdmin version.
Reinstalling solves issues like this most of the time.There may have been some kind of server conflict when you installed WAMP.So an all new installation is best.
You could also try clearing the browser history and cookie as an alternative.

Custom Magento templates not picking up

I'm trying to make some changes to the navigation in my custom theme... /app/design/fontend/mypackage/default/template/catalog/layer/view.phtml
but the changes don't seem to be taking effect on my site. I've tried it for other templates as well but I'm getting the same issue. The funny thing is that template files that I've edited previously seem to work (header.phtm, footer.phtml, subscribe.phtml and more), but anything that I add into my theme today doesn't seem to be getting picked up. Cashing is definitely turned off, it's been off sinse I started working on the project. I've built Magento sites before and never had this issue.
I'm currently running it on an Ubuntu server in VirtualBox, but this has always worked fine in the past. I've tried restarting apache and rebooting the server too but no luck.
Has anyone else had this issue?
Ok... so this morning I turned on my PC and booted up my VM and everything seems to have sorted it out. I think it was probably a VirtualBox issue. I will have to look into it.

Resources