Home TheRandomizer Forum Index Log in Register FAQ Search
TheRandomizer Forum Index » Installation Help » why this absolute path doesn't work, why is this different Goto page 1, 2, 3  Next
Post new topic  Reply to topic View previous topic :: View next topic 
why this absolute path doesn't work, why is this different
PostPosted: Fri Nov 07, 2003 7:53 am Reply with quote
klaussr
Guest




why the absolute path is not like every other php installation I've done,

?????

with this I get this error:

Quote:
Warning: mysql_pconnect(): Access denied for user: 'myrandom@localhost' (Using password: YES) in /home/domainname/www/install.php on line 27
I cannot connect to the database because: Access denied for user: 'myrandom@localhost' (Using password: YES)


the absolute path is in the following form:

it should come up with that error, the domain name is not the one included in the path with my webhoster.

the path I placed was in this form:

/home/username/public_html/ (if installed at the root)

or

/home/username/public_html/directoy (if installed in a primary directory).

WHICH SHOULD BE THE CORRECT PATH.


and this is not working, it keeps coming with the same connection to database error
..
PostPosted: Fri Nov 07, 2003 8:10 am Reply with quote
klaussr
Guest




I was reading the post where someone mention a different path when hosting in a server with virtual_domains, but I didn't see any solution to my problem there.

I tryed those paths mentiones there and it come with the same error.

I tryed:

$CONFIG->wwwroot = "/home/httpd/vhosts/mydomainname.com";
$CONFIG->siteurl = "http://www.mydomainname.com";


what's is the solution to this dilema ??
forgot to mention
PostPosted: Fri Nov 07, 2003 8:21 am Reply with quote
klaussr
Guest




I'm using the version 2.2, just downloaded yesterday.

my webhsting provider is using php 4.3.3 and apache server V1.3.28 on a Linux server 2.4.20-grsec

Server Root /usr/local/apache

DOCUMENT_ROOT /home/myusername/public_html

(my domain name is not included in the document root)
other path
PostPosted: Fri Nov 07, 2003 8:29 am Reply with quote
klaussr
Guest




other path I found is this in case my help to resolve this issue:


/usr/local/apache/bin/httpd
PostPosted: Fri Nov 07, 2003 9:22 am Reply with quote
g0ldy
Visitor
Joined: 29 Oct 2003
Posts: 10




myusername = the username that you use for the ftp!
Re: why this absolute path doesn't work, why is this differe
PostPosted: Fri Nov 07, 2003 10:37 am Reply with quote
shadow
Addict
Joined: 16 Oct 2003
Posts: 171
Location: Virgin Islands




Hi Klaussr

If this is a direct quote below your problem is that the "domainname" in your config.php needs to be changed to your username. The one you use to ftp to you site. My quess would be something like:
/home/klaussr/public_html

If it not a direct quote then you need to check to make sure that you set up the db_connect.php with the right information for your mysql database. If you did this already check to make sure you didn't make any typos.
klaussr wrote:


with this I get this error:

Quote:
Warning: mysql_pconnect(): Access denied for user: 'myrandom@localhost' (Using password: YES) in /home/domainname/www/install.php on line 27
I cannot connect to the database because: Access denied for user: 'myrandom@localhost' (Using password: YES)




If that doesn't work ask your host to provide you with the complete path to root. They should have it posted somewhere on their hosting site in facts or help section.
Shadow
PostPosted: Fri Nov 07, 2003 3:43 pm Reply with quote
cashgalore
Visitor
Joined: 04 Nov 2003
Posts: 13




Hi Klaussr

what control panel are you using cPanel, Plesk or another
xxxx
PostPosted: Fri Nov 07, 2003 6:17 pm Reply with quote
klaussr
Guest




i'm using cpanel, the dbase has been created, the username and passwordfor the dbase is correct..

however installation fails to connect to dbase.

the absolut path is /home/username/public_html

I do create websites and have installed other applications like php oscommerce, xoops, phpbb, etc.. and all work fine. I don't know why your randomizer fail to connect with the path I gave it.
...
PostPosted: Fri Nov 07, 2003 6:19 pm Reply with quote
klaussr
Guest




that was a direct quote, I copyed and pasted
PostPosted: Fri Nov 07, 2003 6:59 pm Reply with quote
webworks
Newbie
Joined: 20 Oct 2003
Posts: 7




make sure the the dbuser has permission to use the database created

absolute path is for webfiles.
 why this absolute path doesn't work, why is this different 
 TheRandomizer Forum Index » Installation Help
All times are GMT  
Page 1 of 3  
Goto page 1, 2, 3  Next
  
  
 Post new topic  Reply to topic  


Powered by phpBB© 2001-2006 phpBB Group |Randomizer Script | Web Hosting | phpBB Skin by Vjacheslav Trushkin