Author |
Message |
11/11/2004 23:31:48
|
marogiannis
Newbie
Joined: 11/11/2004 23:24:31
Messages: 1
Offline
|
I have been trying to instll the Advanced Guest Book which came bundled with my hosting, but keep getting various error messages such as:
MySQL Error : Query Error
Error Number: 1146 Table 'annaapts_agbook1.book_config' doesn't exist
PHP Version : 4.3.9
Can someone kind enough assist me with this.?
Thanks
|
|
12/11/2004 00:11:40
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
marogiannis wrote:I have been trying to instll the Advanced Guest Book which came bundled with my hosting, but keep getting various error messages such as:
MySQL Error : Query Error
Error Number: 1146 Table 'annaapts_agbook1.book_config' doesn't exist
PHP Version : 4.3.9
Can someone kind enough assist me with this.?
Thanks
bold = problem.
didn't run sql stuff or install.php
Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
12/11/2004 09:46:12
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Didn't read the manual.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
13/11/2004 17:43:43
|
Late Sleeper
Newbie
Joined: 13/11/2004 17:20:56
Messages: 3
Location: US
Offline
|
You 2 were not very helpful. I finally figured it out at 5:00 in the morning.
You can not always assume that people know anything about PHP. Or that they want to wade through all relevant posts.
My host stole the install.php file from my folder. I had to download a new zip file. Then upload the file. I didn't even know how to use it then, but I persevered...finally.
The "manual" was only 4 lines of very cryptic info.
I wonder if you or my host wanted me to succeed.
|
My old eye is twitching, because I stay up nights trying to figure out simple scripts...in the dark. |
|
13/11/2004 18:11:53
|
JTD
Graduate
Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline
|
First of all when you install a program from a cpanel. The install file will not be there when you are done. I dont care what host you use. And I am also almost willing to bet that the guestbook it did install was version 2.2. So if it was we will be seeing you back here when your guestbook gets hacked. And BTW the readme file isnt hard no complicated or long. Nor really has anything to do with php. All it does is tell you how to install the program. And if you dont want to wade though all RELEVANT posts then please dont whine and cry when you need help and someone tells you to please do a search.
|
LINK-> Use Lazarus Guestbook |
|
13/11/2004 20:11:07
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Sounds like the usual crap hosts. They offer a list of scripts they found free as an enticement to get people to sign up and they edit the scripts until they are unrecognisable and in some cases just don't work. the amount of times I've had to fix scripts peoples hosts have provided is unfunny.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
13/11/2004 20:16:32
|
Late Sleeper
Newbie
Joined: 13/11/2004 17:20:56
Messages: 3
Location: US
Offline
|
Thanks for responding so quickly,
I apologize if my tone seemed harsh. I should probably just skip the Cpanel's installation in the future, and just do it my self.
I am very new to database issues, and didn't even know what a table was (not that I do now). I am almost 40, but feel like a 5 year old kid trying to read my first book. I am thoroughly enjoying my new exposure to this very new world of script implementation. I can't wait for my next challenge.
2.3.1 was installed (it's nice to know that it is not as venerable to hacking, but I did read here about how to fix 2.2).
I posted because the doc/read me file was very hard to understand and use for first timers. I personally think it should be longer, plain, and concise.
Ok, now keep in mind that I am trying to be nice and helpful;
Installation:
1. Open the configuration file 'config.inc.php' with a text editor
and set up your database settings. It already looked fine to me. Everything was right where it should be. So where do I make the settings?
2. Create the tables for the guestbook:
mysql -u<user> -p<pass> <database> < guestbook.sql Now I know that's hard to understand. How and where do I create these tables?
Or use the script 'install.php' -> http;//www.yourDomain.com/guestbook/install.php I had to get a new one and place it in the guestbook folder. Without it, I didn't stand a chance. Even then, it took a while to realize that I just had to put the info from the config file in the blanks.
3. Give write permissions to these directories:
- public - 777 (drwxrwxrwx) (directory) [color="darkblue"]You mean: [/color]
- tmp - 777 (drwxrwxrwx) (directory)
4. The default account is:
Username : test
Password : 123 Without the install.php file running, where do I enter this info?
If you can provide answers to these questions, why not include this info in the readme.txt (for those of us using Cpanel) Please don't make it an adventure.
I hope this post helps another newbie find their way.
Tony
|
My old eye is twitching, because I stay up nights trying to figure out simple scripts...in the dark. |
|
13/11/2004 20:24:38
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
the install file will get the details it needs from the config file (admin/config.inc.php). The username and password are to access the Administration area of the guestbook and need to be changed asap.
The reason I get snappy sometimes is because I spend most of my time helping people in varius things and after a while I get pissy at people who ask what simple error messages mean. I had one ask what "mswnsck.ocx not installed or corrupt" meant Your error message is in plain english like most error messages but as it refers to SQL entries I can understand why you didn't know what it meant.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
13/11/2004 22:31:37
|
Late Sleeper
Newbie
Joined: 13/11/2004 17:20:56
Messages: 3
Location: US
Offline
|
Cpanel Users: It (the install file) didn't get the info it needed by itself. I had to input it myself (after I finallly realized it wanted the databases's password {from config file--> www,myhome.com/guestbook/admin/config.inc.php (LweZE9Kxop)} not my home one). After uploading the install.php file to the right place (and typing it's name into your browser's address bar and hitting Return), fill in the blanks with the stuff between the "_" (quotes). Each line just as it is. Yes, localhost is the name of your db's host, and that randomly generated password (which you have never seen before) is what you need to enter.
Tony
|
My old eye is twitching, because I stay up nights trying to figure out simple scripts...in the dark. |
|
13/11/2004 22:50:00
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Late Sleeper wrote: Yes, localhost is the name of your db's host
Tony
Is POSSIBLY the location of the mySQL serverand normally is but not always. For most you can leave it as localhost but if that fails contact your host.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
|