Download the site frome the server none of the links work and the images have disappeared
Permalink
Hello,
I copied the site to my local machine from the server. I copied into a direcotry under the www directory of my wamp server, and changed the site.php properties as such:
define('BASE_URL', 'http://localhost');
define('DIR_REL', 'my_folder_name');
I restored the database and created the user with the same name and password on the server.
When I visit the site I see the first page's contents but all the formatting (images/css) is missing and any link that I click on is broken. Is there another setting that needs to be modified?
Thanks in advance,
Hesam
I copied the site to my local machine from the server. I copied into a direcotry under the www directory of my wamp server, and changed the site.php properties as such:
define('BASE_URL', 'http://localhost');
define('DIR_REL', 'my_folder_name');
I restored the database and created the user with the same name and password on the server.
When I visit the site I see the first page's contents but all the formatting (images/css) is missing and any link that I click on is broken. Is there another setting that needs to be modified?
Thanks in advance,
Hesam
Thanks for the reply Steve.
The problem is that I cannot log into the dashboard. I am not able to navigate to the login page.
Thank you,
Hesam
The problem is that I cannot log into the dashboard. I am not able to navigate to the login page.
Thank you,
Hesam
This what the home page looks like:
So bothhttp://www.sitename.com/dashboard andwww.www.sitename.com/index.php/dashboard...
lead to nowhere? Is that correct?
lead to nowhere? Is that correct?
You're missing a slash at the beginning of your DIR_REL. Try this:
define('DIR_REL', '/my_folder_name');
So I got the links to work by enabling mod_rewrite on Apache. But the cusmtomized CSS and the images still are not working. They work fine on the server but not locally on my machine. When I look at the error logs on Apache the following errors are printed
(20024)The given path is misformatted or contained invalid characters: Cannot map GET /TGS/%3C?=$this-%3EgetThemePath()?%3E/images/bar.png HTTP/1.1 to file, referer:http://localhost/TGS/
Thanks in advance,
Hesam
(20024)The given path is misformatted or contained invalid characters: Cannot map GET /TGS/%3C?=$this-%3EgetThemePath()?%3E/images/bar.png HTTP/1.1 to file, referer:http://localhost/TGS/
Thanks in advance,
Hesam
Maybe check your header.php and look for the $this->getThemePath() bit and see what it looks like. This error seems to be saying that the > and < characters are malformed or something.
Hi, I looked around, here is a link to a bug report. Maybe it will help you troubleshoot.
https://issues.apache.org/bugzilla/show_bug.cgi?id=41441...
It seems this is a windows apache bug, but there are some solutions. Perhaps your theme code simply has a windows specific error in it.
https://issues.apache.org/bugzilla/show_bug.cgi?id=41441...
It seems this is a windows apache bug, but there are some solutions. Perhaps your theme code simply has a windows specific error in it.
I looked more closely at the escaped characters in your error.
http://www.december.com/html/spec/esccodes.html...
Seems from the error your theme has php short codes in it, which may not be compatible with you wamp install. I would check header.php, and change the <?= to <?php.
http://www.december.com/html/spec/esccodes.html...
Seems from the error your theme has php short codes in it, which may not be compatible with you wamp install. I would check header.php, and change the <?= to <?php.
get to the dashboard and run all your maintenance jobs and rebuild the tables.
See if that helps. Sounds like everything else is fine.
steve