Prestahop Installation error 500

Problem: Trying to install a new prestashop but getting error 500, the installation doesn’t even start Solution: Check file and folder permissions. Folder permission should be 755 and file should be 644.   Commands for changing file / folder permissions in linux through (ssh) console: This is for changing folder permissions find /public_html/prestashop -type d… Continue reading Prestahop Installation error 500

Published
Categorised as PHP

Upload Files through AJAX (using Jquery and PHP)

This post demonstrates how to upload files to the server through AJAX. For the javascript  part JQuery has been used. Besides the file upload thing there are few other useful codes here: A generalised mail function. The function is capable of sending mails with attachments also. Ajax call using JQuery. Some server side validation codes.… Continue reading Upload Files through AJAX (using Jquery and PHP)

Published
Categorised as jQuery, PHP

Twitter Feeds widget

//USAGE – set the keys and token here and then just include this file into your code. Change the <li> to whatever needed. if(!isset($tweetAuthen) && $tweetAuthen != “awre4rwrwfe”) //random string to prevent this file being run directly {     echo “<li>Unauthorized use of widget</li>!”; } else {         //Files needed for the Twitter authentification    … Continue reading Twitter Feeds widget

Published
Categorised as PHP

PHP include Remote File

In some case it might be needed to include or run a remote file and display the output on the current site. For this to work the below settings needs to be enabled. allow_url_fopen = On allow_url_include = On But in case those two settings cannot be changed or even after changing it doesn’t work… Continue reading PHP include Remote File

Published
Categorised as PHP