I developed a site on my computer and am now uploading it to a host (HotDrupal). I ftp'd the files to the public html folder. I exported my database in SQL and uploaded it. I had to change the database name (something with the host). When I went to my domain, I got a error that I needed to change my settings.php file. So I did that, pointing to my new database name. Then when I went to the domain it showed the front page info, but with no formatting, color, nothing. When I logged in, it literally looked like this (below). What now? Is my file structure messed up?
Home
admin
* Contact
* My account
* Create content
* Administer
* Log out
Places You Can Go
* Home
* Member Information
* Calendar
* Directions
* Dolphin History
* Porpoises
* Meet Results
* Records
* Photos
* Links
Find Stuff on Our Site
Search this site:
Home » My account
admin
Comments
Try clearing your "cache"
Try clearing your "cache" files and retry,
if that doesn't help,
scan the exported SQL file for your development folder names, and replace those with your production folder names.
Good Luck.
Much better
Clearing the cache and fixing the folders did wonders. Thanks! It at least looks like my site.
Now I just need to figure out why all my images aren't linked correctly. For instance my logo path looks right I'm looking in admin/build/themes/settings/garland and under "Path to custom logo" I have: "sites/default/files/Official Logo 1.png". Then I look in my files under public_html/sites/default/files and the Official Logo 1.png file is there. I don't know why it won't hook up? This is true of all my images in the site. Help!
Try renaming to
Try renaming to OfficialLogo1.png or anything without spaces.
possible reason ...
1) Make sure all the images have been copied to server properly. The permissions for the logo is set in theme setting and for other images if you are using field then just cross check the permission for that particular field.
2) Secondly check the permissions on the files folder
3) Thirdly if you know Webdeveloper tool for firefox (its addon for firefox) then check for the broken images and the paths its creating to pick the images
4) If you are not aware of the Web developer tool just send me the link i will check it.
Chetan.
You guys are great!
It turns out all the link problems originated from case sensitivity issues. Not being a Linux guy, I didn't realize it would be problematic. It didn't cause any problems when developing it in the windows environment, but when I loaded it on the host, bang, all heck broke loose. Not to bore you with the details, but many of my images were in a folder "Yearbook" but all my
tags had "yearbook". I'm sure all you programers are laughing, but newbies beware!...even something like file extensions have to be the same case. Enough rambling...thanks so much for your thoughtful guidance, I would have never figured it out! Now my site is almost ready to go live thanks to you. Drupal forum is the best!
Tips for people using host HotDrupal
Just a word of warning, I wasted 5 hours trying to troubleshoot my site. When I setup my account I didn't choose a dedicated IP. Also, I had not yet directed my domain name to the new site, so I was trying to access it through the IP address they gave me in the account information email. All I could see was the Apache information. After trying tons of stuff I put in a ticket and they told me farely promptly (thanks Hotdrupal support!) that I couldn't access it that way if I didn't have a dedicated IP. They set up temporary access url and voila I could see the drupal interface. Don't know if this applies to other hosts as well.
Yes, that's a killer. But
Yes, that's a killer. But it's a "nice" way to make an additional sale (ip address)
Most (or is it just some?) shared hosts will give you a free domain name and that will be your (account) main domain, all other domains that you add will be sub-domains of that main domain, so you can always reach them through the sub domain, and when eventually propagated through their own domain name.
I have more or less your problem
I am working with xampp and I have a folder under my localhost. I have uploaded my files to the server, and I exported my database with phpmyadmin, and then imported in the live server, again with phpmyadmin. I get an error telling me that my site is off-line, but I have already changed the settings.php $db_url = and I have no luck.
First I thought that maybe it was because the development site was under a folder, and the live site was in the root folder, but I tried uploading in the live server to a folder and I keep having no luck.
Anyone has an idea of what I could be doing wrong?
Thanks,
Ara.
go to http://yourwebsite/user
go to http://yourwebsite/user and try to log in. Check the site mode is in Online mode. I don't think so its a database connection problem since you are getting a message that site is offline. Oh... one more thing did you clear your cache table before exporting it from localhost. If you not then try first clear cache table after you logged in as admin. And if problem still persist repeat your above step and just add one more step i:e to clear cache table before exporting a database from localhost
Chetan
I'll try that
Hi, thanks for writing. I clicked on "clear cached data" under admin/settings/performance. Is that all, or do I have to do something else in another part of the Drupal administration? because I did that before exporting, and no luck, and I can't access /user :(
Thanks again,
Ara.