Cannot install theme

degeng's picture
degeng
Tue, 10/13/2015 - 03:33
#1
Cannot install theme

Hello,

I bought the  Sports&Life theme yesterday and I'm trying to get it installed, but ran into some errors with the profiles installation method.

In the db section, I entered "root" as username with the corresponding password, and added "3307" as the port of my localhost. I pass that section but when I enter all the settings in the "Configure Site" setting, I get the error: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES). Username and password are correct though, as I can install a new clean Drupal install with the same credentials.

I once got further, but than I received the following error: Fatal error: Call to undefined function field_attach_load() in C:\wwwroot\dansateljee\includes\entity.inc on line 354.

Can you help me out please.

Regards

Gerrit Degenhardt

Belgium

phuonght's picture
phuonght
Tue, 10/13/2015 - 04:23

Hi,

Did you config port of Mysql? If not, when installing, there is no need to add port. And please make sure that your account mysql (login account in phpmyadmin) is correct.

degeng's picture
degeng
Tue, 10/13/2015 - 04:37

Hello,

I have installed MySql locally, but I have another instance for Zend installed as well, so the MySql for my Drupal installations is configured to listen to the 3307 instead of the standard 3306, that just works for all my onther Drupal installations I did in the past. So I need to add that port or he is installing it on the wrong instance...

So no need of the phpMyAdmin as wel than...

cindy's picture
cindy
Tue, 10/13/2015 - 04:55

You can see error SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES).  

It is because of not connecting to mysql.  phpMyAdmin provides a web based graphical UI to manage your mySQL database, That's a way to check user name and password to see if they are correct or not. Your problem is about the connection to mysql, that's why the next steps of install process can not be done

degeng's picture
degeng
Tue, 10/13/2015 - 04:52

Ok, I understand, but then how come that I can do a clean install of Drupal with exact the same credentials..., so my username and password is correct than, isn't it?

cindy's picture
cindy
Tue, 10/13/2015 - 05:20

Hi,

You please test connect mysql with command https://dev.mysql.com/doc/refman/5.0/en/connecting.html
to make sure that you config correctly
If you cannot install with Drupal UI, you can import databse and edit file settings.php in sites/defaul/settings.php
see this http://serverfault.com/questions/251669/why-is-the-mysql-client-utility-... and  http://drupal.stackexchange.com/questions/96161/how-to-set-mysql-port-fo...

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.