![]() |
Home Community Mys-Script Creative Off-Topic |
|
![]() |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
[s]Before I start: I guess it'll make things easier if I also provide my passwords, else this problem might not be able to be solved.
So please, don't mess around with the sites. I personally don't care if you change anything since I can easily change it back or create a new site. But I want to solve this problem and this might become more difficult if you make more problems appear.....[/s] Problem seems to be solved, psswords already changed. ------------ I host the sites at bplaced.net. First, I made a test page: http://wolken.bplaced.net The database runs with the same domain (http://phpmyadmin.wolken.bplaced.net) Password used for both: neklow This site is running fine. The config.php has the following information: Code:
<?php // PHP Easy Adoptables Configuration File $dbhost = 'localhost'; //DB Hostname $dbuser = 'wolken'; //DB User $dbpass = 'neklow'; //DB Password $dbname = 'wolken'; //Your database name $dname = 'wolken.bplaced.net'; //Your domain name (No http, www or . ) $spath = ''; //The folder you installed this script in, if subfolder use a slash, if root domain empty $auser = 'milay'; //Admin Username for Host Admin CP $apass = 'hylo135'; //Password for Host Admin CP ?> Now the problem: I wanted to create a proper adoptables site. The domain: http://aenimals.bplaced.net The database: http://phpmyadmin.aenimals.bplaced.net Password used for both: hugede45 The config.php: Code:
<?php // PHP Easy Adoptables Configuration File $dbhost = 'localhost'; //DB Hostname $dbuser = 'aenimals'; //DB User $dbpass = 'hugede45'; //DB Password $dbname = 'aenimals'; //Your database name $dname = 'aenimals.bplaced.com'; //Your domain name (No http, www or . ) $spath = ''; //The folder you installed this script in, if subfolder use a slash, if root domain empty $auser = 'milay'; //Admin Username for Host Admin CP $apass = 'hylo135'; //Password for Host Admin CP ?> Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'www-data'@'localhost' (using password: NO) in /users/aenimals/www/inc/functions.php on line 44 Error connecting to mysql database! --------------------------------------------- Do you have any ideas what might cause this error? You may check the FTP-accounts if this'll help. Thanks in advance to all who try to help me!! |
#2
|
|||
|
|||
![]()
Double check that on the second site you uploaded config.php to the inc folder. If the file was not uploaded or only partially uploaded (corrupt upload) that would cause the issue. The error you get shows that you're not even attempting to use a database password, which I can see is not the case.
Just try re-uploading config.php and let me know if that has any effect. |
#3
|
|||
|
|||
![]()
The uploaded file is correct.
(You can check yourself, the download link is: ftp://aenimals.bplaced.net/inc/config.php If this doesn't work, you can manually check the FTP-account with the password in the first post) |
#4
|
|||
|
|||
![]()
Ok. Please PM me your FTP username and password. The password in the first post doesn't work and I need a username anyway.
|
#5
|
|||
|
|||
![]()
Your site seems to be working now, sort of. Looking at the HTML source, did you mess with the templates at all?
|
#6
|
|||
|
|||
![]()
Yay! It works! Much thanks!
Well, I played around a bit with the template, but it still worked at the wolken.bplaced.net site (my modified template). Was this the cause ofthe problem? (but why did the error say something with databse, when it's the template?) It might be, that I accidentially saved unfinished changes in the original crystal x-template...... |
#7
|
|||
|
|||
![]()
I'm not sure what the cause was. I don't think it was the template though. Anyway, it seems to be working now. I see you have a custom template that is on the site now.
|
#8
|
|||
|
|||
![]()
milay, how did you get this webshost to allow the images to be shown ?? they seem to have the php read function disabled :(
|
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New and having problems. | Cremuex Levier | Newcomer Center | 3 | 03-28-2013 10:59 AM |
Having a problem running a query | !Alive | Questions and Supports | 8 | 03-11-2012 02:39 PM |
Problems Installing Script | Abronsyth | Questions and Supports | 12 | 08-26-2011 06:32 AM |
Errors Running Mysidia | Inf3rnal | Questions and Supports | 10 | 03-04-2011 07:31 AM |
What's New? |
What's Hot? |
What's Popular? |