Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Problems getting the script running.... (http://www.mysidiaadoptables.com/forum/showthread.php?t=493)

milay 03-05-2009 02:59 PM

Problems getting the script running....
 
[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

?>

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!!

BMR777 03-05-2009 03:05 PM

RE: Problems getting the script running....
 
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.

milay 03-05-2009 03:25 PM

RE: Problems getting the script running....
 
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)

BMR777 03-05-2009 03:41 PM

RE: Problems getting the script running....
 
Ok. Please PM me your FTP username and password. The password in the first post doesn't work and I need a username anyway.

BMR777 03-05-2009 05:47 PM

RE: Problems getting the script running....
 
Your site seems to be working now, sort of. Looking at the HTML source, did you mess with the templates at all?

milay 03-05-2009 08:31 PM

RE: Problems getting the script running....
 
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......

BMR777 03-06-2009 02:48 PM

RE: Problems getting the script running....
 
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.

gjac1 03-08-2009 07:21 AM

RE: Problems getting the script running....
 
milay, how did you get this webshost to allow the images to be shown ?? they seem to have the php read function disabled :(


All times are GMT -5. The time now is 01:45 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.