By OU0 on
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
It might matter, and it might
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.
Re: 2)
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.
.
Don't forget to disable clean urls if they're enabled.
Why?
If may I ask, I know how clean URL works, but what difference does it make when I'm uploading the site?
.
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
Well now...
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?
^
Forgot to set new database connection in /sites/default/settings.php file ?
What's new and changing in PHP 8.4
No, because then not even my maintenance message would show up
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...
^
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
What's new and changing in PHP 8.4
The steps of what I did
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
^
Open the settings.php file and locate the following.
$db_urlThen, 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.
What's new and changing in PHP 8.4
.
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.
What about Blocks?
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.
It's not the same thing
Cause this is a single site upload, although I think that in forum in the section of WSOD there's something about multisite upload