Jump to content
TNG Community

Census Plus International


zanger02

Recommended Posts

On the Census Plus International Mod page under requirements

Quote

A backup of all affected files (see the list in the summary in the upper right corner of the page)

As far as I can tell there are no files listed under summary. Am I missing something? Should no files be backed up prior to installing the mod? See screen grab below.

Also, how do you install the PHP Dom extension if my TNG isn't on my local machine?

TNG version 12.1

 

Screen Shot 2020-03-21 at 9.27.43 AM.png

Link to comment
Share on other sites

OK, my short term memory is shot.  Most ISP should provide the DOM Extension to PHP.  I believe I put that requirement for those who install a web server on their own computer.

I will update the Files Modified section in the summary so that it is expanded and shows - See TNG Modules Impacted instead of being collapsed

By the way, when you upgrade any TNG version, if you download the full install zip file as well, then you have the necessary backup to recover from any problem

   

 

Link to comment
Share on other sites

Lol! No problem!  I haven't set up a web server on my computer yet for TNG. I'd love to set it up so I can use Github. Makes me crazy I can't push every change to Github.

Link to comment
Share on other sites

I took a quick look and the [Expand] in the Mod Summary section would require a change to the template.  I guess the Expand button on the page is not obvious.

You must be a lot younger than I am since I do not see what Github would provide.  Besides the Licensing agreement for the TNG software might not allow you to publish changes to TNG in that location.  It is licensed software that Darrin as graciously allowed us to modify but not publish complete modules

Link to comment
Share on other sites

