forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: sonic on December 10, 2005, 04:14:44 pm

Title: can't apply any themes
Post by: sonic on December 10, 2005, 04:14:44 pm
I've installed Cpg 142 succesfully.  I also  set up the "albums" and "include" permissions in my Coppermine directory to 755 .
It works but..
 I cant' change the themes.  the page appears to be without tnemes applied.  here http://inroad.ho.com.ua/cgi-bin/cpg142/index.php

Also no images are displayed although they are uploaded to the web server.
What is wrong? help me , please
here is an a web site with coppermine working correctly. The Hoster is the same  www.images.ho.com.ua
Title: Re: can't apply any themes
Post by: Nibbler on December 10, 2005, 04:32:49 pm
Here's what happens when you go to the stylesheet - http://inroad.ho.com.ua/cgi-bin/cpg142/themes/classic/style.css You tell me what that means :)

Same happens for your pics. Also there's rubbish added after the </html> which isn't helping matters.

Code: [Select]
</HTML><!-- ><!-- "><!-- --></TEXTAREA></FORM>
</TITLE></COMMENT></A>
</DIV></SPAN></ILAYER></LAYER></IFRAME></NOFRAMES></STYLE></NOSCRIPT></TABLE></SCRIPT></APPLET></FONT>
<STYLE>
#bn {
  display: block;
}
</STYLE>
<SCRIPT language="JavaScript" src="http://ho.com.ua/adv/adv.js"></SCRIPT>

I assume that's an ad placed by your host.
Title: Re: can't apply any themes
Post by: sonic on December 10, 2005, 05:21:45 pm
Quote
Here's what happens when you go to the stylesheet - http://inroad.ho.com.ua/cgi-bin/cpg142/themes/classic/style.css You tell me what that means

 so what should be displayed when I clck that link ?   I have style.css in /themes/classic


so what's the possible reason of that ?
 how can it be fixed ?
Title: Re: can't apply any themes
Post by: Nibbler on December 10, 2005, 06:00:17 pm
I don't know, I can't read whatever language that is. Check the permissions on the file.
Title: Re: can't apply any themes
Post by: sonic on December 10, 2005, 08:45:14 pm
can  php  5.0.5 cause such problems?

 but then I don't understand how it works on another web site

 what if I download an earlier version of coppermine? can it chage the situation?
Title: Re: can't apply any themes
Post by: donnoman on December 11, 2005, 02:53:05 am
I get nothin but 404 errors (file not found) when I go to those links.  Why are you installing in CGI-BIN anyway?

Coppermine is not a CGI application, its a PHP application. PHP interpreters if properly installed on the host can serve the applications files from anywhere under the docroot.  Placing Coppermine in CGI-BIN which can have many different restrictions isn't the best place for it.
Title: Re: can't apply any themes
Post by: alfredlecanard on December 20, 2005, 12:30:49 pm
I got a similar issue, there was no theme in the theme settings.
I solve this by setting rights to "themes" directory to 777.

Hope it helps