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.


Database password

Login / Search

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

Well-settled

Does anyone know where to find my database password? I'm trying to merge my old ocportal into my new one and need the password to do it.

Any help would be greatly appreciated. :)

Check out my ocportal site: PrecisionRacingLeague.com which will always be on ocPortal - because it's awesome!
Back to the top
 
Posted
Rating:
#91484
Avatar

Community saint

For the old site, the DB login settings are in the info.php file in the root of the old ocPortal installation. Or if you still have the old site accessible, you can get the settings from the Admin Zone, Setup->Configuration->Installation Options.
Back to the top
 
Posted
Rating:
#91485
Avatar

Well-settled

Thanks :-)

Unfortunately I'm on V9 and in the config options it's starred out.

Check out my ocportal site: PrecisionRacingLeague.com which will always be on ocPortal - because it's awesome!
Back to the top
 
Posted
Rating:
#91489
Avatar

Well-settled

Ok I managed to reset my password.

I'm now having issues importing my forum.

Here is the stack trace:

Stack Trace

Critical error – bailing out

This is an error that has been elevated to critical error status because it occurred 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 occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
We cannot continue due to a missing dependency. 29 of type forum is missing. There may be a small corruption in your database – if you contact us (ocProducts) with a copy of the database, we may be able to work around it and get you an updated importer. (version: 9.0.2, PHP version: 5.3.15, URL: /site2/adminzone/index.php?page=admin_import&type=import&keep_fatalistic=1&session=452042996&importer=ocp_merge)
Stack trace…

File -> '/home/precisio/public_html/site2/sources/failure.php'
Line -> 693
Function -> 'die_html_trace'
Args -> array
File -> '/home/precisio/public_html/site2/sources/global2.php'
Line -> 1009
Function -> '_fatal_exit'
Args -> array
File -> '/home/precisio/public_html/site2/sources/failure.php'
Line -> 240
Function -> 'fatal_exit'
Args -> array
File -> '/home/precisio/public_html/site2/sources/global2.php'
Line -> 969
Function -> '_generic_exit'
Args -> array
File -> '/home/precisio/public_html/site2/sources/import.php'
Line -> 65
Function -> 'warn_exit'
Args -> array
File -> '/home/precisio/public_html/site2/sources/hooks/modules/admin_import/ocp_merge.php'
Line -> 2070
Function -> 'import_id_remap_get'
Args -> array ( 0 => 'forum', 1 => '29', )
Function -> 'import_ocf_forums'
Class -> 'Hook_ocp_merge'
Object -> Hook_ocp_merge::__set_state(array( ))
Type -> '->'
Args -> array
File -> '/home/precisio/public_html/site2/adminzone/pages/modules/admin_import.php'
Line -> 635
Function -> 'call_user_func_array'
Args -> array
File -> '/home/precisio/public_html/site2/adminzone/pages/modules/admin_import.php'
Line -> 157
Function -> 'do_import'
Class -> 'Module_admin_import'
Object -> Module_admin_import::__set_state(array( ))
Type -> '->'
Args -> array ( )
File -> '/home/precisio/public_html/site2/sources/zones.php'
Line -> 425
Function -> 'run'
Class -> 'Module_admin_import'
Object -> Module_admin_import::__set_state(array( ))
Type -> '->'
Args -> array ( )
File -> '/home/precisio/public_html/site2/sources/site.php'
Line -> 838
Function -> 'load_module_page'
Args -> array ( 0 => 'adminzone/pages/modules/admin_import.php', 1 => 'admin_import', )
File -> '/home/precisio/public_html/site2/sources/site.php'
Line -> 629
Function -> 'request_page'
Args -> array ( 0 => 'admin_import', 1 => true, )
File -> '/home/precisio/public_html/site2/adminzone/index.php'
Line -> 39
Function -> 'do_site'
Args -> array ( )
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/Precision Racing League maintains full documentation for all procedures and tools. These may be found on the Precision Racing League website. If you are unable to easily solve this problem, we may be contacted from our website and can help resolve it for you.

