forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: sliminat0r on July 01, 2015, 03:23:21 pm

Title: Gallery lacking desgin after upgrade - after login however everything normal?
Post by: sliminat0r on July 01, 2015, 03:23:21 pm
hey guys,

i had to do a clean install of the new coppermine version. after reimporting my database and reuploading my images, however, my gallery (http://www.mi-de.de) does not show any design or image. it is just blank with the text.

the interesting thing is, that i can see the normal version, when i log in. as most of the people are not registered users, it would be nice, to explore the reason of this phenomenon. maybe it's just an issue with the rights? until now i am clueless...

maybe someone of u can help me? i hope it won't be a bigger problem.

thanks a lot!

ps: i hope that it is not a redundant question. i searched this subforum but couldn't find anything related.
Title: Re: Gallery lacking desgin after upgrade - after login however everything normal?
Post by: sliminat0r on July 01, 2015, 04:20:48 pm
i just discovered that everything's okay when u click once on "login". even if u do not login, the design is visible. what's that? strange...
Title: Re: Gallery lacking desgin after upgrade - after login however everything normal?
Post by: phill104 on July 01, 2015, 05:52:14 pm
Possibly your browser cache, try refreshing with ctrl+f5

A link to your site would help us with diagnosis.
Title: Re: Gallery lacking desgin after upgrade - after login however everything normal?
Post by: sliminat0r on July 01, 2015, 06:51:18 pm
Hey Phill,

Thanks for your reply. Unfortunately, it is not my browser cache.

The link was implemented above in "gallery". If it doesn't work: mi-de.de

Title: Re: Gallery lacking desgin after upgrade - after login however everything normal?
Post by: allvip on July 01, 2015, 11:05:26 pm
Is  nothing wrong with your gallery (see attachment Home - mi de.jpg) and I only click the link in your first post. I did not have to click log in. I saw your gallery in more internet browsers: Mozilla Firefox, Opera, Google Chrome, Interner Explorer, Safari 5 for Windows.
Same for other pages of your gallery.
Title: Re: Gallery lacking desgin after upgrade - after login however everything normal?
Post by: phill104 on July 02, 2015, 05:19:35 pm
I missed the hot linked text, possibly as I was answering on a mobile phone.

Your site looks good to me working from the word go.
Title: Re: Gallery lacking desgin after upgrade - after login however everything normal?
Post by: sliminat0r on July 03, 2015, 12:49:01 pm
many thanks for your help. but that seems weird to me. i am neither getting on my computer nor on my notebook nor on any mobile devices the real design. also tried it in different networks. always looking like this.  :o
Title: Re: Gallery lacking desgin after upgrade - after login however everything normal?
Post by: phill104 on July 04, 2015, 12:02:10 pm
Unfortunately I cannot replicate your problem. I have tried, very hard. I was out in Germany last week when I checked on my laptop in Chrome, IE10 and IE11, Firefox. I checked on my iPad and my Windows Phone. All were good. I am now back home in the UK and have checked on the same devices and on my home PC in multiple browsers, all are working well from the off. So I have no idea as to why you are not seeing the same.
Title: Re: Gallery lacking desgin after upgrade - after login however everything normal?
Post by: Αndré on July 07, 2015, 04:01:17 pm
Your gallery also looks as expected for me (LMDE 2, Firefox 18, Berlin/Germany, connected via DSL router, no proxies/VPN/etc.).
Title: Re: Gallery lacking desgin after upgrade - after login however everything normal?
Post by: ron4mac on July 08, 2015, 01:39:07 am
If access the site as http://mi-de.de, I get a view with no styling or images.  I have to access it as http://www.mi-de.de to get styling and images.  I would say the problem is a server/htaccess configuration issue.
Title: Re: Gallery lacking desgin after upgrade - after login however everything normal?
Post by: Αndré on July 08, 2015, 09:00:35 am
I suggest to add a rewrite rule which redirects from http://mi-de.de to http://www.mi-de.de (like described here (http://documentation.coppermine-gallery.net/en/bridging.htm#integrating_subdomain_www)). Something like this:
Code: [Select]
RewriteEngine on
    RewriteCond %{HTTP_HOST} ^mi-de\.de$ [NC]
    RewriteRule ^(.*) http://www.mi-de.de/$1 [R,L]
Title: Re: Gallery lacking desgin after upgrade - after login however everything normal?
Post by: sliminat0r on July 08, 2015, 05:16:03 pm
Thanks @all for your help!

I can reproduce the problem like ron4mac said, could really be a problem with the htaccess-file. I have, however, no clue, what is missing there.

Will try the suggested solution of André first. Thanks again! Will tell you if it worked out.
Title: Re: Re: Gallery lacking desgin after upgrade - after login however everything normal?
Post by: sliminat0r on July 08, 2015, 05:26:40 pm
I suggest to add a rewrite rule which redirects from http://mi-de.de to http://www.mi-de.de (like described here (http://documentation.coppermine-gallery.net/en/bridging.htm#integrating_subdomain_www)). Something like this:
Code: [Select]
RewriteEngine on
    RewriteCond %{HTTP_HOST} ^mi-de\.de$ [NC]
    RewriteRule ^(.*) http://www.mi-de.de/$1 [R,L]

Tried it, however, didn't work out. Problem was that it referred to the index.php. Removed the $1 in the RewriteRule, now it is all working again! I am sure that I messed my .htaccess-files up, when I did the clean reinstall.

Thanks a lot, guys! I really appreciate your hints and support.