TinyPortal

Development => Support => Installation => Topic started by: elfreakz on December 10, 2007, 08:10:10 AM

Title: Installing of database problem
Post by: elfreakz on December 10, 2007, 08:10:10 AM
Im stuck here.

The manual instruction say:

1. In the manual install package there is a file that should be on your forum root directory now. For the database  installation you need to point your browser to that file. Depending on the version of Tinyportal you have now, you type the URL like this. ( http://www.yoursitehere.com/forum/manual_tp_(the version number here)install.php ), and it will update your database with the TP tables and entries.

But i only saw tp_install.php in my folder.

so i type up www.xxxxx.com/tp_install.php

it show Install / Upgrade TinyPortal v0.9.8 beta page with lots of mysql warning

why?
Title: Re: Installing of database problem
Post by: elfreakz on December 10, 2007, 08:29:23 AM
example of the errors

Warning: mysql_query() [function.mysql-query]: Access denied for user 'apache'@'localhost' (using password: NO) in /home/xxxx/domains/xxxxxx.com/public_html/tp_install.php on line 17

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

Warning: mysql_query() [function.mysql-query]: Access denied for user 'apache'@'localhost' (using password: NO) in /home/xxxxxx/domains/xxxxxx.com/public_html/tp_install.php on line 25

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/xxxxxx/domains/xxxxxx.com/public_html/tp_install.php on line 25
Title: Re: Installing of database problem
Post by: Dragooon on December 10, 2007, 09:23:55 AM
Wait!
There are 2 packages. 1 is Manual Install the other one is Package Manager install(You install it like any other Mod out there for SMF).
I think you have the Package Manager Version, I suggest you install it via the package manager.
Title: Re: Installing of database problem
Post by: elfreakz on December 10, 2007, 09:37:36 AM
package manager?

i download TP from this site..

this one = http://www.tinyportal.net/index.php?action=tpmod;dl=item745

im confuse with the 2 version. where can i get the package manager then?
Title: Re: Installing of database problem
Post by: Dragooon on December 10, 2007, 09:41:47 AM
Package manager is in SMF Admin Panel. That version which you downloaded is meant to be installed via Package Manager. It edits/modifys and makes all DB changes itself.

See the SMF Documentary Site : http://docs.simplemachines.org to know more about SMF Package Manager and other various stuff.
Also Read http://www.tinyportal.net/index.php?topic=9233

And searching will also result many resolved same questions.
Title: Re: Installing of database problem
Post by: G6Cad on December 10, 2007, 09:54:32 AM
The package you have used is the package for package manager instalation.
If you have installed TP manually and uploaded the files, made the manuall edits to the SMF files needed, you can simply download the db install file only from our downloads. That file is specially made for just update or install the db tables tp uses.
Title: Re: Installing of database problem
Post by: elfreakz on December 10, 2007, 04:33:03 PM
problem solve.. thanks Dragooon and G6