Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benesch/hilton-unar
https://github.com/benesch/hilton-unar
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/benesch/hilton-unar
- Owner: benesch
- License: mit
- Created: 2015-12-31T05:22:32.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-31T05:25:50.000Z (almost 9 years ago)
- Last Synced: 2023-03-22T19:13:14.822Z (over 1 year ago)
- Language: PHP
- Size: 2.16 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# Symphony 2 #
- Version: 2.2.5
- Date: November 13th, 2011
- Release Notes:
- Github Repository:## Overview
Symphony is a `PHP` & `MySQL` based CMS that utilises `XML` and `XSLT` as
its core technologies. This repository represents version "2.2.5" and is considered stable.Visit the forum at
### Symphony Server Requirements
- PHP 5.2 or above
- PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
- MySQL 5.0 or above
- An Apache or Litespeed webserver
- Apache's mod_rewrite module or equivalent### A note for Windows developers
While Windows is not officially supported for production, we understand many
developers use WAMP for Symphony development before deploying to a production
server. The Symphony team recommends that while using WAMP, developers use
the latest PHP 5.3.x version during development to minimise any potential issues.
PHP5.3 provides numerous fixes and improvements to help minimise and standardise
the result of several functions that behave slightly differently depending on the OS## Updating From an Older Version
#### Versions Prior to 2.2
2.2 introduces numerous improvements that may affect extension compatibility.
Before updating, be sure to consult the [extension compatibility table](http://symphony-cms.com/download/extensions/compatibility/) to
verify that the extensions you're using have all been updated for Symphony 2.2.#### Versions Prior to 2.1
As of version `2.1`, Symphony stores passwords using the more secure
[SHA1](http://php.net/sha1) algorithm (previous versions used MD5).
When updating to 2.1, the primary user's login password will be reset
(the new password will be displayed by the updater—please note it).
**Please also note that all other users' passwords will no longer be valid
and will require a manual reset through Symphony's forgotten password feature.**
Alternatively, as an administrator, you can also change your users'
passwords on their behalf.#### Versions Prior to 2.0.5
Version `2.0.5` introduced multiple includable elements, in the Data Source
Editor, for a single field. After updating from `2.0.5` or lower, the DS
editor will seem to "forget" about any `Textarea` fields selected when you
are editing existing Data Sources. After updating, you must ensure you
re-select them before saving. Note, this will only effect Data Sources that
you edit and were created prior to `2.0.5`. Until that point, the field will
still be included in any front-end XML### Via Git
#### Versions Prior to 2.1
As of version 2.1, we are now using [GitHub's organisations feature](http://github.com/blog/674-introducing-organizations).
As a result, all submodules—as well as the main Symphony 2 repo—are forks owned by the
[Symphony CMS organisation](http://github.com/symphonycms/).To fully update your git-based installation, please **edit your `.git/config`
and the `.git/config` of each core extension** (`debugdevkit`, `profiledevkit`,
`markdown`, `maintenance_mode`, `selectbox_link_field`, `jit_image_manipulation`
and `export_ensemble`) and change the URL of the remote repo from `symphony` or
`pointybeard` to be `symphonycms`.For example:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git://github.com/pointybeard/markdown.gitChange `git://github.com/pointybeard/markdown.git` to `git://github.com/symphonycms/markdown.git`
1. Pull from the master branch at `git://github.com/symphonycms/symphony-2.git`
2. Use the following command to get Extensions up to date:
git submodule init
git submodule update3. If updating from a version older than `2.0.5`, enable [Debug DevKit](http://github.com/symphonycms/debugdevkit/tree/master) and [Profile DevKit](http://github.com/symphonycms/profiledevkit/tree/master) extensions.
3. Go to `http://yoursite.com/update.php` to complete the update process.
4. You and your website are now in the future. Buy yourself a silver jumpsuit.
### Via the old fashioned way
Follow the instructions below if you are updating from Symphony version 2.0 (not from Git)
**Note:** As of 2.0.6, there is no longer a need to backup `/symphony/.htaccess`.
1. Upload `/symphony`, `index.php` & `update.php`, replacing what is already on your server.
2. If you are updating from a version older than 2.0.5, download and install the Debug DevKit and Profile DevKit:
- [Debug DevKit](http://github.com/symphonycms/debugdevkit/tree/master)
- [Profile DevKit](http://github.com/symphonycms/profiledevkit/tree/master)3. Go to `http://yoursite.com/update.php` to complete the update process.
4. Call a friend and brag that your copy of Symphony is newer than theirs.
## Installing Symphony
### Via Git
1. Clone the git repository to the location you desire using:
git clone git://github.com/symphonycms/symphony-2.git
Should you wish to make contributions back to the project, fork the master tree rather than cloning, and issue pull requests via github.
The following repositories are included as submodules:
- [Markdown](http://github.com/symphonycms/markdown)
- [Maintenance Mode](http://github.com/symphonycms/maintenance_mode)
- [Select Box Link Field](http://github.com/symphonycms/selectbox_link_field)
- [JIT Image Manipulation](http://github.com/symphonycms/jit_image_manipulation)
- [Export Ensemble](http://github.com/symphonycms/export_ensemble)
- [Debug DevKit](http://github.com/symphonycms/debugdevkit/tree/master)
- [Profile DevKit](http://github.com/symphonycms/profiledevkit/tree/master)
- [XSS Filter](http://github.com/symphonycms/xssfilter/tree/master)3. Run the following command to ensure the submodules are cloned:
git submodule update --init
4. _(Optional)_ If you would like the [default ensemble](http://github.com/symphonycms/workspace/tree) installed as well,
you will need to use the following command from within the Symphony 2 folder you just created:git clone git://github.com/symphonycms/workspace.git
5. Point your web browser at and provide
details for establishing a database connection and about your server environment.6. Chuckle villainously and tap your fingertips together (or pet a cat) as your installation completes.
### Via the old fashioned way
**Note: You can leave `/workspace` out if you do not want the default theme.**
1. This step assumes you downloaded a zip archive from the [Symphony website](http://symphony-cms.com).
Upload the following files and directories to the root directory of your website:- index.php
- install.php
- install.sql
- /symphony
- /workspace
- /extensions2. Point your web browser at and provide
details for establishing a database connection and about your server environment.3. Pose like you're being filmed for a dramatic close-up while your installation completes.
## Security
**Secure Production Sites: Change permissions and remove installer files.**
1. For a smooth install process, change permissions for your site root to `777`.
`cd /your/site/root`
`chmod -R 777 .`2. Once successfully installed, you should change permissions to something tighter for security. Symphony recommends `755` for directories and `644` for files by default, but this might need to be changed depending on your server setup or workflow, eg. `775`/`664` or some alternative mixture
3. Remove installer files (unless you're fine with revealing all your trade secrets):
`rm install.php install.sql workspace/install.sql update.php install-log.txt`
4. Dance like it's 2012!
### Notes
Thanks to @DavidOliver for these quick scripts.
To recursively chmod directories only:
`find /your/site/root -type d -exec chmod 755 {} \;`
To recursively chmod files only:
`find /your/site/root -type f -exec chmod 644 {} \;`.