Precision Racing League is a CMS for building websites, developed by ocProducts/Precision Racing League.

Check out my ocportal site: PrecisionRacingLeague.com which will always be on ocPortal - because it's awesome!
Back to the top
 
Posted
Rating:
#91490
Avatar

Well-settled

Before I clicked the stack trace I got this message:

We cannot continue due to a missing dependency. 29 of type forum is missing. There may be a small corruption in your database – if you contact us (ocProducts) with a copy of the database, we may be able to work around it and get you an updated importer.

Check out my ocportal site: PrecisionRacingLeague.com which will always be on ocPortal - because it's awesome!
Back to the top
 
Important!
Posted
Rating:
#91509
Avatar

Automated fix message

djdaveyp85 said

Ok I managed to reset my password.

I'm now having issues importing my forum.

Here is the stack trace:

Stack Trace

Critical error – bailing out

This is an error that has been elevated to critical error status because it occurred 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 occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
We cannot continue due to a missing dependency. 29 of type forum is missing. There may be a small corruption in your database – if you contact us (ocProducts) with a copy of the database, we may be able to work around it and get you an updated importer. (version: 9.0.2, PHP version: 5.3.15, URL: /site2/adminzone/index.php?page=admin_import&type=import&keep_fatalistic=1&session=452042996&importer=ocp_merge)
Stack trace…

File -> '/home/precisio/public_html/site2/sources/failure.php'
Line -> 693
Function -> 'die_html_trace'
Args -> array
File -> '/home/precisio/public_html/site2/sources/global2.php'
Line -> 1009
Function -> '_fatal_exit'
Args -> array
File -> '/home/precisio/public_html/site2/sources/failure.php'
Line -> 240
Function -> 'fatal_exit'
Args -> array
File -> '/home/precisio/public_html/site2/sources/global2.php'
Line -> 969
Function -> '_generic_exit'
Args -> array
File -> '/home/precisio/public_html/site2/sources/import.php'
Line -> 65
Function -> 'warn_exit'
Args -> array
File -> '/home/precisio/public_html/site2/sources/hooks/modules/admin_import/ocp_merge.php'
Line -> 2070
Function -> 'import_id_remap_get'
Args -> array ( 0 => 'forum', 1 => '29', )
Function -> 'import_ocf_forums'
Class -> 'Hook_ocp_merge'
Object -> Hook_ocp_merge::__set_state(array( ))
Type -> '->'
Args -> array
File -> '/home/precisio/public_html/site2/adminzone/pages/modules/admin_import.php'
Line -> 635
Function -> 'call_user_func_array'
Args -> array
File -> '/home/precisio/public_html/site2/adminzone/pages/modules/admin_import.php'
Line -> 157
Function -> 'do_import'
Class -> 'Module_admin_import'
Object -> Module_admin_import::__set_state(array( ))
Type -> '->'
Args -> array ( )
File -> '/home/precisio/public_html/site2/sources/zones.php'
Line -> 425
Function -> 'run'
Class -> 'Module_admin_import'
Object -> Module_admin_import::__set_state(array( ))
Type -> '->'
Args -> array ( )
File -> '/home/precisio/public_html/site2/sources/site.php'
Line -> 838
Function -> 'load_module_page'
Args -> array ( 0 => 'adminzone/pages/modules/admin_import.php', 1 => 'admin_import', )
File -> '/home/precisio/public_html/site2/sources/site.php'
Line -> 629
Function -> 'request_page'
Args -> array ( 0 => 'admin_import', 1 => true, )
File -> '/home/precisio/public_html/site2/adminzone/index.php'
Line -> 39
Function -> 'do_site'
Args -> array ( )
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/Precision Racing League maintains full documentation for all procedures and tools. These may be found on the Precision Racing League website. If you are unable to easily solve this problem, we may be contacted from our website and can help resolve it for you.

Precision Racing League is a CMS for building websites, developed by ocProducts/Precision Racing League.
This issue has been filed on the tracker as issue #836, with a fix.


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.
Important!
 
