can't apply any themes can't apply any themes
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

can't apply any themes

Started by sonic, December 10, 2005, 04:14:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sonic

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

Nibbler

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.

</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.

sonic

QuoteHere'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 ?

Nibbler

I don't know, I can't read whatever language that is. Check the permissions on the file.

sonic

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?

donnoman

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.

alfredlecanard

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