HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

error while using the import tool / ocP site merger

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#86991 (In Topic #17752)

Honoured member

I have a site that has a duplicate install on a subdomain, which is used for a testbed of sorts.  I'm running a clean install of 8.1 on the subdomain and the main site is a 7.16 install that has been upgraded to 8.1.  The demo site works perfectly, but the main site has some display and theme issues.  So to fix it I did a complete fresh install of 8.1 on the demo site, and planned to import the main site in to it.  Once that was done I had planned to do a fresh install on the main site and then import everything back over to it.  While using the "Tools / Import / ocP site Merger" the attachments, user groups, and custom profile fields all imported successfully.  However, when I try to import the members I'm getting the following error:

Code

 » An error has occurred
An error has occurred
PHP NOTICE [8] Undefined index: m_track_contributed_topics in sources/hooks/modules/admin_import/ocp_merge.php
on line 1911 (version: 8.1, PHP version: 5.3.13, URL: /adminzone/index.php?page=admin_import&type=import&session=1150701096&importer=ocp_merge)
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/journal/public_html/demo/sources/failure.php'
Line
'684'
Function
'get_html_trace'
Args
File
'/home/journal/public_html/demo/sources/global2.php'
Line
'979'
Function
'_fatal_exit'
Args
'PHP NOTICE [8] Undefined index: m_track_contributed_topics in sources/hooks/modules/admin_import/ocp_merge.php
on line 1911'
File
'/home/journal/public_html/demo/sources/failure.php'
Line
'217'
Function
'fatal_exit'
Args
'PHP NOTICE [8] Undefined index: m_track_contributed_topics in sources/hooks/modules/admin_import/ocp_merge.php
on line 1911'
File
'/home/journal/public_html/demo/sources/global2.php'
Line
'853'
Function
'_ocportal_error_handler'
Args
'notice'
8
'Undefined index: m_track_contributed_topics'
'sources/hooks/modules/admin_import/ocp_merge.php'
1911
File
'/home/journal/public_html/demo/sources/hooks/modules/admin_import/ocp_merge.php'
Line
'1,911'
Function
'ocportal_error_handler'
Args
...
Function
'import_ocf_members'
Class
'Hook_ocp_merge'
Object
Hook_ocp_merge::__set_state(array( ))
Type
'->'
Args
...
'ocp_'
'/home/journal/public_html'
File
'/home/journal/public_html/demo/adminzone/pages/modules/admin_import.php'
Line
'634'
Function
'call_user_func_array'
Args
...
File
'/home/journal/public_html/demo/adminzone/pages/modules/admin_import.php'
Line
'156'
Function
'do_import'
Class
'Module_admin_import'
Object
Module_admin_import::__set_state(array( ))
Type
'->'
Args
File
'/home/journal/public_html/demo/sources/zones.php'
Line
'424'
Function
'run'
Class
'Module_admin_import'
Object
Module_admin_import::__set_state(array( ))
Type
'->'
Args
File
'/home/journal/public_html/demo/sources/site.php'
Line
'1,019'
Function
'load_module_page'
Args
'adminzone/pages/modules/admin_import.php'
'admin_import'
File
'/home/journal/public_html/demo/sources/site.php'
Line
'787'
Function
'request_page'
Args
'admin_import'
true
File
'/home/journal/public_html/demo/adminzone/index.php'
Line
'51'
Function
'do_site'
Args
Parameters
label_for__db_name
Database name
db_name
journal_maindb
require__db_name
1
label_for__db_user
Database username
db_user
journal_maindb
require__db_user
1
label_for__db_password
Database password
db_password
whenim64
require__db_password
0
label_for__db_table_prefix
Table prefix
db_table_prefix
ocp_
require__db_table_prefix
1
label_for__old_base_dir
Base directory
old_base_dir
/home/journal/public_html
require__old_base_dir
1
label_for__refresh_time
Refresh time
refresh_time
15
require__refresh_time
1
type
import
session
1150701096
importer
ocp_merge
just
ocf_custom_profile_fields
import_ocf_members
1

Back to the top
 
Important!
Posted
Rating:
#86999
Avatar

