Fixing silverstripe warnings during install

Silverstripe magic_quotes asp_tags warnings screenshot


I get warnings about asp_tags and magic_quotes during my install of silverstripe.


You need to edit your php.ini and set the asp_tags and magic_quotes options to off.

However be aware that there is the potential to break your other scripts if your scripts depend on those options. You should change them and then test your other scripts. If anything breaks, you’ll need to leave them set to on or set up a separate php configuration for each part of your site.

Best regards,

Fixing Silverlight install error : date.timezone set and valid

Silverlight date.timezone Error screenshot


I get the an error when installing Silverlight regarding date.timezone. How can I fix this?


With newer versions of php (PHP 5.3.0 and above), the date.timezone must be explicitly set. You can fix this by going into your etc/php.ini directory (create if does not exist) and add the line for date.timezone. An example is:

date.timezone = 'America/New_York'

Be certain to only use timezone’s listed at:

Timezones like ‘US/Eastern’ no longer work.

It can be very frustrating because php will not complain if you use ‘US/Eastern’ and phpinfo() will show the value as set but Silverlight will not work with those settings. ‘US/Eastern’ and others are only included in php for backwards compatibility.

Joomla errors when uploading picture JFTP::login: Unable to login · JFTP::mkdir: Bad response · JFTP::chmod: Bad response · JFTP::mkdir: Bad response · JFTP::chmod: Bad response · JFTP::write: Unable to use passive mode)

Question: When trying to upload an image in Joomla, I get the errors:

· JFTP::login: Unable to login
· JFTP::mkdir: Bad response
· JFTP::chmod: Bad response
· JFTP::mkdir: Bad response
· JFTP::chmod: Bad response
· JFTP::write: Unable to use passive mode


You need to go to the Global configuration:

Joomla Global configuration screenshot

and then change the FTP information:

Joomla FTP settings screenshot

Make sure you press apply/save to save your changes.

Fastest guide to git

Note: a few older servers may not have git installed. If you need git added to your server, contact support

Here is how to quickly store all your files in git:

1. ssh to the server

2. type:

cd ~/
git init
git config "Your name here"
git config ""
git add .
git commit -m "Initial commit"

make some changes, then

cd ~/

If you have created new files, add them to git. Either add them all with :

git add .

or add them individually with:

git add file1 file2 path/to/file3 file4 long/path/to/this/file


Finally, commit your changes:

git commit -m "Version 2"

In all these examples we use git to backup our entire home directory by performing:

cd ~/

at the start of each checkin/add/etc.

There are many arguments against this and you are of course welcome (and perhaps even advised in most cases) to cd instead to the directory your project is in.

Git Branches

If you would like to make some changes to your working code (or have already made changes and want to revert back quickly), type:

git branch experimental

(you can use whatever name you like in place of “experimental”)

git checkout experimental

Make your changes (if you haven’t already made some), then type :

git commit -a

Your changes are now committed into the experimental branch.

To get back to your working code, type:

git checkout master

and you should be back to your working version of the code.

To totally abandon all your changes and go back to the last checked in version in your current branch:

git reset --hard HEAD

Thunderbird will not let me change my outgoing SMTP setting


I was trying to setup Thunderbird. However when it came to specifying the outgoing server, Thunderbird said it would use my existing Earthlink outgoing server instead of yours. I tried to change this but it will not let me.



It is really not a problem to use earthlink for your outgoing. In fact many ISP’s (including earthlink) require you to use their outgoing SMTP. They firewall out external SMTP (port 25) to control all mail that leaves their network.

As long as your incoming POP3 is set to your domain with us it will work fine.