Background colours
Submitted by connoleg on Mon, 2007-09-10 17:13.
I want to be able to change the background colour. When I do from within themes and change colours in the colour map. All that changes is the background to the logo at the top of the page.
I have tried changing the default.css background params to ie 464646 but it doesnt work either.
thanks
Gary

Jippie, it works!!! thank
Jippie, it works!!!
thank you so much for sharing your phpAlbum, it's a really great tool for people like me ;)
and please keep working on it!
max
This is strange problem as
This is strange problem as it should definitely work. Probably your default.css is older version or you have edited it so that it does not work, or your css files are not loaded by browser.
Some free providers puts Ads in html code and they do not recognize CSS so they put it there too. Browsers can not then correctly use the CSS with Ads in it...
It can by anything, do you have your page online?
Its
Its h**p://www.garyconnoley.co.uk user admin/f1reblade
I restored the default.css with no effect and the installation is with the new version so I shouldn't have any version problems
btw I checked the directory permissions etc and they are correct.
Many thanks for a brilliant product
regards
Gary
I had a look on it, it is
I had a look on it, it is quite strange, i get always the same css file, as it would be cached somewhere. On the Server, is it possible that your webserver does it?
You know the problem could be, that the link is still the same for the CSS file, but the content is not as it dynamically changes when you change the color settings. Some cache system could think that if it is the same link it should be the same content. I have never seen this before :)
I did actually notice a
I did actually notice a similar problem when I was playing with the logo...i'd upload a new version and the old one remained despite a ctrl-f5 in the browser. Maybe I need to talk to my hosting company to find out whats going on.
It is weird as I just changed the colour scheme to dark and it worked. Then when I tried winter it didn't, but back to dark did. :)
so tha I can have a sensible
so that I can have a sensible conversation with them, when a change is made to the colour scheme which file(s) change?
thanks
Gary
No file is changed, it is
No file is changed, it is dynamically generated by PHP, so it actually does not exists.
You can view it as:
http://www.garyconnoley.co.uk/main.php?cmd=theme&var1=style_css
but it is generated by main.php out of default.css, just replacing colors with the values in database. They actually should not cache any documents generated by PHP ..
Thanks patrik,
Thanks patrik,
To prove this I created a fresh backup of the whole fs and copied it to www.garyconnoley.co.uk/backup. The backup directory contained a version with default colours previously.
I ran main.php?cmd=theme&var1=style_css on each to compare and I get
body {
background-color: #646464;
font-family: arial,sans-serif;
font-size: 12px;
}
on main version and
body {
background-color: #ffffb7;
font-family: arial,sans-serif;
font-size: 12px;
}
on the \backup
It looks like its doing something weird, would that suggest that its within the application or with the hosting setup?
Gary
I would say it is hosting
I would say it is hosting setup, application does no caching on CSS file, only on thumbnails and resized pictures. And there are thousands people not having this problem :) including me.
But I never say never, so may be if i would put something in the header of the css file, your server would make it correct, but i have no idea what it should be. If you find out what it was pleas let me know ...
Patrik
I emailed them and they say
I emailed them and they say that they don't cache php as you suspected.
Gary
If you want you can email me
If you want you can email me your ftp accout, and your admin password for phpAlbum and I could make some test, may be we could find so some bug of phpAlbum causing this problem.
EMail:support(at)phpalbum.net
email sent with
email sent with details
thanks and regards
Gary
Hi Gary, i just sent you
Hi Gary, i just sent you email. I changed something in engine.php and it works now. I'll change that in the next version. Thank you for giving me the chance to test it on your Server:)
Patrik
Hello, i got the same
Hello,
i got the same problem, only the background of the logo is changing...
what did you change in the engine.php??
best reagards and many thanks for your help!
max
Hello, I deleted the line
Hello,
I deleted the line :
header("Last-Modified: ".date("D, d M Y H:i:s T",$m_time) );
in engine.php in function theme_get_style_css.
I deleted the line
I think your program and your forum is awesome! I had the same problem and was able to fix it reading your forum. I have been able to do the same with any questions I have. Thanks for all your hard work and dedication!
Same Problem!!
I want to be able to change the background colour. When I do from within themes and change colours in the colour map. All that changes is the background to the logo at the top of the page.
This is my link
http://www.latinfreestylenation.com/phpAlbum/main.php?cmd=album