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.


Help with site errors after html import

Login / Search

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

Well-settled

I have stupidly messed up my current site I am building up, by trying to import some html pages into it with the importer (I should of really done this to another test, not the one I wanted to make live!!!!!)

This created me a zone called "." with additional comcode pages relating to this zone, and has caused bailing out on certain areas.
 
What I did while attempting to delete these additional pages in the comcode page area, it seems to also delete and remove the pages with the same name in other zones.
For example forums:panel_top now has been duplicated to .:panel_top, and removing this page removes the forums:panel_top aswell, the same goes for adding this back it re-adds in both zones.

I have tried deleting this zone, but it will not delete, infact no additional zone I create will from the zones edit page.

Before I start again from scratch or from the hosts back up from Sunday, is there anyway I can resurrect this current site back to how it was.
I am thinking most likely not.

 :'(  :'(  :'(  :'(


Last edit: by kenno
Back to the top
 
Posted
Rating:
#97472
Avatar

panel_top has redirects across various zones, as it's shared.

As for a zone called ".". I think there must have been an importer bug there. Try deleting the row of the zone from the database (zones table).


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:
#97473
Avatar

Okay, I've fixed the bug where a zone name of "." was used. I think the actual imported pages would have gone in the welcome (root) zone. You can delete pages via deleting files in pages/html_custom/EN, that's perfectly safe :). Deleting the DB row for the "." zone will remove it, although you may also need to empty the block cache when you're done.


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:
#97474
Avatar

Well-settled

So as its shared, should deleting the page from one zone also delete it from other zones using that page?
I thought that it was actually another separate page altogether only related to that zone, so you could have different things in it per zone say.

Deleting that zone row from the database got rid of that ".", and looking around seems to have cured my problems with it not being present.

Whey hey!! Thanks  :thumbs:  :thumbs:


 

Back to the top
 
Posted
Rating:
#97475
Avatar

So as its shared, should deleting the page from one zone also delete it from other zones using that page?

It will clearer if you look in Admin Zone > Structure > Redirects.

panels are usually per-zone, but sometimes we set up default transparent redirects to have shared navigation. It's all customisable.


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:
#97476
Avatar

Well-settled

Yes I have tweaked them re-directs before when following one of your tutorials and adding a panel_top_2 in the forums.

"I think" I understand them a little  O_o .

I seem to still have a little issue when visiting the site for the first time, the landing page reports "An error has occurred" in the actual browsers tab window at the top.

Would you know where it drags that info from at all?

http://newocp.bulldogowners.co.uk/
Back to the top
 
Posted
Rating:
#97478
Avatar

That's an odd one. What if you go to:
http://newocp.bulldogowners.co.uk/?keep_fatalistic=1
Does that provide any info? (I can't as I'm not an admin)


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:
#97479
Avatar

You didn't delete pages/comcode/EN/start.txt did you? I noticed quite a few default welcome zone pages weren't working, e.g. privacy, rules, feedback. I just wonder if that's related - maybe you purged a bit too much ;)?


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:
#97480
Avatar

Well-settled

No visiting that link shows nothing but the same page as visiting the normal url.

Why does it report it in this forum as being a broken link.

This html import was originally causing my sitemap page to bail, has it any relevance to that maybe
Back to the top
 
Posted
Rating:
#97481
Avatar

Well-settled

Chris Graham said

You didn't delete pages/comcode/EN/start.txt did you? I noticed quite a few default welcome zone pages weren't working, e.g. privacy, rules, feedback. I just wonder if that's related - maybe you purged a bit too much ;)?

That is more then a possibility, last night when this happened, I was manually deleting pages which I thought had been duplicated into that "." zone, so when I deleted them it was most likely deleting the default ones as well.

How could I maybe get these back  :$  :$

Back to the top
 
Posted
Rating:
#97482
Avatar

They'll be in your backup, in the pages/comcode_custom/EN directory (your edits) or the pages/comcode/EN (originals). You can just upload Comcode pages as txt files.

Also if you look in pages/comcode_custom/EN, I think you'll find files with numbers on the end, even after page deletion - those are backups ocPortal has taken.


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:
#97483
Avatar

Well-settled

Hmmm the only back up I have of this site is with the host.

So in theory I can just re-add them ocPortal backed up txt files from pages/comcode_custom/EN and move them across to pages/comcode/EN via ftp.

I will try this later as I am at work at the moment  :thumbs:
Back to the top
 
Posted
Rating:
#97484
Avatar

pages/comcode/EN has the bundled files, pages/comcode_custom/EN has overrides or new files or backups. Backups are made when you edit, into pages/comcode_custom/EN. So, if you have edited your front page at any point you should find a backup in pages/comcode_custom/EN, rename it to not have the ".<number>" on the end, don't move it.

Surely the host lets you download backups to your own machine?


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:
#97487
Avatar

Well-settled

Well you would of thought wouldn't you they would allow me to have the back up to download to my own machine, but no they won`t.

They will restore from there stored back up but won`t allow me access to it.
They also want a nominal fee to do the restore from there back up as well O_o

I cant remember if I have made any changes to these pages from the default, I will have a look later on.
Back to the top
 
Posted
Item has a rating of 5 (Liked by kenno)  
Rating:
#97488
Avatar

Well, if you didn't, you could just upload from the manual installer.


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:
#97499
Avatar

Well-settled

Thanks for this Chris
Learn something new everyday. :thumbs:

Mark
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: