TinyPortal

Development => Support => Installation => Topic started by: kimba on April 10, 2007, 01:55:05 AM

Title: Database name
Post by: kimba on April 10, 2007, 01:55:05 AM
I'm a bit curious about something. What table name prefix should i use when installing Tinyportal? I already have SMF 1.1.2 and I've tried naming my tables with the "tp_" prefix and "smf_tp_" prefix in the database but it still keeps giving me the following error message:

Quote
Warning: mysql_query() [function.mysql-query]: Access denied for user: 'ofstagea@localhost' (Using password: NO) in /home/ofstagea/www/test1/tp_install.php on line 17

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/ofstagea/www/test1/tp_install.php on line 17

Warning: mysql_query() [function.mysql-query]: Access denied for user: 'ofstagea@localhost' (Using password: NO) in /home/ofstagea/www/test1/tp_install.php on line 25

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/ofstagea/www/test1/tp_install.php on line 25

etc ... What am I missing?   :-\
Title: Re: Database name
Post by: Shadow on April 10, 2007, 02:06:32 AM
After you install TP your forum running fine?

Title: Re: Database name
Post by: kimba on April 10, 2007, 02:09:14 AM
Well, I'm testing it atm in a subdomain and it's telling me that I have a database error [ie copying the forum files in a subdomain]. I figured it might have something to do with the table prefix names
Title: Re: Database name
Post by: JPDeni on April 10, 2007, 02:23:33 AM
You're moving your files? If so, you need to find repair.php over at the SMF site and run it.

Your problem definitely does not have anything to do with your table prefixes.
Title: Re: Database name
Post by: kimba on April 10, 2007, 02:25:24 AM
No, I'm copying my files. :P I'm just getting the following messages:

http://test1.ggenesis.net/
http://test1.ggenesis.net/tp_install.php
Title: Re: Database name
Post by: Shadow on April 10, 2007, 02:34:33 AM
Well, you might have to move all your's files back before you moved them
Title: Re: Database name
Post by: kimba on April 10, 2007, 02:36:31 AM
I didn't move them. I just copied them. The original files are still there.
Title: Re: Database name
Post by: Ken. on April 10, 2007, 02:57:37 AM
Quote from: kimba on April 10, 2007, 01:55:05 AM
I'm a bit curious about something. What table name prefix should i use when installing Tinyportal? I already have SMF 1.1.2 and I've tried naming my tables with the "tp_" prefix and "smf_tp_" prefix in the database but it still keeps giving me the following error message:

Quote
Warning: mysql_query() [function.mysql-query]: Access denied for user: 'ofstagea@localhost' (Using password: NO) in /home/ofstagea/www/test1/tp_install.php on line 17

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/ofstagea/www/test1/tp_install.php on line 17

Warning: mysql_query() [function.mysql-query]: Access denied for user: 'ofstagea@localhost' (Using password: NO) in /home/ofstagea/www/test1/tp_install.php on line 25

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/ofstagea/www/test1/tp_install.php on line 25

etc ... What am I missing?   :-\

Sounds like you are trying to install TP directly to your data base???
If so thats not the way you do the install... you go to your SMF admin control panel and upload the TP zip file with your package manager and install it.
Sorry if I misunderstood.
Title: Re: Database name
Post by: JPDeni on April 10, 2007, 02:59:49 AM
QuoteI just copied them.
Which ones were you trying to access when you got the errors? The originals or the copies?
Title: Re: Database name
Post by: kimba on April 10, 2007, 03:03:34 AM
The copies. I haven't touched the original files. In fact, I haven't touched any of the database info from the original Settings.php file. All I've done is changed the directory/file path to reflect the subdomain I'm testing in the copied file.

Going back to Ken's suggestion. Perhaps I should re-install TP using the copied files using SMF admin CP
Title: Re: Database name
Post by: JPDeni on April 10, 2007, 03:09:42 AM
Okay. Then you need to run the repair.php file on the copies. The effect is the same as moving the files.

If this doesn't seem to fix your problem, please start over and describe exactly what you did and what the result was and what you're trying to accomplish. It's easier for us to help you if you do that.
Title: Re: Database name
Post by: kimba on April 10, 2007, 03:22:38 AM
I've solved the problem by installing it via my "copied" SMF admin cp
Title: Re: Database name
Post by: IchBin on April 10, 2007, 03:30:39 AM
It seemed you were running tp_install.php in your browser? If so, that is the problem. When you manually install TP the way you were doing it you need to run manual_tp_install.php when doing it that way. But glad you got it sorted anyhow. :)