[SOLVED] Several problems with 1.10.2

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Toine1973
New Member
New Member
Posts: 8
Joined: Wed Nov 30, 2011 2:23 pm

[SOLVED] Several problems with 1.10.2

Post 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.
Last edited by Toine1973 on Sun Dec 11, 2011 8:26 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Several problems with 1.10.2

Post 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...
mcDavid
Power Poster
Power Poster
Posts: 377
Joined: Tue Mar 31, 2009 8:45 pm

Re: Several problems with 1.10.2

Post 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.
Toine1973
New Member
New Member
Posts: 8
Joined: Wed Nov 30, 2011 2:23 pm

Re: Several problems with 1.10.2

Post 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
Toine1973
New Member
New Member
Posts: 8
Joined: Wed Nov 30, 2011 2:23 pm

Re: Several problems with 1.10.2

Post 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.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Several problems with 1.10.2

Post by Wishbone »

Look at the {cms_stylesheet} help for the solution to the background images.
Toine1973
New Member
New Member
Posts: 8
Joined: Wed Nov 30, 2011 2:23 pm

Re: Several problems with 1.10.2

Post by Toine1973 »

i found the help, and my css is exactly like they advice.
so thats not the problem.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Several problems with 1.10.2

Post 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);}
boby
Forum Members
Forum Members
Posts: 94
Joined: Thu Feb 21, 2008 11:31 pm

Re: Several problems with 1.10.2

Post 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.
gianpiero
Forum Members
Forum Members
Posts: 221
Joined: Sun Jan 07, 2007 4:32 pm

Re: Several problems with 1.10.2

Post 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 ;D

bye gp
Toine1973
New Member
New Member
Posts: 8
Joined: Wed Nov 30, 2011 2:23 pm

Re: Several problems with 1.10.2

Post 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??
Toine1973
New Member
New Member
Posts: 8
Joined: Wed Nov 30, 2011 2:23 pm

Re: Several problems with 1.10.2

Post by Toine1973 »

Gp,

i tried to change it but nothing.....
i am really confused now. ???
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Several problems with 1.10.2

Post 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...
Toine1973
New Member
New Member
Posts: 8
Joined: Wed Nov 30, 2011 2:23 pm

Re: Several problems with 1.10.2

Post 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.
gianpiero
Forum Members
Forum Members
Posts: 221
Joined: Sun Jan 07, 2007 4:32 pm

Re: Several problems with 1.10.2

Post 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
fish.jpg
Post Reply

Return to “CMSMS Core”