Skip to content

Instantly share code, notes, and snippets.

View fundup's full-sized avatar

Buyère Boris fundup

View GitHub Profile
@fundup
fundup / Upgrade prestashop 1.7.x to 1.7.x
Last active December 18, 2019 15:01
When One Click upgrade is not working (always ..)
Backup files and Database ...
mkdir NewVersionOfPrestashop
cd NewVersionOfPrestashop
//download new release
wget -O prestashop-upgrade.zip https://www.prestashop.com/download/old/prestashop_1.7.5.0.zip
unzip prestashop-upgrade.zip && unzip prestashop.zip
rm -rf img/ override/ prestashop-upgrade.zip unzip prestashop.zip
//rename admin with the admin name folder of your current installation
mv admin adminXYZ
cd currentInstallOfPrestashop
@fundup
fundup / Symfony vhost
Last active September 20, 2016 12:57
<VirtualHost *:80>
ServerName my-domaine.fr
Redirect permanent / https://my-domaine.fr
</VirtualHost>
<VirtualHost *:443>
ServerName my-domaine.fr
DocumentRoot /myfolder/web
@fundup
fundup / gist:eb38be3a13d5581da3d1
Last active August 29, 2015 14:24
FOSCommentBundle Multiple thread
{% set asset_url = '/bundles/app/js/comment.js'%}
<script type="text/javascript">
// thread container
var fos_comment_thread_container = $('{{ thread_container }}');
// api base url to use for initial requests
var fos_comment_thread_api_base_url = '{{ path('fos_comment_get_threads') }}';
// Snippet for asynchronously loading the comments