Download Latest Version Gnew-2018.2.zip (399.6 kB)
Email in envelope

Get an email when there's a new version of Gnew

Home / OldFiles
Name Modified Size InfoDownloads / Week
Parent folder
Gnew-2018.1.zip 2018-01-31 388.7 kB
Gnew-2017.1.zip 2018-01-04 381.0 kB
Gnew-2016.1.zip 2017-02-13 385.9 kB
Gnew-2016.2.zip 2017-02-13 380.7 kB
Gnew-2013.1.zip 2016-02-05 376.8 kB
GENU-2.2.zip 2005-11-15 316.8 kB
GENU-2.2.tar.gz 2005-11-15 194.2 kB
GENU-20050627.zip 2005-07-26 320.7 kB
GENU-20050627.tar.gz 2005-07-26 192.0 kB
GENU-1.0.zip 2005-06-12 176.8 kB
GENU-0.9-test6.zip 2005-06-12 157.3 kB
GENU-0.9-test5.zip 2005-06-12 150.2 kB
GENU-0.9-test4.zip 2005-06-12 147.1 kB
GENU-0.9-test3.zip 2005-06-12 140.9 kB
GENU-1.0.tar.gz 2005-06-12 128.7 kB
GENU-0.9-test6.tar.gz 2005-06-12 115.1 kB
GENU-0.9-test5.tar.gz 2005-06-12 110.4 kB
GENU-0.9-test4.tar.gz 2005-06-12 108.0 kB
GENU-0.9-test3.tar.gz 2005-06-12 103.0 kB
GENU-0.9-test2.zip 2005-06-12 139.1 kB
GENU-0.9-test2.tar.gz 2005-06-12 102.5 kB
GENU-2.1.zip 2005-06-12 299.7 kB
GENU-2.1.tar.gz 2005-06-12 181.3 kB
GENU-2.0.tar.gz 2005-06-12 168.0 kB
GENU-2.0.zip 2005-06-12 280.6 kB
Totals: 25 Items   5.4 MB 0
// -----------------------------------------------------------------------------
// $Id: readme.txt 150 2018-01-29 16:23:13Z Raoul $
//
// Copyright (C) 2018 Raoul PROENCA
// License: GNU GPL version 3 (see copying.txt file)
// Website: http://www.gnew.xyz/
// -----------------------------------------------------------------------------
// This program is free software: you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free Software
// Foundation, either version 3 of the License, or (at your option) any later
// version.
//
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see <http://www.gnu.org/licenses/>.
// -----------------------------------------------------------------------------

---------------
| Gnew 2018.2 |
---------------

I. Introduction
II. Requirements
III. Installation
IV. Upgrade
V. Post-installation or post-upgrade


I. Introduction:
----------------

Gnew is a simple Content Management System written with PHP language and using a
database server (MySQL, PostgreSQL or SQLite) for storage. It is fully
customisable since it uses a templates system and supports multiple languages.


II. Requirements:
-----------------

Installation of Gnew requires the following:

- A webserver or web hosting account
- PHP 5.6 or higher (with mail() function and GD library enabled, preferably)
- A MySQL database (5.5 or higher) or a PostgreSQL database (9.2 or higher) or
SQLite 3 database support in PHP

/!\ Important note /!\

If your webserver is running with Suhosin (http://www.hardened-php.net/suhosin/)
make sure to disable sessions encryption.

See http://www.gnew.xyz/articles/read.php?article_id=1#suhosin


III. Installation:
------------------

1) Decompress the Gnew-2018.2 archive to a local directory on your system.

2) Upload all the files (retaining directories structure) to a web accessible
directory on your webserver or hosting account (all .css, .htpl, .js, .php, .sql
and .xml files should be uploaded in ASCII mode).

On Linux / Unix systems:

2.1) Change the permissions of the following directories to be writable by all:
chmod 0755 (drwxr-xr-x) or 0777 (drwxrwxrwx) within your FTP/SSH client,
depending on the PHP server's UID and GID:

  - cache/
  - db/
  - feeds/
  - images/avatars/
  - images/categories/
  - images/emoticons/
  - includes/
  - medias/audios
  - medias/images
  - medias/videos

2.2) Change the permissions of the following files to be writable by all: chmod
0644 (-rwxr-xr-x) or 0666 (-rwxrwxrwx) within your FTP/SSH client, depending on
the PHP server's UID and GID:

  - db/cache.db
  - db/gnew.db
  - all .xml files in the feeds/ directory
  - includes/config.php
  - all .css, .htpl and .js files located in the templates/ directory and its
  subdirectories. You can use the commands below (of course, adapt PATH_TO):

$ cd PATH_TO/templates/
$ find . -regex '.*\.\(css\|htpl\|js\)$' -exec chmod 644 {} \;

3) Using your web browser visit the location where you placed Gnew with the
addition of install/index.php, for example:

http://www.mydomain.tld/install/index.php

4) Fill in all the requested informations.


IV. Upgrade:
------------

1) Backup your current installation and the database tables.

2) Replace old files with the new ones, except files listed below, to any
existing installation.

/!\ Caution /!\

Do not replace the following files:

  - db/gnew.db
  - includes/config.php
  - all .css, .htpl and .js files, located in the templates/ directory and its
  subdirectories, that you have made changes in.

3) Using your web browser visit the location where Gnew is installed with the
addition of install/upgrade.php, for example:

http://www.mydomain.tld/install/upgrade.php

4) Fill in all the requested informations.


V. Post-installation or post-upgrade:
-------------------------------------

1) Remove the install/ directory from your server.

2) Using your favorite editor or from the administration section, edit templates
files located in the templates/ directory and its subdirectories to make your
website looks whatever you want.

Thanks for using Gnew!
Source: readme.txt, updated 2018-01-31