i have installed a fresh SMF 1.1 RC2 forum and i wanted to install the TP on it
but when running the install file i get these errors:
Quote
Install / Upgrade TinyPortal v0.8.6beta
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 16
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 16
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 24
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 24
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 36
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 36
Upshrink table created
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 41
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 41
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 49
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 49
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 59
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 59
Settings table created
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 119
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 120
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
Warning: mysql_query(): A link to the server could not be established in /hsphere/local/home/rsabouni/bestuaehost.com/forum/tp_install.php on line 121
TinyPortalÂÃ,´s table structure is now installed/updated.
Please restart your forum to see the changes.
when I restart my forum I get this error:
Quote
Table 'rsaboun_main.forum_tp_settings' doesn't exist
File: /hsphere/local/home/rsabouni/bestuaehost.com/forum/Sources/TPortal.php
Line: 103
so any body can help?
Thx
CuTe_MaN
That seems to me like you have problems with the connection to your database.
I think you have to contact your host about that and ask them for support on this.
ok but before an hour i have installed the forum so every thiing was working
Its having issues connecting to your MySQL server obviously. The problem with that is that there's not much help we can give as it seems to be a host issue. Are you doing the manual install or through the package manager?
Wat you can check is the settings.php file in your forum root, does the connection info show the correct paths there?
i have done the manual install
how i can check the settings.php?
thx
Logg in to your domain through FTP where you have all the forum files, then in the forum root you have settings.php :)
yea it is available there and it is in the right root
any other suggestions?
Yes it's there, but is the code IN the file correct ? Does the url strings match the setup you have ?
can u check the settings file that i attached and tell me if the problem is from there or not?
my website url is:
http://www.bestuaehost.com/forum/index.php
thx
The file you posted does not have any setup done yet. It is the default settings.php file. You need to edit that file, and put in the configuration matching your site.
Example:
$mbname = 'My Community'; # The name of your forum.
Change My Community to what you want your forum's name to be
$boardurl = 'http://127.0.0.1/smf'; # URL to your forum's folder. (without the trailing /!)
Change http://127.0.0.1/smf to the URL of your website (http://ww.bestuaehost.com/forum for example)
$db_server = 'localhost';
If your MySQL server's name is not localhost, then change it to what your MySQL Server's name is
$db_name = 'smf';
Change smf to what your database name actually is.
$db_user = 'root';
Change root to your real database user name
$db_passwd = '';
put in your database user's password between the single quotes
That is the minimum you will need to do.
If you are unsure what you should write in there, you can browse to simplemachines.org. there you browse to the downloadsection, then to tools
Download the repair_settings.php and upload that file to your forum root folder (same place as the settings.php file)
Then point your browser to that file
EG: http://yourdomain.com/forum/repair_settings.php
That file will open a window with your correct urls and how they should look like to function correct.
If the lines are correct, click the button to the right all the way down on the page, and it will update your settings.php and set the correct values automaticly for you :)
I have changed every thing that can fit my site but i get a new error:
Quote
Template Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.
You can also try refreshing this page.
Thx alot
CuTe_MaN
Is that from the SMF default theme?
no i was using lastly another theme
Multi Holius
Please read the Documentation about how to manage things with install and changes to the forum.
Bot here and on SMF forums, is pointed out in about 500 threads and more, that ALL changes have to be done FROM and IN the SMF DEFAULT theme.
No wonder you get errors all over, Set your forum to SMF default theme, and start over from point one in this thread or read the other support threads in this "installation" forum.
There is no use for us to spend hours in supporting when you havent even read the basics on how to manage the forum and mods installations.
Always read the forum/mod documentation
Always have the forum set to SMF default theme
Always make backups of everything before any changes are made
Those 3 rules could have saved MANY forums and setups if the documentations had been read before the changes of your forum and portal.
Now this was not just for you, but for every one that read this post in this thread ;)
ok thanks for the advice
ididn't know that i have to use only the default theme when i install any thing
one more thing is that i cant get to any thing in my froum to change the default theme
so can you tell me how to change it?
you can see my website how it is now
http://www.bestuaehost.com
Thx
CuTe_MaN
QuoteYour account has been created.
You can access your Web site right away using d2010045.u84.mygisol.com. Over the next few days, DNS servers all across the Internet will
update themselves with your new site name. Once that happens, you will be able to access your site at its permanent address, bestuaehost.com.
Perhaps the statment from the host you are using are the reason that you cant do all that much on your forum right now ??
To get to Default theme typ in the adress in the browser
http://www.yourdomain.com/smf/index.php?theme=1
I have entered the default theme and i am still getting the same problem
here is the link:
http://www.bestuaehost.com/forum/index.php?theme=1
thx
CuTe_MaN
Download the same version of SMF you are using from SMF forums, then exreact the package and upload template files for the default theme, that should get the default theme back
I have done that and I am getting this error:
Database Error
Please try again. If you come back to this error screen, report the error to an administrator.
Did you replace the template.php files only? They should not make the DB errors
you mean by template.phph files files like index.template.php and like that?
if that wht you mean I have replaced the whole default theme file
I meant for you to only replace the template.php files for the default theme, not the complete theme folder.
This is some what getting nowhere, I think you will be better off to simply delete all forum files all to gether just keeping settings.php and settings.bak.php, then upload a hole new fresh set of files from the upgrade package (the same SMF version you have been using) then run the upgrade.php from your browser.
That will give you all fresh files. You will still have the same DB so you will not loose anything from the content you have.