Server migration -> broken paths Server migration -> broken paths
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Server migration -> broken paths

Started by prokops, June 21, 2011, 12:12:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

prokops

My site had to migrate server. My host informs me that the root structure had to be changed.

Site: http://www.prokop.dk/gallery/index.php

Past Path: /web/http/prokop.dk/htdocs
Current Path: /srv/http/prokop.dk/htdocs

The result is that the site works fine, but the theme is shot.

I searched the boards without luck, I searched through the files on my site and I searched through the db. I just can't find the problem.

Please help me.
Thanks in advance.

phill104

Have you checked the config page?

http://documentation.coppermine-gallery.net/en/configuration.htm#admin_general_coppermine-url

Have you run update.php? If not do so now and see if that helps.
It is a mistake to think you can solve any major problems just with potatoes.

prokops

Hi Phil, thanks for answering

I'm running 1.5.12 (stable), the update script runs all ok and the config panel does not offer change of path.

The problem is therefore not solved, I'm sure it is something trivial, but I can't figure it out.

phill104

Well the default curve theme is working as expected so it cannot be a cpg configuration problem (I should have checked earlier :-[) but running update.php ould have done no harm.

So it looks as though your theme is the problem though I cannot se why the simple change in server setup would cause problems unless there is something very wrong with your custom theme. Can you post images of how it should look and how it looks now?

Also, please zip your custom theme and attach it to your next post so we can take a look.
It is a mistake to think you can solve any major problems just with potatoes.

Joe Carver

Firefox error console returns:

QuoteError: The stylesheet http://www.prokop.dk/gallery/css/coppermine.css was not loaded because its MIME type, "application/octet-stream", is not "text/css".
Source File: http://www.prokop.dk/gallery/index.php
Line: 0
and....
QuoteError: The stylesheet http://www.prokop.dk/gallery/themes/snowflake/style.css was not loaded because its MIME type, "application/octet-stream", is not "text/css".
Source File: http://www.prokop.dk/gallery/index.php
Line: 0

Good call Phil.

prokops

First of all, thanks to you all.

All my themes didn't work, even the standard ones - I can't imagine how phill could reproduce a sucess on the "curve" theme.
I emailed my host with the mime-type error and the growing suspicion of an server-side css parse disfunction.

Sure enough, host emails me that the new server software (lighttpd) did not have a mime type for css configured and it therefore defaulted to octet-stream.
In other words, no css.

Now fixed.

Thanks again, and I will use the error console from now on in stead of asking stupid questions ;)
Cheers,
prokop

phill104

Well done Joe.

Good luck with your site prokops. ;D
It is a mistake to think you can solve any major problems just with potatoes.