Importing a ocP site in to Composr

Post

Posted
Rating:
#1910 (In Topic #375)
Avatar
Standard member
Chip McCain (2) is in the usergroup ‘Well-settled’
Ok, I may be doing something the software wasn't ment to. If I am just tell me. I have my family site, which is running ocPortal, and I've set up a new domain on the same server' I'm trying to import my family site into. I've done this using ocPortal before, so thought it would work. I filled in the import form with all the correct information and proceeded to the next step. I didn't check any other boxes in step two other than Attachments, which was already checked. I hit proceed and got the following error.

Code


An error has occurred

PHP WARNING [2] Cannot modify header information - headers already sent by (output started at sources/global3.php:3429) in adminzone/pages/modules/admin_import.php on line 542 (version: 10 RC32, PHP version: 5.6.29, URL: /adminzone/index.php?page=admin-import&type=import&session=7bb47d75de831&importer=cms_merge)
Here is the stack trace:

Below is a stack trace revealing the state Composr was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Composr 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/catplace/public_html/sources/failure.php'
Line    972
Function    'get_html_trace'
Args    
File    '/home/catplace/public_html/sources/global2.php'
Line    914
Function    '_fatal_exit'
Args    

'PHP WARNING [2] Cannot modify header information - headers already sent by (output started at sources/global3.php:3429) in adminzone/pages/modules/admin_import.php on line 542'
File    '/home/catplace/public_html/sources/failure.php'
Line    281
Function    'fatal_exit'
Args    

'PHP WARNING [2] Cannot modify header information - headers already sent by (output started at sources/global3.php:3429) in adminzone/pages/modules/admin_import.php on line 542'
File    '/home/catplace/public_html/sources/global2.php'
Line    787
Function    '_composr_error_handler'
Args    

'warning'

2

'Cannot modify header information - headers already sent by (output started at /home/catplace/public_html/sources/global3.php:3429)'

'adminzone/pages/modules/admin_import.php'

542

4
Function    'composr_error_handler'
Args    

2

'Cannot modify header information - headers already sent by (output started at /home/catplace/public_html/sources/global3.php:3429)'

'/home/catplace/public_html/adminzone/pages/modules/admin_import.php'

542

array
File    '/home/catplace/public_html/adminzone/pages/modules/admin_import.php'
Line    542
Function    'header'
Args    

