Problems getting the script running....

Forum
Last Post
Threads / Messages

milay

Member
Member
Joined
Feb 28, 2009
Messages
4
Points
0
Mysidian Dollar
0
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.....


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

?>

However, when trying to load the page, it says:

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!!
 
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.
 
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)
 
Ok. Please PM me your FTP username and password. The password in the first post doesn't work and I need a username anyway.
 
Your site seems to be working now, sort of. Looking at the HTML source, did you mess with the templates at all?
 
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......
 
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.
 
milay, how did you get this webshost to allow the images to be shown ?? they seem to have the php read function disabled :(
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,277
Messages
33,118
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top