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.


Not an Active Username

Login / Search

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

Well-settled

Admin Edit Configuration

I am not sure what happened, but every time I try and edit an entry.. for example, I am trying Alan's code on the start page, which tells guests to register and welcomes members using the if_in_group command, but when I go to save it, I get an error message.

My admin/username is: Xarex

And I click Save, and I get: Xarex is not an active username

Any idea why this is happening and how to fix it?
Back to the top
 
Posted
Rating:
#68959
Avatar

Well-settled

If it helps, I think this started to occur after I installed the language or Google translate plugin. Not sure which one.


Here is the error:

Code

This is an error that has been elevated to critical error status because it occured during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occured before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
PHP ERROR [1] Call to undefined function user_lang() in /home/youtripp/public_html/social/sources/global.php(166) : eval()'d code on line 1104 (version: 6.1.1, PHP version: 5.2.9, URL: /social/data/username_exists.php?username=Xarex)
Details here are intended only for the website/system-administrator, not for regular website users.
If you are a regular website user, please let the website staff deal with this problem.

Depending on the error, and only if the website installation finished, you may need to edit the installation options (the info.php file).

ocProducts maintains full documentation for all procedures and tools. These may be found on the ocPortal website. If you are unable to easily solve this problem, we may be contacted from our website and can help resolve it for you.

ocPortal is a CMS for building websites, developed by ocProducts.


And uninstalling both did not help.
Back to the top
 
Posted
Rating:
#68965
Avatar

Tricky. Does this fix it?

Attachment
sources/forum/ocf.php
» Download: ocf.php (58 Kb, 148 downloads so far)


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

Well-settled

I can no longer test that Chris. I got a bit impatient and realized I wasn't that far ahead, so I reinstalled the software and started over.

After installing all the addons I needed, I avoided any translation addons and haven't run into any problems.
Back to the top
 
Posted
Rating:
#68981
Avatar

Well-settled

Chris, I ran into this problem again. When I went to that folder, that file was actually missing. Once I uploaded it, the error was cured.

I uploaded via ftp from ocPortal.

The download of ocPortal on to my computer does show the file in that the sources-forum folder.

So it is a fix.

Thanks again!
Back to the top
 
Posted
Rating:
#68982
Avatar

That doesn't make a lot of sense. Assuming you're running our own forum, nothing would work without that file. Assume you're not, it should not be used. Maybe just it didn't show up in FTP but my fix worked.


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

Well-settled

Maybe, I had looked in that folder and did not see it.

And yes, I am running just the primary OCF.
Back to the top
 
Posted
Rating:
#71641

Non-joined user

I'm having the same problem as Xarex, exept I already have the ocf.php file. I can not post anything with my username (ap1922) or admin. Any ideas? :)
Back to the top
 
Posted
Rating:
#71642
Avatar

Well-settled

Unfortunately, for me, this was never resolved. Chris had been a great help, accessing my site through FTP access and changing files, but it seemed his fixing one problem led to another. It just seemed that update just wasn't a good thing to do, though I would've ran into this problem, as one must upgrade eventually.

As much as the site turned out to be set up successfully and everything, and I enjoyed working on it, and thought it was beautiful, it was just too much to maintain.

I got busy with life and decided it was time to change the site direction completely – same idea, but different direction.

ocPortal is an amazing CMS and I'd highly recommend it to most people looking for an interactive website and online community with lots of built-in features. I'm extremely happy I learned such a seemingly complex system – though after you get to know it, it gets very easy.

I have no regrets nor ill-will towards such an amazing CMS with so many built-in features, but it just became too much for what I wanted to do.

I appreciate all the help and time that was allotted to me, all the support, and the great people that I came across here. I'm still always checking in occasionally. I am sure in the future I will have use for ocPortal again.

But I just hope I don't run into so much trouble after another upgrade. The upgrade went smooth .. but the aftermath just was more problems than seemed worth it.

Good luck ap1922.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: