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.


CEDI pages gone AWOL

Login / Search

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

Community saint

not a bug, Chris! :)

This past weekend I upgraded my live site to v8.  :thumbs:  Soon after I somehow managed to make my CEDI pages disappear.  O_o

The database entries appear to still be intact, but I can't find where the actual documents themselves are kept. If at all possible I would like to copy them over from my test site. Can someone tell me where those pages are stored?

Thanks.

Steve
Back to the top
 
Posted
Rating:
#85150
Avatar

Community saint

I just discovered the CEDI entries are missing from db table oc_translate. Am I able to import those entries back in or will that screw up IDs in that table?

Steve
Back to the top
 
Posted
Rating:
#85156
Avatar

Community saint

It appears importing could screw up ID's as a few of the highest Id's that were originally assigned to CEDI docs were deleted and has since been reassigned to something else.

It looks like I'll be recreating my documents by hand.  :dry:

Steve
Back to the top
 
Posted
Rating:
#85158
Avatar

Theoretically the XML Storage admin module will allow you to export the seedy_pages and seedy_posts tables from a running v7 site, and reimport them into a v8 site. It automatically handles language strings. But it's functionality intended for developers, not very user-friendly.


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

Community saint

Thanks, Chris. I'll give it a try, it can't be that much worse than recreating everything by hand, and if it works it would probably be much quicker.

Steve
Back to the top
 
Posted
Rating:
#85686
Avatar

Community saint

Finally had some time to try this. It appeared the export and importing went ok with no errors, but the corresponding language table entries are still missing.

I get this error. These 2 access denied stack trace entries seem odd because I am an admin and should have access. I've double checked permissions and all seem ok.

Can you give me some insight on this. Is this a bug or ???

Code

File    '/home/whiteisl/public_html/sources/permissions.php'
Line    '100'
Function    '_access_denied'
Args   
'CATEGORY_ACCESS'

''

false


File    '/home/whiteisl/public_html/site/pages/modules/cedi.php'
Line    '434'
Function    'access_denied'
Args   
'CATEGORY_ACCESS'

The full stack trace output:

Code

An error has occurred

"sholzy" does not have access to this category. (version: 8.0.1, PHP version: 5.3.8, URL: /index.php?page=cedi&type=misc&id=71&keep_fatalistic=1)

You have turned on stack traces for all errors, via having keep_fatalistic=1 in the URL. This means that this may not actually be a fatal error, you have just asked for it to be presented as such (perhaps to help you find where it came from).
Here is the stack trace:

Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check ocPortal website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.

File    '/home/whiteisl/public_html/sources/failure.php'
Line    '696'
Function    'get_html_trace'
Args   

File    '/home/whiteisl/public_html/sources/global2.php'
Line    '1,000'
Function    '_fatal_exit'
Args   
object


File    '/home/whiteisl/public_html/sources/failure.php'
Line    '238'
Function    'fatal_exit'
Args   
object


File    '/home/whiteisl/public_html/sources/global2.php'
Line    '960'
Function    '_generic_exit'
Args   
object

'WARN_SCREEN'


File    '/home/whiteisl/public_html/sources/failure.php'
Line    '1,022'
Function    'warn_exit'
Args   
object


File    '/home/whiteisl/public_html/sources/permissions.php'
Line    '100'
Function    '_access_denied'
Args   
'CATEGORY_ACCESS'

''

false


File    '/home/whiteisl/public_html/site/pages/modules/cedi.php'
Line    '434'
Function    'access_denied'
Args   
'CATEGORY_ACCESS'


File    '/home/whiteisl/public_html/site/pages/modules/cedi.php'
Line    '352'
Function    'page'
Class    'Module_cedi'
Object    Module_cedi::__set_state(array( ))
Type    '->'
Args   

File    '/home/whiteisl/public_html/sources/zones.php'
Line    '424'
Function    'run'
Class    'Module_cedi'
Object    Module_cedi::__set_state(array( ))
Type    '->'
Args   

File    '/home/whiteisl/public_html/sources/site.php'
Line    '1,016'
Function    'load_module_page'
Args   
'site/pages/modules/cedi.php'

'cedi'


File    '/home/whiteisl/public_html/sources/site.php'
Line    '785'
Function    'request_page'
Args   
'cedi'

true


File    '/home/whiteisl/public_html/index.php'
Line    '104'
Function    'do_site'
Args   

Steve
Back to the top
 
Posted
Rating:
#85698
Avatar

Are you sure you're an super-admin and not a super-moderator? Only super-admins have automatic access, super-moderators have default access for new categories but those permissions weren't imported.


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

Community saint

I'm 99.9% positive.

In Global Permissions I have all but 4 privileges ticked and those are dealing with other members personal matters and being able to delete my own account.

But, I could have very well over-ridden a permission somewhere. I'll check permissions again later today when I have more time to spend on this.

Steve
Back to the top
 
Posted
Rating:
#85705
Avatar

Check your usergroup, it should have super admin set in there. Super admin isn't a permission as such, it is a group setting saying the group automatically has any permission.


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

Community saint

Well now, that was odd. That setting had switched from super-admin to super-mod, but not by me. I switched it back and that error disappeared.

Now, back to fiuring out this CEDI mess.

Thanks, Chris for hitting me upside the head!  :thumbs:  :lol:

Steve
Back to the top
 
Posted
Rating:
#85760
Avatar

Community saint

Chris Graham said

Check your usergroup, it should have super admin set in there. Super admin isn't a permission as such, it is a group setting saying the group automatically has any permission.

[ From “CEDI pages gone AWOL” ]

sholzy said

Well now, that was odd. That setting had switched from super-admin to super-mod, but not by me. I switched it back and that error disappeared.

Now, back to fiuring out this CEDI mess.

Thanks, Chris for hitting me upside the head!  :thumbs:  :lol:

[ From “CEDI pages gone AWOL” ]

Possible bug?

You might want to look into this. I have 3 sites (1 live, 2 test) I found this was changed. I know I didn't make the change as I would have no reason to. Maybe the upgrader got it's wires crossed somewhere.

Steve
Back to the top
 
Posted
Rating:
#85772
Avatar

I can't see what could do that I'm afraid.


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
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: