Menu  Language: it
Phone numbers

Phone : +39 0924 507600 pbx

Fax: +39 0924 507607

Poll
What's your opinion about GuppY?
 
Great !
Good
Average
Bad
I'll get another tool
Please... no comment
Results
News of Friends
Introduction

Close GuppY

Close GuppY community

Technical

Close Insert an external page

Close Setup YOUR GuppY

Webmaster - Infos
gyslogo.gifGuppY - Install

I. First install (demo)


This first install paragraph explains how to set up a GuppY web site with some demo content, so that you can play with it.

  • Download the guppy.zip file (http://www.freeguppy.org) on your PC.

  • Unzip this guppy.zip file in a directory of your PC with your favorite unzipping tool (7zip, WinZip, Winrar...).

  • EXCELLENT! GuppY is ready to run !

  • If you wish to play with GuppY on your PC before putting it on the Internet, install a webserver and PHP (you may also rather install a package like EasyPHP - http://www.easyphp.org) on your PC and copy the content of the directory where you unzipped guppy.zip in the www sub directory of EasyPHP, then launch EasyPHP... and your site will be running locally on your PC. It's just as easy as that !

  • If you wish to install your web site directly on the Internet, then copy all unzipped files via FTP to your site with a simple FTP client software (FileZilla, FireFTP, CuteFTP, etc.). And that's all, you now just need to input the URL of your site in your browser to find yourself on your web site.

  • Wonderful, you've just installed GuppY successfully!


IMPORTANT NOTICE

- If you do not plan to prepare a new clean database, delete the install/ directory now. Otherwise anybody could run it on yourweb site and delete all the content on your web site!

 

ALTERNATIVE

Youcan also download miniGuppY on the GuppY site. miniGuppY is a package made of a light web server, PHP and GuppY, all packaged with an automated install program for a PC with Windows. You just cannot do easier than that !

 

.CHMOD

Here is how to set upfiles rights for web servers that require it (not all of them requireit).
1. Directory admin
- File admin/mdp.php : rights = 666. UNIX command = chmod 666 admin/mdp.php
+ Directory admin/redac : rights = 777. UNIX command = chmod 777 admin/redac
- Files admin/redac/* : rights = 666. UNIX command = chmod 666 admin/redac/*
2. Directory data : rights = 777. UNIX command = chmod 777 data
- Files data/* : rights = 666. UNIX command = chmod 666 data/*
+ Directory data/archive : rights = 777. UNIX command = chmod 777 data/archive
- Files data/archive/* : rights = 666. UNIX command = chmod 666 data/archive/*
+ Directory data/cache : rights = 777. UNIX command = chmod 777 data/cache
- Files data/cache/* : rights = 666. UNIX command = chmod 666 data/cache/*
+ Directory data/countmsg : rights = 777. UNIX command = chmod 777 data/countmsg
- Files data/countmsg/* : rights = 666. UNIX command = chmod 666 data/countmsg/*
+ Directory data/usermsg : rights = 777. UNIX command = chmod 777 data/usermsg
- Files data/usermsg/* : rights = 666. UNIX command = chmod 666 data/usermsg/*
+ Directory data/error : rights = 777. UNIX command = chmod 777 data/error
- Files data/error/* : rights = 666. UNIX command = chmod 666 data/error/*
3. Directory file : rights = 777. UNIX command = chmod 777 file
- Files file/* : rights = 666. UNIX command = chmod 666 file/*
4. Directory img : rights = 777. UNIX command = chmod 777 img
- Files img/* : rights = 666. UNIX command = chmod 666 img/*
5. Directory pages : rights = 777. UNIX command = chmod 777 pages
- Files pages/* : rights = 666. UNIX command = chmod 666 pages/*
6. Directory photo : rights = 777. UNIX command = chmod 777 photo
- Files photo/* : rights = 666. UNIX command = chmod 666 photo/*

7. For all skins directories, it should be necessary to chmod the skin configuration files:
- skin/your_skin/confskin.inc : rights = 666. UNIX command = chmod 666 skin/your_skin/confskin.inc
- skin/your_skin/style.css : rights = 666. UNIX command = chmod 666 skin/your_skin/style.css


How can you detect that you should execute these "CHMOD" ?Well, it is pretty easy to know, it is in the case you get many errormessages of this kind :

Warning: fopen("data/logh.dtb","w")- Permission denied in http://www.mysite.com/inc/functions.php online 198
Warning: Supplied argument is not a valid File-Handleresource in http://www.mysite.com/inc/ functions.php on line206
Warning: fopen("../data/logh.dtb", "w") -Read-only file system in functions.php on line 198
Warning:fputs(): supplied argument is not a valid File-Handle resource infunctions.php on line


.htaccess notice

GuppY is shipped with a.htaccess file in the root directory. This file is only usefulif your web site runs with an Apache server (this is the case most ofthe time). Here is itsstructure:
--------------------------------------
<files>
Order allow,deny
Deny from all
Satisfy All
</files>
<files>
Order allow,deny
Deny from all
Satisfy All
</files>
ErrorDocument 400 /error.php?err=400
ErrorDocument 403 /error.php?err=403
ErrorDocument 404 /error.php?err=404
ErrorDocument 500 /error.php?err=500
--------------------------------------
The first 10 lines are used to protect the content of your database from hackers and other bad people (and there are some !). Otherwise, files like the data/frth.dtb file for example which hold all e-mail addresses of the people who posted a message in the forum can be read and even help to enrich a Spam file (ugly !). These 10 lines are not to be modified.

The 4 following lines are used to direct users to the error page when ask for a non existing page or other possible errors. These lines might require to be adapted (with a simple text editor like Notepad or Wordpad for example) according to where you have put your GuppY.

If you've installed GuppY at the root of your site (URL = http://www.yoursite.com/) then you have nothing to do. But if you installed it in a directory of your site (URL =http://www.yoursite.com/here/ for example) then you will have to modify these 4 lines:
-------------------------------------------
ErrorDocument 400/here/error.php?err=400
ErrorDocument 403/here/error.php?err=403
ErrorDocument 404/here/error.php?err=404
ErrorDocument 500/here/error.php?err=500
-------------------------------------------

In some cases, you might need to modify these 4 lines as follows (for a website having a URL like http://www.yoursite.com/) :
-------------------------------------------------------------
ErrorDocument 400 http://www.yoursite.com/error.php?err=400
ErrorDocument 403http://www.yoursite.com/error.php?err=403
ErrorDocument 404http://www.yoursite.com/error.php?err=404
ErrorDocument 500http://www.yoursite.com/error.php?err=500
-------------------------------------------------------------

Or,if installed in the here/ subdir:
------------------------------------------------------------------
ErrorDocument 400 http://www.yoursite.com/here/error.php?err=400
ErrorDocument 403 http://www.yoursite.com/here/error.php?err=403
ErrorDocument 404 http://www.yoursite.com/here/error.php?err=404
ErrorDocument 500 http://www.yoursite.com/here/error.php?err=500
------------------------------------------------------------------

It would also be wise to protect your directory by a user name and password within the .htaccess file. As the way of doing it is usually specific to your web host, please refer to its documentation for this topic.
For further information on how to protect your website with a .htaccess file, please refer to the official Apachedocumentation.

II. Clean install

The clean install is meant for when you want to erase the demo content and start with a brand new empty GuppY site.

The starting point for this clean install is anywhere between the first install and anything you did with the demo content. It will erase all of the content but keep the current parameters set up in the different Config and Admin areas.
 

  • If your web site URL is http://www.mysite.com/ input the following URL in your browser : http://www.mysite.com/install/

  • Follow instructions for a "Clean install".

  • Great! Your web site is ready to run with your content !

III. Migrate from previous versions of Miniportail 1.7 or GuppY 2.4

  • Back up whole web site before going ahead.
     

  • Run a "DB integrity check". Make sure it finds no error or run it again.

  • To Config site to activate the skin "no_skin".

  • Go to the management pages of your plugins to take their icons off from the top menu bar.

  • Preciously keep the five directories data, file, img, pages and photo.
  • Copy the new directories and files from the latest version of GuppY (that is / ; admin/ ; flash/ ; inc/ ; install/ and mobile/ ; plugins/ et skins/ . ) as well as install/ and its content.

  • Check if the "CHMOD" notice (from paragraph #2) is required for your installation. This will be the case if you had to apply it for your previous miniPortail / GuppY installs/migrations.

  • If your web site URL is http://www.mysite.com/ input the following URL in your browser : http://www.mysite.com/install/

  • Follow instructions for a "Migration".

  • Greta! You have just migrated to the latest version of GuppY.

  • Some modifications in the GuppY parameters require you to check for "General Config", "Site Config", "Home Config", "Sections Config", "Services Config" and "Boxes Config". You will also have to run a "DB integrity check" for updating the GuppY database indexes.

IV. Migrate from latest versions than Miniportail 1.7 or GuppY 2.4

IMPORTANT : the migration script isfor web sites running with miniPortail version 1.8 or later / GuppYversion 2.4 or later.

  • Back up all of your web site before going ahead.
     

  • Run a "DB integrity check". Make sure it finds no error or run it again.

  • Deactivate the plugins you are using

  • To Config site activate the skin "no_skin".

  • Go to the management pages of your plugins to take their icons off from the heigher menu bar.

  • Preciously keep the five directories data, file, img, pages and photo
  • Copy the new directories and files from the latest version of GuppY (that is / ; admin/ ; flash/ ; inc/ ; install/ ; mobile/ ; plugins/ and skins/ . ) as well as install/ and its content.

  • Check if the "CHMOD" notice (from paragraph #2) is required for your installation. This will be the case if you had to apply it for your previous miniPortail / GuppY installs/migrations.

  • If your web site URL is http://www.mysite.com/ input the following URL in your browser : http://www.mysite.com/install/

  • Follow instructions for a "Migration".

  • Great! You have just migrated to the latest version of GuppY.

  • Some modifications in the GuppY parameters require you to check for "General Config", "Themes config", "Home Config", "Sections Config", "Services Config", and for all skins "Look config", "Generate CSS" and "Boxes Config". You will also have to run a "DB integrity check" for updating the GuppY database indexes.

  • You need now to install your skin and compatible plugins

 

V. IMPORTANT NOTICES

  • Once you have finished install or migrating, make sure that all the files in the install/ directory were deleted. Otherwise anybody could run it on your web site and delete all the contents of your web site !

  • If you cannot see the install/ directory anymore, then it means that everything is fine. The same conclusion applies if the install/ directory still exists but is empty (you should the delete it by FTP, as your webhoster does not allow its deletion with PHP).

  • After the migration, the admin password is reset to "pass".

  • Don't forget to validate all admin pages to prevent from errors (even after an update).

 


Creation date : 06/12/2004 @ 04:00
Last update : 23/03/2012 @ 18:21
Category : GuppY
Page read 1407 times


Print the article Print the article

 
Reactions to this article


Reaction #283 

by sad 19/08/2018 @ 11:43

This sort of message continually rousing and I like to peruse quality substance, so glad to discover great spot to numerous here in the post, the written work is simply awesome, a debt of gratitude is in order for the post. Property Tax Accountant

Reaction #282 

by asd 16/08/2018 @ 18:07

Superb represented data. I thank you about that. Probably it will be exceptionally helpful for my future ventures. Might want to see some different posts on the same subject! Buy to Let Property Tax

Reaction #281 

by davidmith 16/08/2018 @ 00:26

The article posted was very informative and useful. You people are doing a great job. Keep going.
Faqs WSOP

Reaction #280 

by jamese 16/08/2018 @ 00:26

The article posted was very informative and useful. You people are doing a great job. Keep going.
Faqs WSOP

Reaction #279 

by peter 12/08/2018 @ 09:58

extremely fascinating continue posting.  Puzzle Games
StartPrevious10 previous pages [ 21 22 23 24 25 26 27 28 29 30 ] 10 next pagesNextEnd
 
Search




Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
51 Subscribers
Visits

   visitors

   visitors online

Calendar
Preferences

Connect again
---

Your user name :

Your secret code


 Count of members 493 members


Connected :

(nobody)