Community & Support

migrating to development site: file paths change to /drupal/ ??

Hi,

Something very weird just happened the other day: when migrating back to a multisite development site (xampp 1.7.1 on windows XP SP3 on a usb stick) from a production site, I lost all the paths to files, logo's, user pictures and images.

I fixed this partially by inserting "/drupal" before "/sites/my_development_site/files/" with the help from the Search and Replace module (http://drupal.org/project/scanner). However, in /admin/user/settings, the internal path to the user pictures is unaffected, and I can't figure out a way to solve this.

Last year, the same thing happened when using TinyMCE module, I switched to FckEditor since then.

Strange also that I had to adapt my url to http://my_development_site/drupal/ (notice the drupal/ at the end!) or I cannot reach my site.

I suspect the solution lies in settings.php, please help...

Thanks,
Jan

Comments

*_*

Well, even settings.php can't help when the issue is with the paths stored in db.
You need to write a script that changes all the paths at once in the db.

Regards.