Personal Blog by Joshua Weller. Learn about my programming techniques, various tips and just general writing stuff.
I noticed, after uploading Prestashop to my webserver and extracting the files, I was getting 500 Internal Server errors. After a bit of testing I figured out the file permissions from having extracted the files were actually incorrect. Directories need to be set at 755 while files should be set at 644.
To save time, I SSH'd into the server and ran these commands after navigating to the public_html folder (or www folder):
chown www-data:www-data -R *
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
That should assign the correct user to the files, and permissions as well.
I was having trouble opening the sample CSV files that Prestashop provides for doing mass object importing, turns out it was simply because the sample files are separated by semicolon instead of by comma. The very easy fix is to open the CSV file in a text-editor and adding the following line to the beginning of the file:
sep=;
Doing this tells Excel that you want to use the semicolon caharacter as seperator.
Welcome to my small and simple programming & writing blog!
I thought I'd start sharing some of my experiences fixing issues that have kept me up during long and sleepless nights to find a solution (and which will hopefully let people who Google the answer find a proper solution and save them time); share some of my thoughts on various subjects and just generally talk about other bits and bobs here and there.
You can read a little about me on my about page if you're interested. :)