6 |
kaklik |
1 |
======================
|
|
|
2 |
HOW TO INSTALL
|
|
|
3 |
======================
|
|
|
4 |
|
|
|
5 |
A. Without installation wizard
|
|
|
6 |
|
|
|
7 |
# UPLOAD
|
|
|
8 |
|
|
|
9 |
1. Upload all files. Use ASCII mode for all files except all image files (.gif|.jpg) inside 'images' directory using BINARY.
|
|
|
10 |
2. Rename config_bak.php file to become config.php
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
# WARNING!!! WARNING!!! WARNING!!!
|
|
|
14 |
# CHANGE THE NAME OF THE DIRECTORY CONTAINS .dat and .log file (default is _secret)
|
|
|
15 |
|
|
|
16 |
3. For security reason, you MUST rename the directory '_secret' to something hard to be guessed.
|
|
|
17 |
It will be better if you change default.dat and default.log name (inside '_secret' dir) to something hard too.
|
|
|
18 |
example: directory '_secret' becomes '_you_dont_know'
|
|
|
19 |
file default.dat becomes what_is.dat
|
|
|
20 |
file default.log becomes my_log.log
|
|
|
21 |
|
|
|
22 |
And then open config.php and find these codes (they are called variables)
|
|
|
23 |
$secret_dir = "_secret";
|
|
|
24 |
$database = "default.dat";
|
|
|
25 |
$log = "default.log";
|
|
|
26 |
|
|
|
27 |
change them with your new name:
|
|
|
28 |
$secret_dir = "_you_dont_know";
|
|
|
29 |
$database = "what_is.dat";
|
|
|
30 |
$log = "my_log.log";
|
|
|
31 |
(please use your own ideas)
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
# CHANGE THE 3 FILES's PERMISSION TO WRITEABLE
|
|
|
35 |
|
|
|
36 |
4. CHMOD 666 config.php
|
|
|
37 |
5. go to your new secret directory and CHMOD 666 what_is.dat (depend on your new data file's name)
|
|
|
38 |
6. and CHMOD 666 my_log.log
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
# SETTING PASSWORD AND SECRET QUESTION/ANSWER
|
|
|
43 |
|
|
|
44 |
7. open config.php with text file editor and find this code:
|
|
|
45 |
$admin_password = "gshout";
|
|
|
46 |
this is your password to login.
|
|
|
47 |
change to:
|
|
|
48 |
$admin_password = "YourNewPassWord";
|
|
|
49 |
|
|
|
50 |
8. change this codes:
|
|
|
51 |
$secret_question = "Who is the author from this script??";
|
|
|
52 |
$secret_answer = "donie";
|
|
|
53 |
|
|
|
54 |
to:
|
|
|
55 |
$secret_question = "What is that?";
|
|
|
56 |
$secret_answer = "idontknow";
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
# CHECKING
|
|
|
61 |
|
|
|
62 |
9. Run install.php script from you browser, use http://your.site.com/path/to/g-shout/install.php
|
|
|
63 |
If you find red text there, it means you still missing that configuration for checking.
|
|
|
64 |
|
|
|
65 |
10.Delete install.php before using G-Shout and login to Admin Control Panel.
|
|
|
66 |
See the example iframe via http://your.site.com/path/to/g-shout/iframe_demo.php
|
|
|
67 |
and you can login via http://your.site.com/path/to/g-shout/admin.php
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
================================
|
|
|
71 |
UPGRADE FROM PREVIOUS VERSION
|
|
|
72 |
================================
|
|
|
73 |
|
|
|
74 |
Nothing special here.
|
|
|
75 |
Upload all new files and overwrite the old files on your server.
|
|
|
76 |
Use install.php script to check the important configuration.
|
|
|
77 |
|