Lol! I've used github since day one for every project I've ever worked on accept TNG.(excpet  I've been manually adding backups of individual files instead of being able to push them to Github). Github can be used for TNG if the repository is private. Github is a version control system and tracks every change you make.  Normally I run a server on my local machine, push changes to Github, then push to the host (like Heroku). When things go bad you can recover to a previous version. Can't count how many times it's saved my behind. Lol! 

I'm a developer but I'm pretty green when it comes to PHP. I've tried installing the Census mod with no success.

Cannot install   applies to TNG 12+ Saves CPI Settings file across future upgrades.

I'm using TNG v.12.1

 

 

Screen Shot 2020-03-21 at 11.34.07 AM.png

Link to comment
Share on other sites

Can you expand the Status column for the Census Plus International mod by clicking the right arrow and then look for errors, such as Bad Target, Missing source, etcs.

Provide the target file name and the line number for the error message.  Note that the Census Plus International mod includes a folder that must be FTP with its entire content to the mods folder in TNG

I make all my changes to TNG, including those to template files and TNG configuration files using the Mod Manager

Link to comment
Share on other sites

Sorry guess I should have posted the error in my previous post. (I'm using template 18) not sure why the following is an issue if I'm not using template 14.

line 446: %target:templates/template14/css/templatestyle.css% target file missing

line 894: %newfile: ~extensions/cp_settings.inc not created

Seems non of the following files copied even though they exist on my host within the mods/censusplus_v120010a

line 958: %copyfile: admin_censusplus.php  not copied
Source: mods/censusplus_v120010a/admin_censusplus.php
line 959: %copyfile: admin_cpcreate.php  not copied
Source: mods/censusplus_v120010a/admin_cpcreate.php
line 960: %copyfile: admin_cpdelete.php  not copied
Source: mods/censusplus_v120010a/admin_cpdelete.php
line 961: %copyfile: admin_cpdeleteselected.php  not copied
Source: mods/censusplus_v120010a/admin_cpdeleteselected.php
line 962: %copyfile: admin_cpedit.php  not copied
Source: mods/censusplus_v120010a/admin_cpedit.php
line 963: %copyfile: admin_cpimage.php  not copied
Source: mods/censusplus_v120010a/admin_cpimage.php
line 964: %copyfile: admin_cplinkIDs.php  not copied
Source: mods/censusplus_v120010a/admin_cplinkIDs.php
line 965: %copyfile: admin_cprestore.php  not copied
Source: mods/censusplus_v120010a/admin_cprestore.php
line 966: %copyfile: admin_cpscrape.php  not copied
Source: mods/censusplus_v120010a/admin_cpscrape.php
line 967: %copyfile: admin_cpupdate.php  not copied
Source: mods/censusplus_v120010a/admin_cpupdate.php
line 968: %copyfile: admin_cpxfamsearch.php  not copied
Source: mods/censusplus_v120010a/admin_cpxfamsearch.php
line 969: %copyfile: admin_cpxtngsearch.php  not copied
Source: mods/censusplus_v120010a/admin_cpxtngsearch.php
line 970: %copyfile: copycentables.php  not copied
Source: mods/censusplus_v120010a/copycentables.php
line 971: %copyfile: cpaddimage.php  not copied
Source: mods/censusplus_v120010a/cpaddimage.php
line 972: %copyfile: cpcheck_tables.php  not copied
Source: mods/censusplus_v120010a/cpcheck_tables.php
line 973: %copyfile: cpcreate.php  not copied
Source: mods/censusplus_v120010a/cpcreate.php
line 974: %copyfile: cpcreateindices.php  not copied
Source: mods/censusplus_v120010a/cpcreateindices.php
line 975: %copyfile: cpdelete.php  not copied
Source: mods/censusplus_v120010a/cpdelete.php
line 976: %copyfile: cpdisplay.php  not copied
Source: mods/censusplus_v120010a/cpdisplay.php
line 977: %copyfile: cpdroptables.php  not copied
Source: mods/censusplus_v120010a/cpdroptables.php
line 978: %copyfile: cpfindID.php  not copied
Source: mods/censusplus_v120010a/cpfindID.php
line 979: %copyfile: cpfind2linkID.php  not copied
Source: mods/censusplus_v120010a/cpfind2linkID.php
line 980: %copyfile: cphouseholdupdate.php  not copied
Source: mods/censusplus_v120010a/cphouseholdupdate.php
line 981: %copyfile: cpinclude.php  not copied
Source: mods/censusplus_v120010a/cpinclude.php
line 982: %copyfile: cplinkID.php  not copied
Source: mods/censusplus_v120010a/cplinkID.php
line 983: %copyfile: cploaddata.php  not copied
Source: mods/censusplus_v120010a/cploaddata.php
line 984: %copyfile: cpmakedir.php  not copied
Source: mods/censusplus_v120010a/cpmakedir.php
line 985: %copyfile: cpmakelabel.php  not copied
Source: mods/censusplus_v120010a/cpmakelabel.php
line 986: %copyfile: cpmakesummary.php  not copied
Source: mods/censusplus_v120010a/cpmakesummary.php
line 987: %copyfile: cpmaketables.php  not copied
Source: mods/censusplus_v120010a/cpmaketables.php
line 988: %copyfile: cpmakeveteran.php  not copied
Source: mods/censusplus_v120010a/cpmakeveteran.php
line 989: %copyfile: cpproccreate.php  not copied
Source: mods/censusplus_v120010a/cpproccreate.php
line 990: %copyfile: cpprochousehold.php  not copied
Source: mods/censusplus_v120010a/cpprochousehold.php
line 991: %copyfile: cpproclabel.php  not copied
Source: mods/censusplus_v120010a/cpproclabel.php
line 992: %copyfile: cpprocupdate.php  not copied
Source: mods/censusplus_v120010a/cpprocupdate.php
line 993: %copyfile: cpscrapeALL.php  not copied
Source: mods/censusplus_v120010a/cpscrapeALL.php
line 994: %copyfile: cpsearch.php  not copied
Source: mods/censusplus_v120010a/cpsearch.php
line 995: %copyfile: cpUSsummary.php  not copied
Source: mods/censusplus_v120010a/cpUSsummary.php
line 996: %copyfile: cpUSvet.php  not copied
Source: mods/censusplus_v120010a/cpUSvet.php
line 997: %copyfile: cpsummary.php  not copied
Source: mods/censusplus_v120010a/cpsummary.php
line 998: %copyfile: cpupdate.php  not copied
Source: mods/censusplus_v120010a/cpupdate.php
line 999: %copyfile: cpupdate_eventIDs.php  not copied
Source: mods/censusplus_v120010a/cpupdate_eventIDs.php
line 1000: %copyfile: cpupdate_label.php  not copied
Source: mods/censusplus_v120010a/cpupdate_label.php
line 1001: %copyfile: cpupdate_transid.php  not copied
Source: mods/censusplus_v120010a/cpupdate_transid.php
line 1002: %copyfile: cpxfamsearch.php  not copied
Source: mods/censusplus_v120010a/cpxfamsearch.php
line 1003: %copyfile: cpxsearch.php  not copied
Source: mods/censusplus_v120010a/cpxsearch.php
line 1004: %copyfile: cpxsearchlib.php  not copied
Source: mods/censusplus_v120010a/cpxsearchlib.php
line 1005: %copyfile: cpxtngsearch.php  not copied
Source: mods/censusplus_v120010a/cpxtngsearch.php
line 1006: %copyfile: dropcensustables.php  not copied
Source: mods/censusplus_v120010a/dropcensustables.php
line 1007: %copyfile: micro_cpinclude.php  not copied
Source: mods/censusplus_v120010a/micro_cpinclude.php
line 1008: %copyfile: simple_html_dom.php  not copied
Source: mods/censusplus_v120010a/simple_html_dom.php
line 1009: %copyfile: upgrade_cp_tables.php  not copied
Source: mods/censusplus_v120010a/upgrade_cp_tables.php
line 1010: %copyfile: upgrade_cp_summary.php  not copied
Source: mods/censusplus_v120010a/upgrade_cp_summary.php
line 1011: %copyfile: upgrade_cp_veteran.php  not copied
Source: mods/censusplus_v120010a/upgrade_cp_veteran.php
line 1012: %copyfile2: js/cenplus.js  not copied
Source: mods/censusplus_v120010a/cenplus.js
line 1013: %copyfile2: languages/English/cp_text.php  not copied
Source: mods/censusplus_v120010a/cp_text.php
line 1014: %copyfile2: languages/English-UTF8/cp_text.php  not copied
Source: mods/censusplus_v120010a/cp_text.php
line 1015: %copyfile2: img/cpi_icon.gif  not copied
Source: mods/censusplus_v120010a/cpi_icon.gif
line 1016: %copyfile2: img/cpicon.jpg  not copied
Source: mods/censusplus_v120010a/cpicon.jpg
line 1017: %copyfile2: img/cpsprite.jpg  not copied
Source: mods/censusplus_v120010a/cpsprite.jpg

  • code modifications specified: 25; modified: 0
  • file copies specified: 60; copied: 0
  • new files specified: 1; created: 0
  • new folders specified: 0; created: 0
  • errors: 1
 

Screen Shot 2020-03-21 at 3.50.34 PM.png

Link to comment
Share on other sites

Since you did not post the complete status column, I can only guess that there is an error before the lines you listed.

Files do not get copied if the mod is not installed.  The Cannot Install status indicates there is an error some place.

2 hours ago, zanger02 said:

errors: 1

especially, when it shows Errors : 1

Link to comment
Share on other sites

There is only one error according to the report window at the bottom. It doesn't appear to be an error before the lines I posted previously.

I didn't copy optional or verified lines to cut down on the amount pasted here. Sorry!
line 44: %target:@extensions/cp_settings.inc% file missing (optional) will ignore


line 118: %target:css/genstyle.css% verifiedline 238: %target:@templates/template1/css/templatestyle.css% file missing (optional) will ignore
line 261: %target:@templates/template4/css/templatestyle.css% file missing (optional) will ignore
line 282: %target:@templates/template5/css/templatestyle.css% file missing (optional) will ignore
line 326: %target:@templates/template9/css/templatestyle.css% file missing (optional) will ignore
line 359: %target:@templates/template10/css/templatestyle.css% file missing (optional) will ignore
line 385: %target:@templates/template11/css/templatestyle.css% file missing (optional) will ignore
line 416: %target:@templates/template13/css/templatestyle.css% file missing (optional) will ignore


line 446: %target:templates/template14/css/templatestyle.css% target file missing


line 474: %target:personlib.php% verified
line 477: %location:% #1 not installed
line 492: %location:% #2 not installed
line 512: %location:% #3 not installed
line 520: %location:% #4 not installed
line 529: %location:% #5 not installed
line 536: %target:admin_merge.php% verified
line 537: %location:% #1 not installed
line 555: %target:admin_main.php% verified
line 556: %location:% #1 not installed
line 563: %target:admin_leftbanner.php% verified
line 564: %location:% #1 not installed
line 573: %target:admin_secondmenu.php% verified
line 574: %location:% #1 not installed
line 581: %target:admin_secondary.php% verified
line 582: %location:% #1 not installed
line 691: %target:languages/English/cust_text.php% verified
line 692: %location:% #1 not installed
line 719: %target:languages/English-UTF8/cust_text.php% verified
line 720: %location:% #1 not installed
line 747: %target:customconfig.php% verified
line 748: %location:% #1 not installed
line 762: %target:admin_genconfig.php% verified
line 763: %location:% #1 not installed
line 773: %location:% #2 not installed
line 782: %target:admin_utilities.php% verified
line 783: %location:% #1 not installed
line 795: %target:admin_backup.php% verified
line 796: %location:% #1 not installed
line 804: %target:admin_optimize.php% verified
line 805: %location:% #1 not installed
line 813: %target:admin_restore.php% verified
line 814: %location:% #1 not installed
line 822: %target:deletelib.php% verified
line 825: %location:% #1 not installed
line 840: %location:% #2 not installed
line 848: %target:admin_deleteevent.php% verified
line 851: %location:% #1 not installed
line 867: %target:ajx_delete.php% verified
line 870: %location:% #1 not installed
line 878: %target:treelib.php% verified
line 880: %location:% #1 not installed


line 894: %newfile: ~extensions/cp_settings.inc not created


line 958: %copyfile: admin_censusplus.php  not copied
Source: mods/censusplus_v120010a/admin_censusplus.php
line 959: %copyfile: admin_cpcreate.php  not copied
Source: mods/censusplus_v120010a/admin_cpcreate.php
line 960: %copyfile: admin_cpdelete.php  not copied
Source: mods/censusplus_v120010a/admin_cpdelete.php
line 961: %copyfile: admin_cpdeleteselected.php  not copied
Source: mods/censusplus_v120010a/admin_cpdeleteselected.php
line 962: %copyfile: admin_cpedit.php  not copied
Source: mods/censusplus_v120010a/admin_cpedit.php
line 963: %copyfile: admin_cpimage.php  not copied
Source: mods/censusplus_v120010a/admin_cpimage.php
line 964: %copyfile: admin_cplinkIDs.php  not copied
Source: mods/censusplus_v120010a/admin_cplinkIDs.php
line 965: %copyfile: admin_cprestore.php  not copied
Source: mods/censusplus_v120010a/admin_cprestore.php
line 966: %copyfile: admin_cpscrape.php  not copied
Source: mods/censusplus_v120010a/admin_cpscrape.php
line 967: %copyfile: admin_cpupdate.php  not copied
Source: mods/censusplus_v120010a/admin_cpupdate.php
line 968: %copyfile: admin_cpxfamsearch.php  not copied
Source: mods/censusplus_v120010a/admin_cpxfamsearch.php
line 969: %copyfile: admin_cpxtngsearch.php  not copied
Source: mods/censusplus_v120010a/admin_cpxtngsearch.php
line 970: %copyfile: copycentables.php  not copied
Source: mods/censusplus_v120010a/copycentables.php
line 971: %copyfile: cpaddimage.php  not copied
Source: mods/censusplus_v120010a/cpaddimage.php
line 972: %copyfile: cpcheck_tables.php  not copied
Source: mods/censusplus_v120010a/cpcheck_tables.php
line 973: %copyfile: cpcreate.php  not copied
Source: mods/censusplus_v120010a/cpcreate.php
line 974: %copyfile: cpcreateindices.php  not copied
Source: mods/censusplus_v120010a/cpcreateindices.php
line 975: %copyfile: cpdelete.php  not copied
Source: mods/censusplus_v120010a/cpdelete.php
line 976: %copyfile: cpdisplay.php  not copied
Source: mods/censusplus_v120010a/cpdisplay.php
line 977: %copyfile: cpdroptables.php  not copied
Source: mods/censusplus_v120010a/cpdroptables.php
line 978: %copyfile: cpfindID.php  not copied
Source: mods/censusplus_v120010a/cpfindID.php
line 979: %copyfile: cpfind2linkID.php  not copied
Source: mods/censusplus_v120010a/cpfind2linkID.php
line 980: %copyfile: cphouseholdupdate.php  not copied
Source: mods/censusplus_v120010a/cphouseholdupdate.php
line 981: %copyfile: cpinclude.php  not copied
Source: mods/censusplus_v120010a/cpinclude.php
line 982: %copyfile: cplinkID.php  not copied
Source: mods/censusplus_v120010a/cplinkID.php
line 983: %copyfile: cploaddata.php  not copied
Source: mods/censusplus_v120010a/cploaddata.php
line 984: %copyfile: cpmakedir.php  not copied
Source: mods/censusplus_v120010a/cpmakedir.php
line 985: %copyfile: cpmakelabel.php  not copied
Source: mods/censusplus_v120010a/cpmakelabel.php
line 986: %copyfile: cpmakesummary.php  not copied
Source: mods/censusplus_v120010a/cpmakesummary.php
line 987: %copyfile: cpmaketables.php  not copied
Source: mods/censusplus_v120010a/cpmaketables.php
line 988: %copyfile: cpmakeveteran.php  not copied
Source: mods/censusplus_v120010a/cpmakeveteran.php
line 989: %copyfile: cpproccreate.php  not copied
Source: mods/censusplus_v120010a/cpproccreate.php
line 990: %copyfile: cpprochousehold.php  not copied
Source: mods/censusplus_v120010a/cpprochousehold.php
line 991: %copyfile: cpproclabel.php  not copied
Source: mods/censusplus_v120010a/cpproclabel.php
line 992: %copyfile: cpprocupdate.php  not copied
Source: mods/censusplus_v120010a/cpprocupdate.php
line 993: %copyfile: cpscrapeALL.php  not copied
Source: mods/censusplus_v120010a/cpscrapeALL.php
line 994: %copyfile: cpsearch.php  not copied
Source: mods/censusplus_v120010a/cpsearch.php
line 995: %copyfile: cpUSsummary.php  not copied
Source: mods/censusplus_v120010a/cpUSsummary.php
line 996: %copyfile: cpUSvet.php  not copied
Source: mods/censusplus_v120010a/cpUSvet.php
line 997: %copyfile: cpsummary.php  not copied
Source: mods/censusplus_v120010a/cpsummary.php
line 998: %copyfile: cpupdate.php  not copied
Source: mods/censusplus_v120010a/cpupdate.php
line 999: %copyfile: cpupdate_eventIDs.php  not copied
Source: mods/censusplus_v120010a/cpupdate_eventIDs.php
line 1000: %copyfile: cpupdate_label.php  not copied
Source: mods/censusplus_v120010a/cpupdate_label.php
line 1001: %copyfile: cpupdate_transid.php  not copied
Source: mods/censusplus_v120010a/cpupdate_transid.php
line 1002: %copyfile: cpxfamsearch.php  not copied
Source: mods/censusplus_v120010a/cpxfamsearch.php
line 1003: %copyfile: cpxsearch.php  not copied
Source: mods/censusplus_v120010a/cpxsearch.php
line 1004: %copyfile: cpxsearchlib.php  not copied
Source: mods/censusplus_v120010a/cpxsearchlib.php
line 1005: %copyfile: cpxtngsearch.php  not copied
Source: mods/censusplus_v120010a/cpxtngsearch.php
line 1006: %copyfile: dropcensustables.php  not copied
Source: mods/censusplus_v120010a/dropcensustables.php
line 1007: %copyfile: micro_cpinclude.php  not copied
Source: mods/censusplus_v120010a/micro_cpinclude.php
line 1008: %copyfile: simple_html_dom.php  not copied
Source: mods/censusplus_v120010a/simple_html_dom.php
line 1009: %copyfile: upgrade_cp_tables.php  not copied
Source: mods/censusplus_v120010a/upgrade_cp_tables.php
line 1010: %copyfile: upgrade_cp_summary.php  not copied
Source: mods/censusplus_v120010a/upgrade_cp_summary.php
line 1011: %copyfile: upgrade_cp_veteran.php  not copied
Source: mods/censusplus_v120010a/upgrade_cp_veteran.php
line 1012: %copyfile2: js/cenplus.js  not copied
Source: mods/censusplus_v120010a/cenplus.js
line 1013: %copyfile2: languages/English/cp_text.php  not copied
Source: mods/censusplus_v120010a/cp_text.php
line 1014: %copyfile2: languages/English-UTF8/cp_text.php  not copied
Source: mods/censusplus_v120010a/cp_text.php
line 1015: %copyfile2: img/cpi_icon.gif  not copied
Source: mods/censusplus_v120010a/cpi_icon.gif
line 1016: %copyfile2: img/cpicon.jpg  not copied
Source: mods/censusplus_v120010a/cpicon.jpg
line 1017: %copyfile2: img/cpsprite.jpg  not copied
Source: mods/censusplus_v120010a/cpsprite.jpg

  • code modifications specified: 25; modified: 0
  • file copies specified: 60; copied: 0
  • new files specified: 1; created: 0
  • new folders specified: 0; created: 0
  • errors: 1

 

Link to comment
Share on other sites

line 446: %target:templates/template14/css/templatestyle.css% target file missing

You evidently are missing the templatestyle.css for template14

I will update the next version of the mod to add

%fileoptional:%

after line 446 in the .cfg file.  You can copy line 417 and paste it after line 446.

Link to comment
Share on other sites

The mod does not care what template you are using but it modifies Template 14.  Youi evidently deleted the template14

Link to comment
Share on other sites

ok! I'll let you know if it doesn't work.

Do I need to create an extension folder?

line 44: %target:@extensions/cp_settings.inc% file missing (optional) will ignore

Link to comment
Share on other sites

TNG should have provided an Extension folder.  Look at Admin > Setup > General Settings in the Path and Folder section.  If you do not have an extension folder, whatever you renamed it to if you renamed it, you should be able to create one here.   The file missing (optional) will ignore just means that the Mod Manager will ignore that error because the cp_settings.ing file is either copied or created later.

Link to comment
Share on other sites

There is an extension folder. Just wasn't sure about the cp_settings_inc

Adding %fileoptional:%  worked. At least it shows ok to install.

Thanks for the help!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...