combined/css and js not found after move of gallery3 to a new server
jeanielight
Joined: 2012-12-29
Posts: 3 |
Posted: Sat, 2012-12-29 04:38 |
I moved my gallery3 installation to a new server (hosted by godaddy) following the instructions here: The site is up at: I'm getting 404 errors for the combined/css and combined/js requests. I was able to verify that when I modify a css file in my theme, the hash of the combined css request gets updated. After doing that I also cleared out my browser cache but that didn't help. I'm not sure what else to do to try to troubleshoot the problem. |
|
Posts: 1857
1. GoDaddy has a few issues. Some of them: http://codex.gallery2.org/Gallery3:Host_specific_issues
2. It's not just the css/js; your links to your albums don't work either.
Posts: 3
I believe I've followed all the hints in the GoDaddy section but am still seeing the same problem. I am on their grid hosting plan. I didn't use their Gallery install since I already had a previous install I was moving over to a new GoDaddy server.
One part of the instructions said to uncomment the last 10 lines of the .htaccess file. However, that seems to be causing the URLs to be rewritten incorrectly.
http://dev.easttennesseewildflowers.com.previewdns.com/gallery/index.php/Spring-Flowers-Woodland-Yellow
Is being incorrectly rewritten as
http://dev.easttennesseewildflowers.com.previewdns.com/Spring-Flowers-Woodland-Yellow
Posts: 1857
The rewrite isn't incorrect. The whole point of it is to remove the "index.php" part from the url.
Maybe someone else will have more insight here, but there are too many possibilities for me to really think any more on this; you'd have to track down something more specific.
Posts: 3
I just tried commenting those rewrite rules back out and the site is now working correctly. So it sounds like those rules may not be needed or even ok to include for the Go Daddy grid hosting setup.
Posts: 16
I'm also having this issue. The gallery loads but the CSS file seems to be missing but the odd thing is that if mod_pagespeed gets involved then it works. I'm guessing this is permissions issue. For example
/photos/combined/css/A.cb28319d59338c19f5299d8709d60d94.pagespeed.cf.IV1mGGWvum.css works just fine but
/photos/combined/css/cb28319d59338c19f5299d8709d60d94.css returns a 404
I'm on a VPS with Centos/Apache
Any suggestions?
Posts: 16
Correction, the CSS that is not working is returning: Error code: ERR_CONTENT_DECODING_FAILED
Posts: 1857
Late in the reply, but looking back, the "gallery" part shouldn't have been being taken out. Check the rewrite base. Other than that, looks like you've got it working, so you could leave as is.
Not sure how the "pagespeed..." works, so can't really advise on this.