Posted
Rating:
#91563
Avatar

Well-settled

Hi.

I've downloaded and used the fix, we're nearly working now.

I've got most of the way down the list and I am now getting a stack trace at the Poll Archive import option:

Code

Critical error – bailing out

This is an error that has been elevated to critical error status because it occurred 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 occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
PHP NOTICE [8] Undefined index: ip in sources/hooks/modules/admin_import/ocp_merge.php on line 825 (version: 9.0.2, PHP version: 5.3.15, URL: /ocp/adminzone/index.php?page=admin_import&type=import&session=1091903479&importer=ocp_merge)
Stack trace…

File -> '/home/precisio/public_html/ocp/sources/failure.php'
Line -> 693
Function -> 'die_html_trace'
Args -> array ( 0 => 'PHP NOTICE [8] Undefined index: ip in sources/hooks/modules/admin_import/ocp_merge.php on line 825 (version: 9.0.2, PHP version: 5.3.15, URL: /ocp/adminzone/index.php?page=admin_import&type=import&session=1091903479&importer=ocp_merge)', )
File -> '/home/precisio/public_html/ocp/sources/global2.php'
Line -> 1009
Function -> '_fatal_exit'
Args -> array ( 0 => 'PHP NOTICE [8] Undefined index: ip in sources/hooks/modules/admin_import/ocp_merge.php on line 825', )
File -> '/home/precisio/public_html/ocp/sources/failure.php'
Line -> 220
Function -> 'fatal_exit'
Args -> array ( 0 => 'PHP NOTICE [8] Undefined index: ip in sources/hooks/modules/admin_import/ocp_merge.php on line 825', )
File -> '/home/precisio/public_html/ocp/sources/global2.php'
Line -> 872
Function -> '_ocportal_error_handler'
Args -> array ( 0 => 'notice', 1 => 8, 2 => 'Undefined index: ip', 3 => 'sources/hooks/modules/admin_import/ocp_merge.php', 4 => 825, )
File -> '/home/precisio/public_html/ocp/sources/hooks/modules/admin_import/ocp_merge.php'
Line -> 825
Function -> 'ocportal_error_handler'
Args -> array
Function -> 'import_polls'
Class -> 'Hook_ocp_merge'
Object -> Hook_ocp_merge::__set_state(array( ))
Type -> '->'
Args -> array
File -> '/home/precisio/public_html/ocp/adminzone/pages/modules/admin_import.php'
Line -> 635
Function -> 'call_user_func_array'
Args -> array
File -> '/home/precisio/public_html/ocp/adminzone/pages/modules/admin_import.php'
Line -> 157
Function -> 'do_import'
Class -> 'Module_admin_import'
Object -> Module_admin_import::__set_state(array( ))
Type -> '->'
Args -> array ( )
File -> '/home/precisio/public_html/ocp/sources/zones.php'
Line -> 425
Function -> 'run'
Class -> 'Module_admin_import'
Object -> Module_admin_import::__set_state(array( ))
Type -> '->'
Args -> array ( )
File -> '/home/precisio/public_html/ocp/sources/site.php'
Line -> 838
Function -> 'load_module_page'
Args -> array ( 0 => 'adminzone/pages/modules/admin_import.php', 1 => 'admin_import', )
File -> '/home/precisio/public_html/ocp/sources/site.php'
Line -> 629
Function -> 'request_page'
Args -> array ( 0 => 'admin_import', 1 => true, )
File -> '/home/precisio/public_html/ocp/adminzone/index.php'
Line -> 39
Function -> 'do_site'
Args -> array ( )
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.

Check out my ocportal site: PrecisionRacingLeague.com which will always be on ocPortal - because it's awesome!
Back to the top
 
Important!
Posted
Rating:
#91568
Avatar

Automated fix message

djdaveyp85 said

Hi.

I've downloaded and used the fix, we're nearly working now.

I've got most of the way down the list and I am now getting a stack trace at the Poll Archive import option:

Code

Critical error – bailing out

