Okay I'm having some issues and I really need some help. I hope I give enough information. I am currently away from my computer and at the ER with my youngest daughter. (Twisted ankle.... Kids these days!). Anywho!

I have a localhost site built and would like to upload it to godaddy. Localhost is used via acquia dev desktop. So this is what I did in godaddy.

I downloaded and installed drupal via their server. I transferred the files from my user>Sites>acquia dev desktop>All and I still don't have the theme I used or anything from localhost. I still get the default drupal when I got to the site. Could someone point me in the right direction??

FYI, if you tell me to use drush commands or ssh then you will need to stay around a while. Lol! I have PuTTY and drush command tool and I have no clue how to use them to do what they need to do. Please help! Begging at this point! Thanks in advance!

Comments

JamesOakley’s picture

Hi

Glad it's "just" a twisted ankle ;)

It sounds to me as if you've uploaded your Drupal files, but not uploaded the site database. Please say if I've read you wrong here.

You need to use the phpMyAdmin tool in the Acquia Dev Desktop tool and go to the Export tab. Export the entire database to a file. If you use "custom" rather than "quick" settings, you can compress the resulting file, which will make it much smaller.

Then create a database in your GoDaddy account, go to their phpMyAdmin tool, select the newly created database, and this time use Import to upload your dumped database.

You then need to create a MySQL user in GoDaddy, and give that user access to the database you've created. Sorry - I'm not familiar with GoDaddy's control panel, so I can't walk you through that step.

Lastly, in the files you uploaded, edit sites/default/settings.php, and find the database settings in there. Change the database name, database username, and password to the name of your newly created database, the user you set up for the purpose, and the password you gave that user.


This signature is currently blank
Kendrick24’s picture

You read it correctly. The bad thing with Godaddy is that it will create a database for you and chose a "unique"name. I've tried all morning to backup my localhost database and import it on godaddy. But then I get all of these duplicate errors. I cant create a new user on my database because that option isn't available on the PHPMyadmin. I have no clue what I am doing wrong and what I need to do from here. I've uninstalled drupal so many times just to reinstall and get the same errors. I need to get this localhost transfer thing to work so I can start working on client websites. :-(

Thanks James for helping for sure! I am very grateful! I am definitely not going to give up and keep trying other options. If you have any other ideas or questions for me i will be glad to give them to you. I am soo confused on whats going wrong!

JamesOakley’s picture

Don't panic - I'm sure you'll get there.

My first, lateral, comment is: How decided are you on GoDaddy as your provider? Their reputation is that they are a mass-market host with a huge advertising budget (billboards, superbowl, etc.), but that their customer support isn't always what people would wish for, and that some people find their servers to be slow. They have many, many very happy customers, so they are a right match for some. One option is to move from choosing a massive provider to a small or mid-sized one, whose reputation is primarily for support.

That said, I'm sure we can get this working on GoDaddy's hosting. I'm familiar with the cPanel platform - which is one of the two control panels that GoDaddy offer. In that world, you have to create the database and the MySQL user from within cPanel itself (not phpMyAdmin), and then you can work on the database in phpMyAdmin. If you're on GoDaddy's proprietary panel instead, I'd have thought it's similar. Create the user, and grant the user permissions for the database, in the control panel itself.

You're getting duplicate errors. I'm guessing - do you mean errors like "database already exists" or "table X already exists"? If it's the database one, re-export the database from your localhost environment, and make sure you don't tick the "create database" option. If it's the table one, make sure you drop / delete all the tables in GoDaddy's phpMyAdmin before you run the import.

Not sure what else to suggest - come back to me on what I've said so far.


This signature is currently blank
Ken_GoDaddy’s picture

@Kendrick24,

I am with GoDaddy and came across your post.

Did @JamesOakley's walkthrough on creating the databases help you? If you are still having difficulty please feel free to follow up with me via private message with more about your site. I would like to connect with you to assist you with getting your Drupal site set up on your hosting account with us.

Titinoci’s picture

@Ken_GoDaddy,
Dear Kendrick,
I am dealing with the same problem you previously encountered.
Since June 2014, i have developped my website under drupal 7.34. I transfered all files with filezilla after installing 7.34 version in public_html. Then I tried to restore my local database with backup and migrate module to godaddy like I did many times on my other websites. Any error occured during the process but nothing changes on my website and on the site congifuration.
How did you resolve your former problem?
Need your help. here or in private at your covenience.