'Content-type: text/html; charset=utf-8'
File    '/home/catplace/public_html/adminzone/pages/modules/admin_import.php'
Line    206
Function    'do_import'
Class    'Module_admin_import'
Object    O:19:"Module_admin_import":1:{s:5:"title";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:33:"tcpfunc_58b9e076af7269.20374234_1";s:2661:"$tpl_funcs['tcpfunc_58b9e076af7269.20374234_1']=$KEEP_TPL_FUNCS['tcpfunc_58b9e076af7269.20374234_1']=recall_named_function('58b9e076af7354.31738571','$parameters,$cl',"extract(\$parameters,EXTR_PREFIX_ALL,'bound'); echo (isset(\$bound_ID)?(\"\\n<a id=\\\"title__\".(empty(\$bound_ID->pure_lang)?htmlspecialchars(otp(isset(\$bound_ID)?\$bound_ID:null,\"ID/SCREEN_TITLE\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\$bound_ID)?\$bound_ID:null,\"ID/SCREEN_TITLE\")).\"\\\"></a>\\n\"):''),\n \"\\n\\n<h1 class=\\\"screen_title\\\"\",\n ((ecv_NOT(\$cl,array(),array(ecv_GET(\$cl,array(),array(\"name_set_elsewhere\"))))==\"1\")?(\" itemprop=\\\"name\\\"\"):''),\n \">\\n \",\n otp(isset(\$bound_TITLE)?\$bound_TITLE:null,\"TITLE/SCREEN_TITLE\"),\n \"\\n\\n \",\n (isset(\$bound_AWARDS)?(\"\\n \".((otp(isset(\$bound_AWARDS)?\$bound_AWARDS:null,\"AWARDS/SCREEN_TITLE\")!='')?(\"\\n \".ecv(\$cl,array(),4,\"SET\",array(\"AWARDS_TEXT\",\"\\n <h2>\".\"Award winner\".\"</h2>\\n <p class=\\\"lonely_label\\\">\".ecv(\$cl,array(),2,\"AWARDS_WON\",array(otp(isset(\$bound_AWARDS)?\$bound_AWARDS:null,\"AWARDS/SCREEN_TITLE\"))).\"</p>\\n <ul>\\n \".closure_loop(array(\"AWARDS\",'vars'=>\$parameters),array(\$parameters,\$cl),\nrecall_named_function('58b9e076af3c37.83570798','\$parameters,\$cl',\"extract(\\\$parameters,EXTR_PREFIX_ALL,'bound'); return \\\"\\\\n <li>\\\\n <strong>\\\".(empty(\\\$bound_AWARD_TYPE->pure_lang)?htmlspecialchars(otp(isset(\\\$bound_AWARD_TYPE)?\\\$bound_AWARD_TYPE:null,\\\"AWARD_TYPE/SCREEN_TITLE\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\\$bound_AWARD_TYPE)?\\\$bound_AWARD_TYPE:null,\\\"AWARD_TYPE/SCREEN_TITLE\\\")).\\\"</strong>\\\\n <span>\\\".ecv(\\\$cl,array(),2,\\\"AWARD_ON\\\",array(ecv_DATE(\\\$cl,array(1),array(\\\"1\\\",\\\"1\\\",\\\"1\\\",otp(isset(\\\$bound_AWARD_TIMESTAMP)?\\\$bound_AWARD_TIMESTAMP:null,\\\"AWARD_TIMESTAMP/SCREEN_TITLE\\\"))))).\\\"</span>\\\\n </li>\\\\n \\\";\")).\"\\n </ul>\\n \")).\"\\n <a href=\\\"\".ecv_PAGE_LINK(\$cl,array(1),array(\"_SEARCH:awards\")).\"\\\"><img &#111;nmouseover=\\\"if (typeof window.activate_tooltip!='undefined') activate_tooltip(this\".\",\".\"event\".\",\".\"'\".ecv_GET(\$cl,array(2,8,1),array(\"AWARDS_TEXT\")).\"'\".\",\".\"'auto'\".\",\".\"null\".\",\".\"null\".\",\".\"false\".\",\".\"true);\\\" title=\\\"\\\" alt=\\\"\".\"Award winner\".\"\\\" src=\\\"\".\"\".\"\\\" /></a>\\n \"):'').\"\\n \"):''),\n \"\\n</h1>\\n\\n\",\n (isset(\$bound_SUB)?(\"\\n <div class=\\\"title_tagline\\\">\\n \".otp(isset(\$bound_SUB)?\$bound_SUB:null,\"SUB/SCREEN_TITLE\").\"\\n </div>\\n\"):''),\n \"\\n\";");";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:33:"tcpfunc_58b9e076af7269.20374234_1";i:1;a:3:{s:5:"_GUID";s:32:"847ffbe4823eca6d2d5eac42828ee552";s:6:"AWARDS";a:0:{}s:5:"TITLE";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:36:"do_runtime_58b9e16b1fa346.04234180_5";s:99:"$tpl_funcs['do_runtime_58b9e16b1fa346.04234180_5']="echo ecv(\$cl,array(),2,\"IMPORT\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_58b9e16b1fa346.04234180_5";i:1;a:0:{}i:2;i:2;i:3;s:6:"IMPORT";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";b:1;s:8:"codename";s:10:":container";}}i:2;i:1;i:3;s:0:"";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";N;s:8:"codename";s:12:"SCREEN_TITLE";}}
Type    '->'
Args    
File    '/home/catplace/public_html/sources/zones.php'
Line    791
Function    'run'
Class    'Module_admin_import'
Object    O:19:"Module_admin_import":1:{s:5:"title";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:33:"tcpfunc_58b9e076af7269.20374234_1";s:2661:"$tpl_funcs['tcpfunc_58b9e076af7269.20374234_1']=$KEEP_TPL_FUNCS['tcpfunc_58b9e076af7269.20374234_1']=recall_named_function('58b9e076af7354.31738571','$parameters,$cl',"extract(\$parameters,EXTR_PREFIX_ALL,'bound'); echo (isset(\$bound_ID)?(\"\\n<a id=\\\"title__\".(empty(\$bound_ID->pure_lang)?htmlspecialchars(otp(isset(\$bound_ID)?\$bound_ID:null,\"ID/SCREEN_TITLE\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\$bound_ID)?\$bound_ID:null,\"ID/SCREEN_TITLE\")).\"\\\"></a>\\n\"):''),\n \"\\n\\n<h1 class=\\\"screen_title\\\"\",\n ((ecv_NOT(\$cl,array(),array(ecv_GET(\$cl,array(),array(\"name_set_elsewhere\"))))==\"1\")?(\" itemprop=\\\"name\\\"\"):''),\n \">\\n \",\n otp(isset(\$bound_TITLE)?\$bound_TITLE:null,\"TITLE/SCREEN_TITLE\"),\n \"\\n\\n \",\n (isset(\$bound_AWARDS)?(\"\\n \".((otp(isset(\$bound_AWARDS)?\$bound_AWARDS:null,\"AWARDS/SCREEN_TITLE\")!='')?(\"\\n \".ecv(\$cl,array(),4,\"SET\",array(\"AWARDS_TEXT\",\"\\n <h2>\".\"Award winner\".\"</h2>\\n <p class=\\\"lonely_label\\\">\".ecv(\$cl,array(),2,\"AWARDS_WON\",array(otp(isset(\$bound_AWARDS)?\$bound_AWARDS:null,\"AWARDS/SCREEN_TITLE\"))).\"</p>\\n <ul>\\n \".closure_loop(array(\"AWARDS\",'vars'=>\$parameters),array(\$parameters,\$cl),\nrecall_named_function('58b9e076af3c37.83570798','\$parameters,\$cl',\"extract(\\\$parameters,EXTR_PREFIX_ALL,'bound'); return \\\"\\\\n <li>\\\\n <strong>\\\".(empty(\\\$bound_AWARD_TYPE->pure_lang)?htmlspecialchars(otp(isset(\\\$bound_AWARD_TYPE)?\\\$bound_AWARD_TYPE:null,\\\"AWARD_TYPE/SCREEN_TITLE\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\\$bound_AWARD_TYPE)?\\\$bound_AWARD_TYPE:null,\\\"AWARD_TYPE/SCREEN_TITLE\\\")).\\\"</strong>\\\\n <span>\\\".ecv(\\\$cl,array(),2,\\\"AWARD_ON\\\",array(ecv_DATE(\\\$cl,array(1),array(\\\"1\\\",\\\"1\\\",\\\"1\\\",otp(isset(\\\$bound_AWARD_TIMESTAMP)?\\\$bound_AWARD_TIMESTAMP:null,\\\"AWARD_TIMESTAMP/SCREEN_TITLE\\\"))))).\\\"</span>\\\\n </li>\\\\n \\\";\")).\"\\n </ul>\\n \")).\"\\n <a href=\\\"\".ecv_PAGE_LINK(\$cl,array(1),array(\"_SEARCH:awards\")).\"\\\"><img &#111;nmouseover=\\\"if (typeof window.activate_tooltip!='undefined') activate_tooltip(this\".\",\".\"event\".\",\".\"'\".ecv_GET(\$cl,array(2,8,1),array(\"AWARDS_TEXT\")).\"'\".\",\".\"'auto'\".\",\".\"null\".\",\".\"null\".\",\".\"false\".\",\".\"true);\\\" title=\\\"\\\" alt=\\\"\".\"Award winner\".\"\\\" src=\\\"\".\"\".\"\\\" /></a>\\n \"):'').\"\\n \"):''),\n \"\\n</h1>\\n\\n\",\n (isset(\$bound_SUB)?(\"\\n <div class=\\\"title_tagline\\\">\\n \".otp(isset(\$bound_SUB)?\$bound_SUB:null,\"SUB/SCREEN_TITLE\").\"\\n </div>\\n\"):''),\n \"\\n\";");";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:33:"tcpfunc_58b9e076af7269.20374234_1";i:1;a:3:{s:5:"_GUID";s:32:"847ffbe4823eca6d2d5eac42828ee552";s:6:"AWARDS";a:0:{}s:5:"TITLE";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:36:"do_runtime_58b9e16b1fa346.04234180_5";s:99:"$tpl_funcs['do_runtime_58b9e16b1fa346.04234180_5']="echo ecv(\$cl,array(),2,\"IMPORT\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_58b9e16b1fa346.04234180_5";i:1;a:0:{}i:2;i:2;i:3;s:6:"IMPORT";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";b:1;s:8:"codename";s:10:":container";}}i:2;i:1;i:3;s:0:"";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";N;s:8:"codename";s:12:"SCREEN_TITLE";}}
Type    '->'
Args    
File    '/home/catplace/public_html/sources/site.php'
Line    1,179
Function    'load_module_page'
Args    

