Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.
Navigation

mysql issue on NFS server

Last updated on 11 years ago
P
purplepeopleeater
Posted 11 years ago
Well i'm taking the phpfusion plunge and have a question.

I use nearlyfreespeech for my server needs and cannot seem to get fusion to take my database settings, I have created a new "test" DB in mysql admin panel but when I get to step 4 of the setup process it gives me this "Error: Unable to establish database connection.
Please verify your MySQL settings."

what am I missing?

I use phpbb for this website http://aircoolednuts.nfshost.com/index.php
P
purplepeopleeater
Posted 11 years ago
It appears that I must've had a setting incorrect on mt DB...

Here it is....
http://aircoolednuts.nfshost.com/fusion/news.php


I do have some broken image links, do I have permissions wrong?
Edited by purplepeopleeater on 18-11-2009 21:56, 11 years ago
W
Whitey
Posted 11 years ago
if you're using cpanel make sure your account name is followed by your database settings.

e.g. your cpanel account on your host is turtles09
your database name is site
your database username is cookies

your database name would be turtles09_site
your database username would be turtles09_cookies
your password would be what you set it as and the host would either be
a) localhost
or
b) the host they provide you with

these settings do apply to windows hosts too (some). i've used wamp on my servers as well as home computer and i know you do not need to enter db info that way.

good to know it's apparently resolved though.
also, those broken image links, it could be that the web server capacity is high and it's loading slow the image isn't there or there's no read permissions, personally even though it's dangerous unless you protect it i chmod everything to 777
P
purplepeopleeater
Posted 11 years ago
thanks, got it workin :)

Doesn't chmoding everyrthing to 777 allow the whole world to delete stuff? :(
W
Whitey
Posted 11 years ago
awesome! glad to hear :)
and no, chmodding everything to 777 doesn't allow "world" to delete stuff unless they somehow brute force everything. as long as your .htaccess is NOT 777 you're just fine with php fusion directories being 777. .htaccess is sometimes hidden of you use the cpanel file browser. if you use the filezilla file browser and set it to show hidden files, though, you will be able to see .htaccess and confirm that the permissions are something less than 777
Edited by Whitey on 19-11-2009 01:23, 11 years ago
P
purplepeopleeater
Posted 11 years ago
what is the cpanel file browser?
W
Whitey
Posted 11 years ago
when you login to the cpanel for your host you should see something called a File Manager
P
purplepeopleeater
Posted 11 years ago
Hmmmm.... no clue.
W
Whitey
Posted 11 years ago
you don't see this?
i49.tinypic.com/11buh07.png
that is not my site btw, a friends site and his cpanel
P
purplepeopleeater
Posted 11 years ago
Nope, that screen is forgin to me.
W
Whitey
Posted 11 years ago

Quote

banned guy wrote:
these settings do apply to windows hosts too (some). i've used wamp on my servers as well as home computer and i know you do not need to enter db info that way.

good to know it's apparently resolved though.
also, those broken image links, it could be that the web server capacity is high and it's loading slow the image isn't there or there's no read permissions, personally even though it's dangerous unless you protect it i chmod everything to 777

[link removed]


wow, copy my post much?
Edited by HobbyMan on 21-11-2009 12:38, 11 years ago
P
purplepeopleeater
Posted 11 years ago
lol, I was thinking there was some kinda echo in here.
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
You cannot set up a bounty in this discussion thread.
Moderator: Support Team
Users who participated in discussion: Whitey, purplepeopleeater,