HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


v8 - Theme upgrader error

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#84827 (In Topic #17477)
Avatar

Community saint

One of the messages I got when doing the them upgrade was:

Code

✗ Could not find a match for the CSS replacement rule for global.css:
.ocf_post_details_unvalidated { float: {!en_left}; }
→
.ocf_post_details_unvalidated { float: {!en_left}; padding-{!en_left}: 7px; }

So, I figured I would just find the rule in the manual extractor's default global.css file, but when searching for ".ocf_post_details_unvalidated", there are no entries in the default global.css. What should I do?

Bob
Back to the top
 
Posted
Rating:
#84834
Avatar

Community saint

Try ocf.css

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#84836
Avatar

Community saint

Yeah, I saw the change in ocf.css but am unclear why the upgrader is looking for this in global.css.

Bob
Back to the top
 
Posted
Rating:
#84838
Avatar

Community saint

BobS said

Yeah, I saw the change in ocf.css but …
Sorry, I was laughing so much (not at you - explanation below) that I skip-read the reference to global.css.

The reason I chuckled was that I have several sheaves of A4 paper lying on my desk with similar "Could not find a match for the CSS replacement rule for … but we will try to fix it anyway" statements, that I just sigh and shuffle them around a bit, with every intention to get around to checking … and then I always find something more interesting to do!

 :o

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#84839
Avatar

Community saint

One other thing struck while running the upgrade (which I am surprised I never noticed before).

The first step is to take and test a backup followed by closing the site. The site should really be closed first and then the backup should be taken, otherwise there is the possibility that something might change after the backup.

Bob
Back to the top
 
Posted
Rating:
#84859
Avatar

BobS said

One other thing struck while running the upgrade (which I am surprised I never noticed before).

The first step is to take and test a backup followed by closing the site. The site should really be closed first and then the backup should be taken, otherwise there is the possibility that something might change after the backup.

Bob

Depends on your point of view. If the site takes 30 mins for the backup to generate, what's worse - 30 mins of extra down-time or losing 30 minutes of posts. Really depends on whether it's a community or a conventional website.

For me – The backup is on there first because I'd rather people see that than think "oh, I can skip the odd intermediate step".


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#84860
Avatar

BobS said

Yeah, I saw the change in ocf.css but am unclear why the upgrader is looking for this in global.css.

Bob

Bug.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#84877
Avatar

Community saint

I use therefore a night server backup for everything for every domain :) or make between a domain server backup when needed


http://digiflash.nl Photo community  (dutch)
Back to the top
 
Posted
Rating:
#84890
Avatar

Community saint

Chris Graham said

BobS said

One other thing struck while running the upgrade (which I am surprised I never noticed before).

The first step is to take and test a backup followed by closing the site. The site should really be closed first and then the backup should be taken, otherwise there is the possibility that something might change after the backup.

Bob

Depends on your point of view. If the site takes 30 mins for the backup to generate, what's worse - 30 mins of extra down-time or losing 30 minutes of posts. Really depends on whether it's a community or a conventional website.

For me – The backup is on there first because I'd rather people see that than think "oh, I can skip the odd intermediate step".

Point taken. In fact, I ran into this yesterday when upgrading my site – it took longer than expected for the backups (I take a second backup of the database just in case) to complete. I was going to wait for a slower day but I am anxious to see if the changes you made to guide the crawlers is going to help get things in order in terms of duplicate titles and metadescriptions. Also, I am hoping the the rel=canonical will reduce the number of pages indexed (currently over 30K, but I only should have between maybe 500 and 800).

Bob
Back to the top
 
Posted
Rating:
#84891
Avatar

Community saint

Harry-S said

I use therefore a night server backup for everything for every domain :) or make between a domain server backup when needed
Harry-

I run nightly backups and I backup my live site very carefully when doing an upgrade with 2 copies of the database which I test to make sure reimport properly. I just assume if something is going to break, it will most likely be while I am already stressed out over having the site closed.

Bob
Back to the top
 
Posted
Rating:
#84963
Avatar

Community saint

Bob, I know :)
90% of web owners don't think to make daily backups or before update()s)


http://digiflash.nl Photo community  (dutch)
Back to the top
 
Posted
Rating:
#84970
Avatar

Community saint

BobS said

… I just assume if something is going to break, it will …

Ah! Good old 'Murphy's Law' in action, of course!

 :o

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: