Literally a couple:

1) Does it really matter if my localhost has the 5.3.5v of PHP and the live-server has the 5.1.6?
2) I'm transfering data through FTP(the whole content of the folder of my website, according to what I read) and I'm waiting the data for Plesk(the host) so I can build the database and run the .sql dumps... so after that... I'm done right.

Sorry to ask, this is the first website I upload and I'm very nervous because my boss thinks I'm lagging on purpose

Comments

Kirk’s picture

It might matter, and it might not. Some modules do have PHP 5.2 requirements, but they generally let you know that on the module page. My suggestion would be to have your development server be 5.1 as well. Going forward, you'll thank yourself.

occupant’s picture

Make sure you get the folder permissions right and the htaccess file makes it up there. Those can get missed and give you a whole pile of steaming php.

mrmofo’s picture

Don't forget to disable clean urls if they're enabled.

OU0’s picture

If may I ask, I know how clean URL works, but what difference does it make when I'm uploading the site?

mrmofo’s picture

Turning off clean urls before you make a backup of your database and porting it to your knew host may spare you a freak out moment when you can't get access to your site because the links no longer work.

Just in case you get stuck: example.com/?q=admin/settings/clean-urls

OU0’s picture

I cannot access my site, the user I used to develop is not accessing, I created another master user(and by that I mean that I created a role and give it all permissions) and I cannot access either but:

With the user I developed the site, the page turns blank
And with the user I created I get kicked out to the same maintenance page

Any ideas of why is that?

ayesh’s picture

Forgot to set new database connection in /sites/default/settings.php file ?

OU0’s picture

I have two options on what the problem is, one memory limit too low on php.ini, or Gallery is messing with me. I don't know... I went to the Drupal FAQ and added this two lines on my settings.php:

ini_set('max_execution_time', 0);
ini_set('memory_limit', '128M');

That didn't fixed it...

ayesh’s picture

I mean the dburl thing in settings.php file.
Can you post thr error message you see in the maintenance page?

If it mention a database, most likely that site cannot connect to database url given in settings.php

OU0’s picture

First I passed the whole file of Drupal
Second I went to the host and entered PHPMyAdmin and imported(with effort) the Database
After that I tried to went to the site (residenteslosreyes.com) And it shows my message which translated is we're under maintenance sorry for the inconvenience
Then I went to thenameofthesitegoeshere/?=user and tried to log in with my username I used to develop the whole thing my user/1 username, and then blank!

The maintenance page doesn't give me any errors

ayesh’s picture

Open the settings.php file and locate the following.
$db_url
Then, go to phpmyadmin and find the database username, password and database name.
Replace that line with following format then.
$db_url = 'mysql://username:password@localhost/databasename';

If your web-host hosts database in a different server, replace "localhost" with hostname of the db host.

mrmofo’s picture

It looks like the database is not connecting. To test if this is true, change the username in settings.php to 'root' and enter mysql's root password.

irishgringo’s picture

I have never looked forward to a happy migration from my desktop devel, to my multisite installation. One of the big problems when turning off clean url's is that I screw my blocks up.

Doing Native iPHONE, ANDROID, Titanium, node.js and DRUPAL. as a contractor.

OU0’s picture

Cause this is a single site upload, although I think that in forum in the section of WSOD there's something about multisite upload