'adminzone/pages/modules/admin_import.php'

'admin_import'

Tempcode -> ...
File    '/home/catplace/public_html/sources/site.php'
Line    889
Function    'request_page'
Args    

'admin_import'

true

NULL

NULL

false

false

Tempcode -> ...
File    '/home/catplace/public_html/adminzone/index.php'
Line    56
Function    'do_site'
Args    
Parameters
csrf_token    
99a0133ac0ba1
label_for__db_name    
Database name
db_name    
catcom_ocpmain
require__db_name    
1
label_for__db_user    
Database username
db_user    
catcom_ocpmain
require__db_user    
1
label_for__db_password    
Database password
db_password    
Whenim64Again
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/catcom/public_html
require__old_base_dir    
1
label_for__refresh_time    
Refresh time
refresh_time    
15
require__refresh_time    
1
http_referer    
http://chipandtracysplace.com/adminzone/index.php?page=admin-import&type=session2&importer=cms_merge
type    
hook
session    
7bb47d75de831
importer    
cms_merge
import_attachments    
1

Online now: No Back to the top

Post

Posted
Rating:
#1911
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi,

We'll fix this in the next release (which hopefully is v10-final). I have gone over it and made sure it can import from v9, which we weren't originally planning to do, but I decided it was worth it to help users.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

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 Composr whenever you see the opportunity or support me on Patreon.
  • 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 Composr 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.
Online now: No Back to the top

Post

Posted
Rating:
#1934
Avatar
Standard member
Chip McCain (2) is in the usergroup ‘Well-settled’
Thanks Chris. I didn't know if it was meant to do it or not. Figured probably not. I've read the roadmap for migrating however, after ten of fifteen years of being shuffled from one host to another my family site's home directory is full of files and directories just taking up space. I thought by importing to a fresh account would clean things up for me without me having to go through each file and directory to see what's important and what's not. So much for wanting to take the lazy way out. :lol:
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,053 topics, 7,195 posts, 10,854 members
  • Our newest member is sdtgyet634
Birthdays:
Back to Top