Author |
Message |
precious
WebHelper

Joined: 06 Apr 2002
Posts: 65
|
Posted:
Thu Oct 31, 2002 3:16 am (22 years, 5 months ago) |
  |
|
    |
 |
Daniel
Team Member


Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Thu Oct 31, 2002 8:31 am (22 years, 5 months ago) |
  |
|
    |
 |
Justin
4WebHelp Addict

Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Thu Oct 31, 2002 10:33 am (22 years, 5 months ago) |
  |
|
     |
 |
precious
WebHelper

Joined: 06 Apr 2002
Posts: 65
|
Posted:
Thu Oct 31, 2002 11:06 am (22 years, 5 months ago) |
  |
Looks good, will try it out. Is there a way to set local time for the script (local time is where I live, and not where my host server is located)? I assume the script is set to the server time as shown for example:
Guestbook
Thursday, 31. October 2002 11:55
- server time? |
|
|
    |
 |
Justin
4WebHelp Addict

Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Thu Oct 31, 2002 2:03 pm (22 years, 5 months ago) |
  |
precious wrote: | Looks good, will try it out. Is there a way to set local time for the script (local time is where I live, and not where my host server is located)? I assume the script is set to the server time as shown for example:
Guestbook
Thursday, 31. October 2002 11:55
- server time? |
Yeah, you can do this in the admin area of the script....
Word of warning, the install program in 2.3.1 doesn't work 100%, you will need to run it and ALSO configure config.inc.php yourself, as the install script doesn't do it properly for some servers |
|
|
     |
 |
precious
WebHelper

Joined: 06 Apr 2002
Posts: 65
|
Posted:
Fri Nov 01, 2002 3:09 am (22 years, 5 months ago) |
  |
I just downloaded it, there are lots of files in there, run which one?
I'm using 34SP, does the install script do it properly here? |
|
|
    |
 |
Justin
4WebHelp Addict

Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Fri Nov 01, 2002 9:25 am (22 years, 5 months ago) |
  |
precious wrote: | I just downloaded it, there are lots of files in there, run which one?
I'm using 34SP, does the install script do it properly here? |
I have no idea if the install script works properly, but you will need to run it anyway, as it creates the tables and database, although doesn't always change the values in config.inc.php automatically, you might need to do it yourself.
Just run the install.php file. |
|
|
     |
 |
precious
WebHelper

Joined: 06 Apr 2002
Posts: 65
|
Posted:
Sat Nov 02, 2002 8:33 am (22 years, 5 months ago) |
  |
The Perl Guestbook 1.5 in Proxy2.de seems to be much easier to setup and the features look suffice for me. Let me know if there is any pitfalls/bugs for this one. |
|
|
    |
 |
Justin
4WebHelp Addict

Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Sat Nov 02, 2002 9:44 am (22 years, 5 months ago) |
  |
precious wrote: | The Perl Guestbook 1.5 in Proxy2.de seems to be much easier to setup and the features look suffice for me. Let me know if there is any pitfalls/bugs for this one. |
I wouldn't know, never used it, only used the advanced php one. |
|
|
     |
 |
precious
WebHelper

Joined: 06 Apr 2002
Posts: 65
|
Posted:
Sat Nov 02, 2002 1:16 pm (22 years, 5 months ago) |
  |
I'm totally new to PHP and mySQL, could you recommend me a good basic PHP and mySQL webpage for me to read to get me quickly started before I have the necessary expertise to configure the Advanced Guestbook? Or you may like to give me some necessary pointers here to help me to quickly get this PHP script up and running. I'm hard pressed for time to get a Guestbook up and running.
As it is going to be a Guestbook I'm using in the long run, it would be good to get this advanced guestbook properly configured now. PHP and my SQL expertise I will pick up the skill later.
Thanks! |
|
|
    |
 |
precious
WebHelper

Joined: 06 Apr 2002
Posts: 65
|
Posted:
Mon Nov 04, 2002 2:09 pm (22 years, 5 months ago) |
  |
OK, I'm trying the script now.....
When I run the install.php, the error msg I got in the Advanced Guestbook Setup:
Warning: Access denied for user: 'myname@localhost' (Using password: YES) in /usr/local/psa/home/vhosts/mydomainname/httpdocs/guestbook/install.php on line 242
Warning: MySQL Connection Failed: Access denied for user: 'myname@localhost' (Using password: YES) in /usr/local/psa/home/vhosts/mydomainname/httpdocs/guestbook/install.php on line 242
Cannot connect to database
Are there any other changes I need to make on the config.inc.php as I have used all the defaults other then the only changes I made were:
$GB_PG["base_url"] = "http://mydomainname/guestbook/img";
$TEC_MAIL = "myname@mydomainname"; |
|
|
    |
 |
Darren
Team Member


Joined: 05 Feb 2002
Posts: 549
Location: London
|
Posted:
Mon Nov 04, 2002 4:29 pm (22 years, 5 months ago) |
  |
I'm not familiar with the script, but it looks as though you need to provide it with the details for your database: i.e db server, username & password
logic says that would be in the config file you mention, but I'm not sure |
|
|
     |
 |
Darren
Team Member


Joined: 05 Feb 2002
Posts: 549
Location: London
|
Posted:
Mon Nov 04, 2002 4:34 pm (22 years, 5 months ago) |
  |
I've just downloaded the script and yes the database settings are in config.inc.php
Have you read the instructions in the readme.txt file located in the 'doc' directory? as this tells you what steps to take. |
|
|
     |
 |
precious
WebHelper

Joined: 06 Apr 2002
Posts: 65
|
Posted:
Tue Nov 05, 2002 2:07 am (22 years, 5 months ago) |
  |
My host server is 34SP, and I'm using all the default settings in config.inc.php as indicated in the comments headings:
/* database settings */
/* tables */
/* guestbook pages */
/* guestbook templates */
What are the changes I need to make inside those headings?
The readme.txt simply indicated:
Installation:
1. Open the configuration file 'config.inc.php' with a text editor
and set up your database settings.
2. Create the tables for the guestbook:
mysql -u<user> -p<pass> <database> < guestbook.sql
Or use the script 'install.php' -> http://www.yourDomain.com/guestbook/install.php
3. Give write permissions to these directories:
- public - 777 (drwxrwxrwx) (directory)
- tmp - 777 (drwxrwxrwx) (directory)
4. The default account is:
Username : test
Password : 123
I'm a newbie to PHP and mySQL, so will definately need some guidance here on what settings to set. I have already done step 3. |
|
|
    |
 |
precious
WebHelper

Joined: 06 Apr 2002
Posts: 65
|
Posted:
Tue Nov 05, 2002 11:15 am (22 years, 5 months ago) |
  |
I was wondering if I need to create a database with the name guestbook.sql first with the siteadmin tool at 34SP before I go to step 2? |
|
|
    |
 |
|