Fix the ‘500 error’ in Prestashop after fresh install

When you install Prestashop, and follow the instructions, it’s possible that you run into a ‘500 error’ when you want to access the back-end.
When I ran into this problem, I searched for a fix. Here’s a real simple solution that worked for me.

This tutorial assumes that you:

  • Removed the /install folder
  • Renamed the /admin folder to something else. In this tutorial, let’s pretend we renamed it to /backend.

All you need now, is a FTP Client and a Text editor.

Open your site in your FTP client

media_1358877283507.png

Open your website in your FTP client, and go to the former ‘admin’ folder.

  1. Find the following file: login.php
  2. Right click the file, and choose “Edit”

Edit the file in your editor (Not really)

media_1358877447814.png

The file will be opened in your default editor (in my case, Gedit). Now, to edit the file.

To “Fix” the problem, do the following:

  1. Click anywhere in the file (I suggest the end)
  2. Hit the spacebar, but immediately delete that extra space.
  3. Save the file.

Upload the ‘Changed’ file

media_1358877585175.png

Filezilla (or your FTP client) will ask if you want to re-upload the file. Click yes, and the file will be uploaded.

Now, try logging in at your back-end again. There’s a big chance that it’ll work now!

If this tutorial was helpful for you, feel free to share it or leave a comment. Prestashop tutorials are new to me, but I’m looking forward to writing more of them!

You can also download this tutorial as a PDF.

1 thought on “Fix the ‘500 error’ in Prestashop after fresh install”

Comments are closed.

Discover more from PowerUser Guide

Subscribe now to keep reading and get access to the full archive.

Continue reading