Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-05-2009, 02:59 PM
milay milay is offline
Member
 
Join Date: Feb 2009
Posts: 4
Credits: 988
milay
Default 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!!
Reply With Quote
  #2  
Old 03-05-2009, 03:05 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,548
BMR777 is on a distinguished road
Default 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.
Reply With Quote
  #3  
Old 03-05-2009, 03:25 PM
milay milay is offline
Member
 
Join Date: Feb 2009
Posts: 4
Credits: 988
milay
Default 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)
Reply With Quote
  #4  
Old 03-05-2009, 03:41 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,548
BMR777 is on a distinguished road
Default 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.
Reply With Quote
  #5  
Old 03-05-2009, 05:47 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,548
BMR777 is on a distinguished road
Default 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?
Reply With Quote
  #6  
Old 03-05-2009, 08:31 PM
milay milay is offline
Member
 
Join Date: Feb 2009
Posts: 4
Credits: 988
milay
Default 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......
Reply With Quote
  #7  
Old 03-06-2009, 02:48 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,548
BMR777 is on a distinguished road
Default 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.
Reply With Quote
  #8  
Old 03-08-2009, 07:21 AM
gjac1 gjac1 is offline
Member
 
Join Date: Feb 2009
Posts: 101
Credits: 8,342
gjac1
Default 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 :(
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT -5. The time now is 07:12 AM.

Currently Active Users: 453 (0 members and 453 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636