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.


Unreported bug when using 'custom' database table prefix?

Login / Search

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

Fan in action

Hi,
I just did two installs of ocp5.x (current version)
Using 'ocp5_' for the database tables worked fine / Using 'mybb_ocp5_' seems to have the system looking for 'mybb_gsp' instead of 'mybb_ocp5_gsp'

[Table 'test3.mybb_gsp' doesn't exist]

FYI:
Full error message =

Code

Critical error - bailing out

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.

Unfortunately a query has failed [SELECT specific_permission,the_page,module_the_name,category_name,the_value FROM mybb_gsp WHERE (group_id=-1) AND module_the_name='forums' UNION ALL SELECT specific_permission,the_page,module_the_name,category_name,the_value FROM mybb_msp WHERE module_the_name='forums' AND member_id=0 AND active_until>1282115971] [Table 'test3.mybb_gsp' doesn't exist] (version: 5.0.1, PHP version: 5.3.2, URL: /ahome/)

Is this possibly an unreported bug?
Thank you
Back to the top
 
Posted
Rating:
#61997
Avatar

Hi,

Please try this fix.

Attachment
sources/permissions.php
» Download: permissions.php (29 Kb, 147 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:
#61998
Avatar

Fan in action

OK, will try right now.

<on topic of 'unreported bugs'>

In the admin section… adminzone/index.php?page=start

Notes (for example) do save properly, but custom tasks and edit (add) links seem to only "save" temporarily ("ajax style"), but are not there when returning to the page later (i.e. not really saved into the db?)

</ topic of 'unreported bugs'>

^^^
It's late, but the above seems to be true.
Thanks a bunch, Chris
Back to the top
 
Posted
Rating:
#62001
Avatar

Hi, Maybe you initially marked them as done, in which case they would hide when you refresh?


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

Fan in action

Chris Graham said

Hi,

Please try this fix.
1st impression = Much better, but…
@ adminzone/index.php?page=start

error = "The necessary forum for this has not yet been created"

^^^
I've installed OcP w/ MyBB before so…
Maybe I should try to reinstall now (using the new file)?

Thanks
Back to the top
 
Posted
Rating:
#62004
Avatar

Hi,

We'll improve this, but the default Admin Zone start page is looking for one of the default OCF forums named 'Reported posts forum'. Edit the page and alter what the 'main_forum_topics' block looks for, or just remove that block.


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

Fan in action

Chris Graham said

Hi, Maybe you initially marked them as done, in which case they would hide when you refresh?

I used "show all"…

Seems to be the browser cache, since now I have them saved in Firefox and not showing yet in Chrome.  :)

Back to the top
 
Posted
Rating:
#62006
Avatar

Fan in action

1) 'main_forum_topics' block

OK, thanks for the quick answers.

``````
2) I closed down Firefox, and after restart the tasks and link were 'gone'.
(I'm using php 5.3) and there does seem to be an issue.

I'll test more soon, thank you.
Back to the top
 
Posted
Rating:
#62008
Avatar

Fan in action

Update:
The data is being saved and only showing when a new entry is added:
This (below) shows exactly what is happening (much better and faster than I can type)


http://dl.dropbox.com/u/3677674/custom.avi
Back to the top
 
Posted
Rating:
#62014
Avatar

Fan in action

Custom tasks are a great new feature; Thanks for adding them.
Here is a solution to what i was seeing:
Add new task –> rebuild block cache @ adminzone/index.php?page=admin_cleanup&type=misc

^^^
Works every time.  :)
Back to the top
 
Posted
Rating:
#62035
Avatar

aha! That makes sense, we need to clear the cacheing when we add the task. We usually develop with the block cache off so that explains why we did not see it.


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

Attachment
sources/hooks/systems/snippets/
» Download: checklist_task_manage.php (2 Kb, 115 downloads so far)


This should fix it (I just did another fix in this same file for someone; this includes that fix too)


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
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: