I have downloaded my drupal 6 site from the hosting provider and I'm trying to run it locally in an exactly same environment:
On hosting provider
1. mysqldump -u user1 -p mydatabase > /home/user1/public_html/mydatabase.sql
2. compress the site with tar -jcpf /home/user1/public_html mysite.tar.bz2 (-p keep permissions)
Locally
3. HOSTNAME: set the same hostname as the provider in /etc/hosts
(192.168.1.65 providername.domain.com)
4. PATH: mkdir /home/user1 and extract the bz2 file there to create the same path
4. PERMISSIONS: give ownership with chown apache:apache /home/user1/* -R
5. DATABASE: create the same database name and import the dump with mysql -u user1 -p mydatabase < mydatabase.sql
the site works ok but when i'm trying to change (delete & upload) an image on a story the thumb appears ok but the image on the full node is missing and apache error log says:
File does not exist: /home/emporoip/public_html/sites/default/files/imagecache/620x400, referer: http://192.168.1.65/?q=content/mystorytitle
so what else may be the difference between hosting provider and the local server?
Comments
Comment #1
fizk commentedPlease reopen if this is still an issue with ImageCache 6.x-2.0-rc1.