By phpdude on
Hello, Here's my problem:
I have a website at http://www.mydomain.com
The website is located in the root of my account (shared hosting).
I downloaded the files to my computer http://localhost/mydomain.com (not the root).
I created a new database and modified the settings.php file.
I had to clear the cache table to make it work.
The Images aren't showing and the downloads aren't working so I tried to change the base url in settings.php to http://localhost/mydomain.com - but that didn't help.
SOS :)
Comments
several factors could affect
several factors could affect this...
firstly what OS are you using?
Hosting - linux
Hosting - linux
Local version - Windows XP (using WAMP)
(everything else is working)
When you make a backup for
When you make a backup for your website and work on it offline, what are the steps to do that? (maybe I missed something).
Let's say that this is your website: http://www.mydomain.com
And you work on it on your local machine at: http://localhost/mydomain.com/
What are the steps to do this?
Anyone? pretty please
Anyone? pretty please
I found this links
I found this links -
http://drupal.org/node/120617
http://drupal.org/node/120647
Can anyone direct me to similar stuff? or maybe give some advices pleases?
Thanks
not to sound silly
have you tried putting your site in root? looking for an "all else being the same" setup... or, make the folder the root of a virtual site. to really make it seem the same, put a host file entry to simulate your real site, but pointing to your local.
If i could do that - I
If i could do that - I wouldn't ask this :)
I can't put it at the root because I have other test websites.
I really didn't understand anything of what you said in the second part. :) Simple English please :)
Help Please - I can't solve this
My original website: http://www.mydomain.com needed maintaining and reorganizing. I used a local host:
http://localhost/mydomain.com (I can't put it in the root of the localhost).
I created a new database and modified the settings.php file.
I had to clear the cache table to make it work.
The Images aren't showing and the downloads aren't working so I tried to change the base url in settings.php to http://localhost/mydomain.com - but that didn't help.
When I try to edit an image: the file path is http://localhost/mydomain.com/system/files/images/figure_98_4.PNG
I don't have a system folder (not on the original server and not on the localhost).
How to solve this? I am using WAMP.
Any help would be appreciated.
file system settings
the "system" part indicates you have/had the file system set to "private," or at least that is what happens to me.
You are right
I used the private file system on the original server- stupid, huh?
Is there a way to solve this?
um...
truthfully, this is where a "drupal expert" would help greatly. initially, i would just set your file system to "private" again. in any case, you probably want to at least set the tmp directory.
the fact that you are having problems getting to your files bothers me a little; the scary question (to me) is, what happens if you set your system to "private", set some content, then change your mind and make it "public?" hard-coded links will break; that's a given. but the system-generated paths will 1) change dynamically or 2) do what you have now. hm, have to build a crash-site to test this.
stuff like this reminds that i really should document my system settings... external site notes, cocktail napkins, whatever.
I have the same
I have the same configuration as you (WAMP on winXP)
I am also interested in knowing a solution to this, because my site has not gone live yet.
Anyway, I guess this has to do with the Apache configuration file (httpd.conf) and then adding a rewrite rule from domain/dir to domain (if you want it to appear on the root meaning you want your site to appear to visitors when they type domain.com)
Is this your problem? Please clarify more. Is it the problem with the page or only with the images?
Did you hardcode any paths??
Only the images. The paths?
Only the images.
The paths? I'm using the Pathauto module.
Read the previous comment - I think tm got it right.