Hi to all, I had some issues with hosting company and had to leave them. But I did download all files and made mysql dump (using phpMyAdmin). The site was made with Drupa 6. I tried to recreate the site on my mac mini (MAMP) but wasn't successful. I copied all Drupal files inside MAMPS/htdocs (didn't forget .htaccess) and created a database with the same name and imported mysql dump (using also phpMyAdmin). Then made the change in settings file (line 92: $db_url = 'mysqli://root:root@localhost/mydbname';) Result is completely blank page.
What am I doing wrong?
Thanks for any help, Afan
On Tue, Nov 6, 2012 at 1:33 AM, Afan Pasalic afan@afan.net wrote:
Hi to all, I had some issues with hosting company and had to leave them. But I did download all files and made mysql dump (using phpMyAdmin). The site was made with Drupa 6.
Using phpMyAdmin to dump a Drupal DB is not recommended procedure, you may have lost some of the data due to connection timeout issues. I would have used mysqldump directly instead.
I tried to recreate the site on my mac mini (MAMP) but wasn't successful. I copied all Drupal files inside MAMPS/htdocs (didn't forget .htaccess) and created a database with the same name and imported mysql dump (using also phpMyAdmin).
What about user and password? Check your settings.php file.
Then made the change in settings file (line 92: $db_url = 'mysqli://root:root@localhost/mydbname';)
Is the password to your root user root?
Result is completely blank page.
Check the php, apache and system log files. Maybe your memory_limit needs adjusted?
What am I doing wrong?
I don't know, add a php file that simply does <?php phpinfo(); ?>.
On 11/6/2012 6:45 AM, Earnie Boyd wrote:
On Tue, Nov 6, 2012 at 1:33 AM, Afan Pasalic afan@afan.net wrote:
Hi to all, I had some issues with hosting company and had to leave them. But I did download all files and made mysql dump (using phpMyAdmin). The site was made with Drupa 6.
Using phpMyAdmin to dump a Drupal DB is not recommended procedure, you may have lost some of the data due to connection timeout issues. I would have used mysqldump directly instead.
I understand and, in general, I agree. Though, the database is small. I believe no more then 1000 records in all tables, including sessions and cache. :-) And I was thinking in this case phpMyAdmin will do the job, and make me Import easier.
I tried to recreate the site on my mac mini (MAMP) but wasn't successful. I copied all Drupal files inside MAMPS/htdocs (didn't forget .htaccess) and created a database with the same name and imported mysql dump (using also phpMyAdmin).
What about user and password? Check your settings.php file.
I changed the database username and password in settings.php, as stated a little bit below.
Then made the change in settings file (line 92: $db_url = 'mysqli://root:root@localhost/mydbname';)
Is the password to your root user root?
These are default values in MAMP on my local machine, my desktop (Mac Mini) and it's accessible by me only. I didn't see any big reason to change it. I just wanted to recreate it and localy move it from Drupal 6 to Drupal 7 and then move it (again) to new hosting.
Result is completely blank page.
Check the php, apache and system log files. Maybe your memory_limit needs adjusted?
Very good idea! Why I didn't think about the basic thing?!?!?!? :(
What am I doing wrong?
I don't know, add a php file that simply does <?php phpinfo(); ?>.
Thanks a lot :)
Use command line mysqldump to create the sql file and mysql to import it. Lightening fast compared to phpmyadmin
On Nov 6, 2012, at 9:20 AM, Afan Pasalic afan@afan.net wrote:
On 11/6/2012 6:45 AM, Earnie Boyd wrote:
On Tue, Nov 6, 2012 at 1:33 AM, Afan Pasalic afan@afan.net wrote:
Hi to all, I had some issues with hosting company and had to leave them. But I did download all files and made mysql dump (using phpMyAdmin). The site was made with Drupa 6.
Using phpMyAdmin to dump a Drupal DB is not recommended procedure, you may have lost some of the data due to connection timeout issues. I would have used mysqldump directly instead.
I understand and, in general, I agree. Though, the database is small. I believe no more then 1000 records in all tables, including sessions and cache. :-) And I was thinking in this case phpMyAdmin will do the job, and make me Import easier.
I tried to recreate the site on my mac mini (MAMP) but wasn't successful. I copied all Drupal files inside MAMPS/htdocs (didn't forget .htaccess) and created a database with the same name and imported mysql dump (using also phpMyAdmin).
What about user and password? Check your settings.php file.
I changed the database username and password in settings.php, as stated a little bit below.
Then made the change in settings file (line 92: $db_url = 'mysqli://root:root@localhost/mydbname';)
Is the password to your root user root?
These are default values in MAMP on my local machine, my desktop (Mac Mini) and it's accessible by me only. I didn't see any big reason to change it. I just wanted to recreate it and localy move it from Drupal 6 to Drupal 7 and then move it (again) to new hosting.
Result is completely blank page.
Check the php, apache and system log files. Maybe your memory_limit needs adjusted?
Very good idea! Why I didn't think about the basic thing?!?!?!? :(
What am I doing wrong?
I don't know, add a php file that simply does <?php phpinfo(); ?>.
Thanks a lot :)
-- [ Drupal support list | http://lists.drupal.org/ ]
New problem. I managed somehow to put the site back on the server but except the home page no other works?!!?? Could you please take a look at http://iowalincolnhighway.org/ Any idea what's gong on?
Thanks for any help, Afan
Afari,
Make sure the .htaccess file got copied over, the database is there and then check over the error logs.
Marty
At 12:09 PM 11/7/2012, Afan Pasalic wrote:
New problem. I managed somehow to put the site back on the server but except the home page no other works?!!?? Could you please take a look at http://iowalincolnhighway.org/ Any idea what's gong on?
Thanks for any help, Afan
-- [ Drupal support list | http://lists.drupal.org/ ]
Yup. That was it. I forgot to copy .htaccess. :( Ok then, when I use scp -v source/ target/ why it didn't copy ALL files? what flag in the future I have to use to be sure the .htaccess file is going to be copied too? I know, I know... man scp, but this way is easier :D
Thanks for help, Afan
On 11/7/2012 11:26 AM, Marty Landman wrote:
Afari,
Make sure the .htaccess file got copied over, the database is there and then check over the error logs.
Marty
At 12:09 PM 11/7/2012, Afan Pasalic wrote:
New problem. I managed somehow to put the site back on the server but except the home page no other works?!!?? Could you please take a look at http://iowalincolnhighway.org/ Any idea what's gong on?
Thanks for any help, Afan
-- [ Drupal support list | http://lists.drupal.org/ ]
On Wed, Nov 7, 2012 at 12:35 PM, Afan Pasalic wrote:
Yup. That was it. I forgot to copy .htaccess. :( Ok then, when I use scp -v source/ target/ why it didn't copy ALL files? what flag in the future I have to use to be sure the .htaccess file is going to be copied too? I know, I know... man scp, but this way is easier :D
If source/ is a directory then everything should have copied. If source/ is a glob of the files then * is likely to only see the "visible" files. By default .htaccess is a "hidden" file and you must specify it directly. Be careful in using a glob of .* because that includes . and .. directories and you could cause a recursive copy. You could use a glob of .[a-zA-Z0-9]* if you need to use a glob.
But most of the site works; there seems to be a problem with the image links. I had a similar thing happen and tried to figure it out; in the end it was simpler to just re-link them.
Pia
Afari,
Make sure the .htaccess file got copied over, the database is there and then check over the error logs.
Marty
At 12:09 PM 11/7/2012, Afan Pasalic wrote:
New problem. I managed somehow to put the site back on the server but except the home page no other works?!!?? Could you please take a look at http://iowalincolnhighway.org/ Any idea what's gong on?
Thanks for any help, Afan
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Afan
I just went on the site and seems to be working fine. -Dan
________________________________ From: Afan Pasalic afan@afan.net To: support@drupal.org Sent: Wednesday, November 7, 2012 12:09 PM Subject: Re: [support] Problem with recreating the site
New problem. I managed somehow to put the site back on the server but except the home page no other works?!!?? Could you please take a look at http://iowalincolnhighway.org/ Any idea what's gong on?
Thanks for any help, Afan
Yes. As Marty said, I forgot to copy .htaccess file to the server. My assumption scp will copy all files was wrong. :)
On 11/7/2012 11:51 AM, DAN HALL wrote:
Afan
I just went on the site and seems to be working fine. -Dan
*From:* Afan Pasalic afan@afan.net *To:* support@drupal.org *Sent:* Wednesday, November 7, 2012 12:09 PM *Subject:* Re: [support] Problem with recreating the site
New problem. I managed somehow to put the site back on the server but except the home page no other works?!!?? Could you please take a look at http://iowalincolnhighway.org/ Any idea what's gong on?
Thanks for any help, Afan
-- [ Drupal support list | http://lists.drupal.org/ ]