Thread: Some questions.
View Single Post
  #6  
Old 04-11-2012, 09:25 AM
StarGirl's Avatar
StarGirl StarGirl is offline
Member
 
Join Date: Feb 2012
Posts: 45
Gender: Female
Credits: 11,575
StarGirl is on a distinguished road
Default

Quote:
Originally Posted by Hall of Famer View Post
1. The promocode settings can be accessed from admincp/adopt.php file, while the pound system settings can be edited from admincp/settings.php.

2. Are you sure the images used to work for you in the first place? If so, they should work just fine this time. If you happen to upload images through ACP, try to look into the table prefix.filemap and see if their urls are correct.

3. This I am not quite sure, the approach should not differ much from what you've done in Mys v1.3.0.
1. Thanks, I thought they would be more visible :P

2. No they never worked. In prefix.filesmap there doesn't seem to be anything wrong though. Unless the server path shouldn't start with a slash, but then only 2 images start with slashes. And now some pets work, i'll check more..

3. Nevermind now, now I can't view my site. Before I upgraded to 1.3.1 everything was fine, after I upgraded it was still fine, but now I get an error: Could not connect to database, the following error has occurred:
SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
EDIT: Nvm, it was the host. But now I can access index.php it gives me an error, saying database.php or something is non existant. And when I go to see my backup of v1.3 it seems that's not existant too. Something wrong with the host. :P
Quote:
Originally Posted by Silver Kitsune View Post
For the avatar in the functions.php just place this where you want it to show up.

Code:
		$row = $GLOBALS['adopts']->select("users_profile", array(), "username='{$loggedinname}'")->fetchObject();

	        $sidebar .= "<img src='{$row->avatar}' border='0' width='100px' height='100px'><br><br>";
I thought I already tried that and it gave me another error... anyway, thanks! :)

Last edited by StarGirl; 04-11-2012 at 03:27 PM.
Reply With Quote