Skip to content

Instantly share code, notes, and snippets.

View pmeissner's full-sized avatar

Philip Meissner pmeissner

View GitHub Profile
@isralduke
isralduke / _Statamic_Godaddy.md
Last active May 11, 2016 13:44
Statamic and Godaddy

#Statamic & Godaddy

Statamic V1 wasn't fully functional when placed onto Godaddy hosting. I could browse the site as a normal user but couldn't login into the Control Panel.

This may not fix your issue, but maybe it will offer you a beginning to your own troubleshooting.

  1. The .htaccess contains what I added as the last line in the Statamic-created .htaccess file.
  2. The php5.ini should be placed at the the webroot.
  3. Finally, make sure all of your partials are referencing assets, scripts, etc., from the root. Don't do this: src="assets/img but do this instead src="/assets/img
@malarkey
malarkey / Contract Killer 3.md
Last active April 16, 2024 21:44
The latest version of my ‘killer contract’ for web designers and developers

When times get tough and people get nasty, you’ll need more than a killer smile. You’ll need a killer contract.

Used by 1000s of designers and developers Clarify what’s expected on both sides Helps build great relationships between you and your clients Plain and simple, no legal jargon Customisable to suit your business Used on countless web projects since 2008

…………………………

<?php
/**
* Custom configuration bootstrap file for ExpressionEngine
*
* Place config.php in your site root
* Add require(realpath(dirname(__FILE__) . '/../../config_bootstrap.php')); to the bottom of system/expressionengine/config/config.php
* Add require(realpath(dirname(__FILE__) . '/../../config_bootstrap.php')); to the bottom of system/expressionengine/config/database.php
* If you have moved your site root you'll need to update the require_once path
*