This is an error that has been elevated to critical error status because it occurred 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 occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
PHP NOTICE [8] Undefined index: ip in sources/hooks/modules/admin_import/ocp_merge.php on line 825 (version: 9.0.2, PHP version: 5.3.15, URL: /ocp/adminzone/index.php?page=admin_import&type=import&session=1091903479&importer=ocp_merge)
Stack trace…

File -> '/home/precisio/public_html/ocp/sources/failure.php'
Line -> 693
Function -> 'die_html_trace'
Args -> array ( 0 => 'PHP NOTICE [8] Undefined index: ip in sources/hooks/modules/admin_import/ocp_merge.php on line 825 (version: 9.0.2, PHP version: 5.3.15, URL: /ocp/adminzone/index.php?page=admin_import&type=import&session=1091903479&importer=ocp_merge)', )
File -> '/home/precisio/public_html/ocp/sources/global2.php'
Line -> 1009
Function -> '_fatal_exit'
Args -> array ( 0 => 'PHP NOTICE [8] Undefined index: ip in sources/hooks/modules/admin_import/ocp_merge.php on line 825', )
File -> '/home/precisio/public_html/ocp/sources/failure.php'
Line -> 220
Function -> 'fatal_exit'
Args -> array ( 0 => 'PHP NOTICE [8] Undefined index: ip in sources/hooks/modules/admin_import/ocp_merge.php on line 825', )
File -> '/home/precisio/public_html/ocp/sources/global2.php'
Line -> 872
Function -> '_ocportal_error_handler'
Args -> array ( 0 => 'notice', 1 => 8, 2 => 'Undefined index: ip', 3 => 'sources/hooks/modules/admin_import/ocp_merge.php', 4 => 825, )
File -> '/home/precisio/public_html/ocp/sources/hooks/modules/admin_import/ocp_merge.php'
Line -> 825
Function -> 'ocportal_error_handler'
Args -> array
Function -> 'import_polls'
Class -> 'Hook_ocp_merge'
Object -> Hook_ocp_merge::__set_state(array( ))
Type -> '->'
Args -> array
File -> '/home/precisio/public_html/ocp/adminzone/pages/modules/admin_import.php'
Line -> 635
Function -> 'call_user_func_array'
Args -> array
File -> '/home/precisio/public_html/ocp/adminzone/pages/modules/admin_import.php'
Line -> 157
Function -> 'do_import'
Class -> 'Module_admin_import'
Object -> Module_admin_import::__set_state(array( ))
Type -> '->'
Args -> array ( )
File -> '/home/precisio/public_html/ocp/sources/zones.php'
Line -> 425
Function -> 'run'
Class -> 'Module_admin_import'
Object -> Module_admin_import::__set_state(array( ))
Type -> '->'
Args -> array ( )
File -> '/home/precisio/public_html/ocp/sources/site.php'
Line -> 838
Function -> 'load_module_page'
Args -> array ( 0 => 'adminzone/pages/modules/admin_import.php', 1 => 'admin_import', )
File -> '/home/precisio/public_html/ocp/sources/site.php'
Line -> 629
Function -> 'request_page'
Args -> array ( 0 => 'admin_import', 1 => true, )
File -> '/home/precisio/public_html/ocp/adminzone/index.php'
Line -> 39
Function -> 'do_site'
Args -> array ( )
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.
This issue has been filed on the tracker as issue #838, with a fix.


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.
Important!
 
Posted
Rating:
#91590
Avatar

Well-settled

Tried editing my zone on my re-installation and now I seem to be getting this:

Check out my ocportal site: PrecisionRacingLeague.com which will always be on ocPortal - because it's awesome!
Back to the top
 
Posted
Rating:
#91591
Avatar

Emptying the comcode_pages and cached_comcode_pages tables will fix this problem. It is a legacy problem with how ocPortal used to store page ownerships.


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

Well-settled

Thanks. Worked a treat :-) Think I'm up and running again now.

Check out my ocportal site: PrecisionRacingLeague.com which will always be on ocPortal - because it's awesome!
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: