Aloha,

I am having problems with my drupal migration from my localhost to my live hosting at GoDaddy. I can see the homepage, but every other page is blank!!! Here's the details... Can anyone help???

I have a site on my localhost that is set up to run Ubercart e-commerce modules (including imagecache and cleanurls enabled). Its ready to go live.

I have a GoDaddy hosting account. I created a new database (same dbname as on localhost), exported the database from my localhost to an SQL file. Imported that SQL file to the new GoDaddy mySQL database. That worked great. They look identical.

I changed the sites/default/settings.php file to reflect the new database connection. It worked.

I go to my http://mydomain.com and I get the homepage of my Drupal site exactly as it was on my localhost. But when I try to login, visit a product, basically whenever I try to navigate away from the homepage I get a blank page. Nothing loads. No source code.

Can anyone help? Is this related to cleanurls? or GoDaddy??? Please advise.

Island Techy

Comments

islandtech’s picture

I went to my localhost, disabled all the modules I had installed (for ubercart), exported that database and imported the new one into the live GoDaddy database. I can now log in.

Just curiosity, was it imagecache, cleanurls, cheap GoDaddy hosting?? Any ideas??? Any way to circumvent this in the future for DB imports??

Andy_Lowe’s picture

This is a problem with some hosted services. You can read more about it here: http://www.ubercart.org/forum/bug_reports/751/ubercart_install_causes_bl...
Basically PHP has a memory limit per Apache thread defined in your php.ini file. Drupal 5 loads every active module for every page load which can easily put you over PHP's memory limit for sites with many active modules (Ubercart). The solution is to increase the memory limit. Some hosts let you change this, and some don't. I think GoDaddy will let you change it, but I am not sure. This problem is fixed in Drupal 6 because Drupal 6 only loads the modules needed to render the specific page you are viewing. Hope this helps.
Peace,
-Andy
Restaurant Equipment