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:
http://codex.gallery2.org/Gallery3:User_guide:Gallery3:Installing_and_upgrading#The_backup_and_move

The site is up at:
http://dev.easttennesseewildflowers.com.previewdns.com/gallery3/

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.

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Sat, 2012-12-29 16:45

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.

 
jeanielight

Joined: 2012-12-29
Posts: 3
Posted: Sun, 2012-12-30 03:50

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

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Sun, 2012-12-30 19:36

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.

 
jeanielight

Joined: 2012-12-29
Posts: 3
Posted: Sun, 2012-12-30 22:09

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.

 
modemmike

Joined: 2011-08-05
Posts: 16
Posted: Sun, 2013-11-17 23:26

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?

 
modemmike

Joined: 2011-08-05
Posts: 16
Posted: Sun, 2013-11-17 23:37

Correction, the CSS that is not working is returning: Error code: ERR_CONTENT_DECODING_FAILED

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Fri, 2013-12-06 22:16

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.

modemmike wrote:
/photos/combined/css/A.cb28319d59338c19f5299d8709d60d94.pagespeed.cf.IV1mGGWvum.css works just fine but

Not sure how the "pagespeed..." works, so can't really advise on this.