ocStaff (admin)

Automated fix message

chipster said

I have a site that has a duplicate install on a subdomain, which is used for a testbed of sorts.  I'm running a clean install of 8.1 on the subdomain and the main site is a 7.16 install that has been upgraded to 8.1.  The demo site works perfectly, but the main site has some display and theme issues.  So to fix it I did a complete fresh install of 8.1 on the demo site, and planned to import the main site in to it.  Once that was done I had planned to do a fresh install on the main site and then import everything back over to it.  While using the "Tools / Import / ocP site Merger" the attachments, user groups, and custom profile fields all imported successfully.  However, when I try to import the members I'm getting the following error:

Code

 » An error has occurred
An error has occurred
PHP NOTICE [8] Undefined index: m_track_contributed_topics in sources/hooks/modules/admin_import/ocp_merge.php
on line 1911 (version: 8.1, PHP version: 5.3.13, URL: /adminzone/index.php?page=admin_import&type=import&session=1150701096&importer=ocp_merge)
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/journal/public_html/demo/sources/failure.php'
Line
'684'
Function
'get_html_trace'
Args
File
'/home/journal/public_html/demo/sources/global2.php'
Line
'979'
Function
'_fatal_exit'
Args
'PHP NOTICE [8] Undefined index: m_track_contributed_topics in sources/hooks/modules/admin_import/ocp_merge.php
on line 1911'
File
'/home/journal/public_html/demo/sources/failure.php'
Line
'217'
Function
'fatal_exit'
Args
'PHP NOTICE [8] Undefined index: m_track_contributed_topics in sources/hooks/modules/admin_import/ocp_merge.php
on line 1911'
File
'/home/journal/public_html/demo/sources/global2.php'
Line
'853'
Function
'_ocportal_error_handler'
Args
'notice'
8
'Undefined index: m_track_contributed_topics'
'sources/hooks/modules/admin_import/ocp_merge.php'
1911
File
'/home/journal/public_html/demo/sources/hooks/modules/admin_import/ocp_merge.php'
Line
'1,911'
Function
'ocportal_error_handler'
Args
...
Function
'import_ocf_members'
Class
'Hook_ocp_merge'
Object
Hook_ocp_merge::__set_state(array( ))
Type
'->'
Args
...
'ocp_'
'/home/journal/public_html'
File
'/home/journal/public_html/demo/adminzone/pages/modules/admin_import.php'
Line
'634'
Function
'call_user_func_array'
Args
...
File
'/home/journal/public_html/demo/adminzone/pages/modules/admin_import.php'
Line
'156'
Function
'do_import'
Class
'Module_admin_import'
Object
Module_admin_import::__set_state(array( ))
Type
'->'
Args
File
'/home/journal/public_html/demo/sources/zones.php'
Line
'424'
Function
'run'
Class
'Module_admin_import'
Object
Module_admin_import::__set_state(array( ))
Type
'->'
Args
File
'/home/journal/public_html/demo/sources/site.php'
Line
'1,019'
Function
'load_module_page'
Args
'adminzone/pages/modules/admin_import.php'
'admin_import'
File
'/home/journal/public_html/demo/sources/site.php'
Line
'787'
Function
'request_page'
Args
'admin_import'
true
File
'/home/journal/public_html/demo/adminzone/index.php'
Line
'51'
Function
'do_site'
Args
Parameters
label_for__db_name
Database name
db_name
journal_maindb
require__db_name
1
label_for__db_user
Database username
db_user
journal_maindb
require__db_user
1
label_for__db_password
Database password
db_password
whenim64
require__db_password
0
label_for__db_table_prefix
Table prefix
db_table_prefix
ocp_
require__db_table_prefix
1
label_for__old_base_dir
Base directory
old_base_dir
/home/journal/public_html
require__old_base_dir
1
label_for__refresh_time
Refresh time
refresh_time
15
require__refresh_time
1
type
import
session
1150701096
importer
ocp_merge
just
ocf_custom_profile_fields
import_ocf_members
1

This issue has been filed on the tracker as issue #592, with a fix.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Important!
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: