Page 1 of 2
[SOLVED] Several problems with 1.10.2
Posted: Sun Dec 11, 2011 1:12 am
by Toine1973
Hello all,
i upgraded to the latest version but i have some anoying problems:
it seems that my cms is not showing or attaching CSS to the pages in other browsers than IE. when i refresh in IE the CSS is also dissapearing. when i hit preview site everything is normal.
I didn't had this problem before.
2. When i make internal links, it adds strange things to it, that it never did before like this:
http://www.hoekzeehengelsport.com/index.php?page=April 2012?phpMyAdmin=ATtqvjok-GRENtQv%2CYfTHcH3c-0
3. Some modules cant be downloaded or upgraded, had to download the xml, delete the folder on the server and manually upload it
i guess you need to take a look at the website, please tell me cause offcourse i took it down for now.
But if anybody has helpfull information without putting it back up before fixing this that would be most apreciated!
(sorry for my bad english)
thanks in advance,
Toine.
Re: Several problems with 1.10.2
Posted: Sun Dec 11, 2011 1:35 am
by Dr.CSS
It would really help if we could see it, I've not seen this problem before, what version were you running before upgrading it, some times it's a good idea to copy the site into a subfolder before doing major upgrades, if you had a backup of the folders/files and the DB you could revert it back to the last one and then do a subfolder test to see what needs to be fixed...
Re: Several problems with 1.10.2
Posted: Sun Dec 11, 2011 2:37 am
by mcDavid
The {stylesheet} tag has been dropped, use {cms_stylesheet}
Also why do you have to upgrade modules at all? You should have done that before upgrading, as you could have read in the release notes.
Re: Several problems with 1.10.2
Posted: Sun Dec 11, 2011 11:15 am
by Toine1973
Modules are working.
Stylesheet is working after changing it to {cms_stylesheet} but now i am missing my background images etc.
Still the same with the interal URL. website is online now so you can take a look.
www.hoekzeehengelsport.com
thanks in advance
toine
Re: Several problems with 1.10.2
Posted: Sun Dec 11, 2011 11:17 am
by Toine1973
the images and interal URl are the ones i am searching for now lol.
Try to go to the tab Boekingen, just pick a year, and try to switch months in the calendar.
Re: Several problems with 1.10.2
Posted: Sun Dec 11, 2011 3:58 pm
by Wishbone
Look at the {cms_stylesheet} help for the solution to the background images.
Re: Several problems with 1.10.2
Posted: Sun Dec 11, 2011 4:50 pm
by Toine1973
i found the help, and my css is exactly like they advice.
so thats not the problem.
Re: Several problems with 1.10.2
Posted: Sun Dec 11, 2011 6:01 pm
by Dr.CSS
No the image calls in the style sheet do not conform to the requirements set out in the new cms_stylesheet Help...
This isn't even good old school {stylesheet} formatting...
background-image: url('images/Page-BgTexture.jpg');
From the Help...
Because the cached files are generated in the tmp/cache directory of the CMSMS installation, the CSS relative working directory is not the root of the website. Therefore any images, or other tags that require a url should use the [[root_url]] tag to force it to be an absolute url. i.e:
h3 .error {background: url([[root_url]]/uploads/images/error_background.gif);}
Re: Several problems with 1.10.2
Posted: Sun Dec 11, 2011 7:05 pm
by boby
I have you tried clearing your cache in global settings.
I had the same problem some days ago with my background images. clearing the brower cache doesn't change anything. But clearing the cache within cmsms did solve my problem.
Re: Several problems with 1.10.2
Posted: Sun Dec 11, 2011 7:21 pm
by gianpiero
in your CSS when you define the path of your
image take off ' ... '
correct
Code: Select all
body
{
......
background-color: #000000;
background-image: url(images/Page-BgTexture.jpg);
.....
}
wrong
Code: Select all
body
{
.....
background-color: #000000;
background-image: url('images/Page-BgTexture.jpg');
.....
}
the previous path was correct except the ' '
why are you changing at now ?
I have seen your fishes
bye gp
Re: Several problems with 1.10.2
Posted: Sun Dec 11, 2011 7:23 pm
by Toine1973
how would this have to look like.
i am not a great programmer myself, i thought everything i know myself, or did it with Artisteer to create the website.
So i appologise for my "stupidity" but at the bright side, i try to learn from my mistakes
div.art-Header-jpeg
{
position: absolute;
z-index:-1;
top: 0;
left: 0;
width: 1000px;
height: 96px;
background-image: url('/var/www/vhosts/hoekzeehengelsport.com/httpdocs/images/Header.jpg');
background-repeat: no-repeat;
background-position: center center;
}
@GP i didn't change it??
Re: Several problems with 1.10.2
Posted: Sun Dec 11, 2011 7:52 pm
by Toine1973
Gp,
i tried to change it but nothing.....
i am really confused now.

Re: Several problems with 1.10.2
Posted: Sun Dec 11, 2011 8:23 pm
by Dr.CSS
First of all I advise everyone to put the template images in /uploads/"folder for all template images"...
Then you need to call them like so (hint: just like in the tags Help)...
background-image: url([[root_url]]/uploads/"the folder you put them in"/Header.jpg);
No ' ' around the call...
Re: Several problems with 1.10.2
Posted: Sun Dec 11, 2011 8:25 pm
by Toine1973
i got it.
This is the wrong version:
position: absolute;
z-index:-1;
top: 0;
left: 0;
width: 1000px;
height: 96px;
background-image: url(images/Header.jpg);
background-repeat: no-repeat;
background-position: center center;
this the correct one:
position: absolute;
z-index:-1;
top: 0;
left: 0;
width: 1000px;
height: 96px;
background-image: url(/images/Header.jpg);
background-repeat: no-repeat;
background-position: center center;
it seems that or with the upgrade the / dissapeared, or that it wasn't neccasary in my previous version.
Thanks for the help all!
it is much appreciated.
Re: Several problems with 1.10.2
Posted: Sun Dec 11, 2011 8:25 pm
by gianpiero
is this your site ?
see attacchments
look at the error I told you, and delete cache each time you make the changes. Use CTRL+F5 to reload completely page in browser after changing css.
hope to help
gp