JamesOakley’s picture

>>Any error occured during the process

What error was that?

The advice given to @Kendrick24 was to make sure the database and database user were created in GoDaddy before importing the database.

Have you edited the settings.php file to match the database name, DB username and DB password that you are using?

It's rare that two users have exactly the same problems as each other, so maybe if you spell out in a little more detail exactly what you've done so far, someone will be able to point you to what to try next.


This signature is currently blank
aprilr’s picture

I am having this exact same problem. Have never had an issue with backups and restores at "work" but this is my personal site and it's hosted on GoDaddy and Restore simply will not... restore anything. It runs... I don't get an error - but nothing happens. It is very frustrating. Going to read through all this and see if I can figure out why. I don't see an obvious solution here, but hopefully it will come. I just lost my job and I need to get my portfolio up ASAP so I can get started with the job hunting!

Thanks!
April

aprilr’s picture

Ok, I was able to figure it out and I will try to relate what I did...

So, I had already created the DB and site on localHost. DB was named DrupalXXXX.

When I created the new Drupal site on GoDaddy it gave it a name of XXXX_drup1.

And for some reason no matter how I tried to restore the DB it just would not freakin' happen. I guess from now on I'm working on the server...

So first I exported the DB on localhost

Then I created a new BLANK DB on GoDaddy and Imported my localhost DB. I created a new user with access to this DB.

Next I had GoDaddy build my new Drupal site just using the default settings.

Then FTP'd my modules, themes, library, etc.

Here is the tricky part. I renamed the DB GoDaddy created to XXXX_drup2. Then I renamed MY localhost DB from DrupalXXXX to XXXX_drup2.

Then I added the user I crated as a privileged user to the DB. I don't know why this wasn't already set, but it wasn't. I then edited sites/default/settings.php with the following changes noted:

$databases = array('default' => array( 'default' => array(
'driver' => 'mysql',
'database' => 'XXXX_drup1',
'username' => 'NEW USERNAME',
'password' => 'NEW PASSWORD',
'host' => 'localhost',
'prefix' => 'REMOVE DEFAULT DRUP_ PREFIX AS MY ORIGINAL DIDN'T HAVE ANY',
'collation' => 'utf8_general_ci',
)));

Saved and reloaded the site and it worked and all my errors were gone and it was wonderful. Thanks!

abart83’s picture

We just migrated our drupal site from a old server to godaddy server due to some company internal issues, website was working fine, but after migrating it to godaddy server our webforms stopped working on new server, infact drupal core has stopped sending email notifications. I remember we had smtp related line in php.ini file but i am wondering how can we fix it on godaddy hosting because this case is a bit different we actually used our own drupal core on hosting rather than using godaddy's drupal core setup, so i am totally confused where can i fixed it in cpanel, my guess is if we had godaddy installed drupal then this problem might not occur.

Guys, any advise to fix this email issue on godaddy ? Its true godaddy support is not good as we were expecting!

harryadu’s picture

@Ken_GoDaddy,

Hi mate, wondering if you can help me with a similar issue.

creativesolutionist’s picture

I did these steps:

Go to MySQL® Databases > Add user to database > grant all privileges to the user

the site works but only the home page. disabled the clean url all works now :)

JamesOakley’s picture

the site works but only the home page. disabled the clean url all works now :)

I'm guessing you want clean URLs, though.

Check your .htaccess file. Make sure you have one. Try replacing your one with the one that comes in the download of Drupal core.


This signature is currently blank
bajanwil’s picture

Good afternoon 

i have recently discovered that my website was spammed.  To date i have received over 200 plus spam related emails

can someone help?

My hosting site is Godaddy and i am utilizing their spam application

Regards

JamesOakley’s picture

Is this a Drupal site?

I'd suggest you start a new thread in the general help forums, where this request will get seen. You've tagged this onto someone else's thread that was specifically about the settings required to move their site over to GD hosting, and is in the "Hosting Support" forum.


This signature is currently blank
bajanwil’s picture

Thanks for the suggestion 

My apologies