Jump to content
TNG Community
SwissGnome

Problem to install public_access_control v13.0.0 mod.

Recommended Posts

SwissGnome

I am running TNG v13.0 and am trying to install the public_access_control v13.0.0 mod. Mod manager tells me it cannot install:

image.png

The details listed in Mod Manager are:

line 35: %target:admin_genconfig.php% verified

line 36: %location:% #1 not installed
line 53: %location:% #2 not installed

line 319: %target:admin_updateconfig.php% verified

line 320: %location:% #1 not installed

line 365: %target:ahnentafel.php% verified

line 366: %location:% #1 not installed
line 386: %location:% #2 not installed
line 404: %location:% #3 not installed
line 425: %location:% #4 not installed
line 442: %location:% #5 not installed
line 459: %location:% #6 not installed
line 476: %location:% #7 not installed
line 494: %location:% #8 not installed
line 512: %location:% #9 not installed
line 530: %location:% #10 not installed
line 548: %location:% #11 not installed

line 571: %target:cemeteries.php% verified

line 572: %location:% #1 not installed

line 594: %target:descend.php% verified

line 595: %location:% #1 not installed
line 614: %location:% #2 not installed
line 631: %location:% #3 not installed

line 653: %target:descendtext.php% verified

line 654: %location:% #1 not installed
line 671: %location:% #2 not installed

line 692: %target:extrastree.php% verified

line 693: %location:% #1 not installed
line 712: %location:% #2 not installed
line 728: %location:% #3 not installed
line 744: %location:% #4 not installed

line 763: %target:familygroup.php% verified

line 764: %location:% #1 not installed
line 785: %location:% #2 not installed
line 804: %location:% #3 not installed
line 820: %location:% #4 not installed
line 836: %location:% #5 not installed
line 853: %location:% #6 not installed

line 873: %target:familychart.php% verified

line 874: %location:% #1 not installed
line 890: %location:% #2 not installed

line 910: %target:functions.php% verified

line 911: %location:% #1 not installed
line 927: %location:% #2 not installed
line 943: %location:% #3 not installed

line 981: %target:genlib.php% verified

line 982: %location:% #1 Bad target
line 998: %location:% #2 not installed
line 1014: %location:% #3 not installed
line 1030: %location:% #4 not installed
line 1046: %location:% #5 not installed
line 1062: %location:% #6 not installed

line 1080: %parameter:$xerxxShowSuggest:0

line 1087: %location:% #7 Bad target
line 1106: %location:% #8 not installed
line 1123: %location:% #9 not installed
line 1140: %location:% #10 not installed
line 1157: %location:% #11 not installed
line 1174: %location:% #12 not installed
line 1191: %location:% #13 Bad target
line 1211: %location:% #14 not installed
line 1228: %location:% #15 not installed
line 1245: %location:% #16 Bad target
line 1262: %location:% #17 Bad target
line 1280: %location:% #18 Bad target
line 1297: %location:% #19 not installed
line 1314: %location:% #20 not installed
line 1331: %location:% #21 Bad target
line 1349: %location:% #22 not installed
line 1371: %location:% #23 Bad target
line 1388: %location:% #24 Bad target
line 1405: %location:% #25 Bad target
line 1422: %location:% #26 Bad target
line 1438: %location:% #27 Bad target
line 1454: %location:% #28 not installed
line 1470: %location:% #29 not installed
line 1487: %location:% #30 not installed
line 1504: %location:% #31 not installed
line 1521: %location:% #32 not installed
line 1537: %location:% #33 not installed
line 1553: %location:% #34 not installed
line 1570: %location:% #35 not installed
line 1587: %location:% #36 not installed

line 1611: %target:getperson.php% verified

line 1612: %location:% #1 not installed
line 1628: %location:% #2 not installed
Regroup Person profile NOT installed, Conflict
line 1652: %location:% #3 not installed
line 1686: %location:% #4 not installed
line 1702: %location:% #5 not installed
line 1718: %location:% #6 not installed
line 1735: %location:% #7 not installed

line 1755: %target:globallib.php% verified

line 1756: %location:% #1 not installed
line 1772: %location:% #2 not installed
line 1791: %location:% #3 not installed
line 1807: %location:% #4 not installed

line 1826: %target:headstones.php% verified

line 1827: %location:% #1 not installed
line 1844: %location:% #2 not installed
line 1854: %location:% #3 not installed
line 1871: %location:% #4 not installed
line 1890: %location:% #5 not installed
line 1907: %location:% #6 not installed

line 1929: %target:mostwanted.php% verified

line 1930: %location:% #1 not installed

line 1951: %target:pedbox.php% verified

line 1952: %location:% #1 not installed
line 1968: %location:% #2 not installed
line 1984: %location:% #3 not installed

line 2007: %target:pedigree.php% verified

line 2008: %location:% #1 not installed
line 2028: %location:% #2 not installed
line 2045: %location:% #3 not installed
line 2062: %location:% #4 not installed

line 2082: %target:pedigreetext.php% verified

line 2083: %location:% #1 not installed
line 2100: %location:% #2 not installed
line 2117: %location:% #3 not installed

line 2135: %target:personlib.php% verified

line 2141: %location:% #1 not installed
line 2161: %location:% #2 not installed
line 2178: %location:% #3 not installed
line 2200: %location:% #4 not installed
line 2219: %location:% #5 not installed
line 2236: %location:% #6 not installed
line 2257: %location:% #7 not installed
line 2276: %location:% #8 not installed

line 2294: %parameter:$xerxxCollHideIcons:true

line 2300: %location:% #9 not installed
line 2322: %location:% #10 not installed
line 2339: %location:% #11 not installed
Mobile_Site_Enhancements NOT installed, Conflict 1
line 2360: %location:% #12 not installed
line 2403: %location:% #13 not installed
line 2422: %location:% #14 not installed
line 2445: %location:% #15 not installed
line 2468: %location:% #16 not installed
line 2486: %location:% #17 not installed
Mobile_Site_Enhancements NOT installed, Conflict 2
line 2507: %location:% #18 not installed
line 2530: %location:% #19 not installed
line 2599: %location:% #20 not installed
line 2620: %location:% #21 not installed
line 2638: %location:% #22 not installed
line 2658: %location:% #23 not installed

line 2737: %target:placesearch.php% verified

line 2738: %location:% #1 not installed
line 2754: %location:% #2 not installed
line 2771: %location:% #3 not installed

line 2784: %target:register.php% verified

line 2785: %location:% #1 not installed
line 2805: %location:% #2 not installed
line 2822: %location:% #3 not installed
line 2839: %location:% #4 not installed
line 2860: %location:% #5 not installed
line 2877: %location:% #6 not installed
line 2894: %location:% #7 not installed
line 2912: %location:% #8 not installed

line 2931: %target:showmap.php% verified

line 2932: %location:% #1 not installed
Mobile_Site_Enhancements NOT installed, Conflict 3
line 2952: %location:% #2 not installed
line 2990: %location:% #3 not installed
line 3006: %location:% #4 not installed
line 3023: %location:% #5 not installed
line 3040: %location:% #6 not installed
line 3050: %location:% #7 not installed
line 3068: %location:% #8 not installed
line 3103: %location:% #9 not installed
line 3121: %location:% #10 not installed
line 3139: %location:% #11 not installed
line 3165: %location:% #12 not installed
line 3182: %location:% #13 not installed

line 3204: %target:verticalchart.php% verified

line 3205: %location:% #1 not installed
line 3222: %location:% #2 not installed
line 3239: %location:% #3 not installed

line 3257: %target:whatsnew.php% verified

line 3258: %location:% #1 not installed

line 3272: %target:whatsnew.php% verified

line 3273: %location:% #1 not installed

line 3296: %target:bookmarks.php% verified

line 3297: %location:% #1 not installed

line 3316: %target:browsealbums.php% verified

line 3317: %location:% #1 not installed

line 3336: %target:browsemedia.php% verified

line 3337: %location:% #1 not installed

line 3356: %target:browsenotes.php% verified

line 3357: %location:% #1 not installed

line 3376: %target:browserepos.php% verified

line 3377: %location:% #1 not installed

line 3396: %target:browsesources.php% verified

line 3397: %location:% #1 not installed

line 3416: %target:gedform.php% verified

line 3417: %location:% #1 not installed

line 3436: %target:relateform.php% verified

line 3437: %location:% #1 not installed

line 3456: %target:relationship.php% verified

line 3457: %location:% #1 not installed

line 3476: %target:reports.php% verified

line 3477: %location:% #1 not installed

line 3496: %target:showalbum.php% verified

line 3497: %location:% #1 not installed

line 3516: %target:showmedia.php% verified

line 3517: %location:% #1 not installed

line 3536: %target:showrepo.php% verified

line 3537: %location:% #1 not installed

line 3556: %target:showreport.php% verified

line 3557: %location:% #1 not installed

line 3576: %target:showsource.php% verified

line 3577: %location:% #1 not installed

line 3596: %target:suggest.php% verified

line 3597: %location:% #1 not installed

line 3616: %target:timeline.php% verified

line 3617: %location:% #1 not installed

line 3641: %target:languages/English/cust_text.php% verified

line 3642: %location:% #1 not installed

line 3709: %target:languages/English-UTF8/cust_text.php% verified

line 3710: %location:% #1 not installed

line 3778: %target:@languages/Dutch/cust_text.php% verified

line 3780: %location:% #1 not installed

line 3848: %target:@languages/Dutch-UTF8/cust_text.php% verified

line 3850: %location:% #1 not installed

line 3919: %target:@languages/French/cust_text.php% verified

line 3921: %location:% #1 not installed

line 3990: %target:@languages/French-UTF8/cust_text.php% verified

line 3992: %location:% #1 not installed

line 4062: %target:@languages/German/cust_text.php% verified

line 4064: %location:% #1 not installed

line 4133: %target:@languages/German-UTF8/cust_text.php% verified

line 4135: %location:% #1 not installed

line 4203: %target:@languages/Swedish/cust_text.php% verified

line 4205: %location:% #1 not installed

line 4273: %target:@languages/Swedish-UTF8/cust_text.php% verified

line 4275: %location:% #1 not installed

line 4349: %copyfile2: img/xerxxNonotes.png  not copied
Source: mods/PublicAccessControl/xerxxNonotes.png
line 4350: %copyfile2: img/xerxxNoalbums.png  not copied
Source: mods/PublicAccessControl/xerxxNoalbums.png
line 4351: %copyfile2: img/xerxxNophotos.png  not copied
Source: mods/PublicAccessControl/xerxxNophotos.png
line 4352: %copyfile2: img/xerxxNodocuments.png  not copied
Source: mods/PublicAccessControl/xerxxNodocuments.png
line 4353: %copyfile2: img/xerxxNoheadstones.png  not copied
Source: mods/PublicAccessControl/xerxxNoheadstones.png
line 4354: %copyfile2: img/xerxxNohistories.png  not copied
Source: mods/PublicAccessControl/xerxxNohistories.png
line 4355: %copyfile2: img/xerxxNorecordings.png  not copied
Source: mods/PublicAccessControl/xerxxNorecordings.png
line 4356: %copyfile2: img/xerxxNovideos.png  not copied
Source: mods/PublicAccessControl/xerxxNovideos.png
line 4357: %copyfile2: img/xerxxNocitations.png  not copied
Source: mods/PublicAccessControl/xerxxNocitations.png
line 4358: %copyfile2: img/xerxxNomedia.png  not copied
Any ideas as to what is the problem?
 
Nick WIlkinson.

image.png

Share this post


Link to post
Share on other sites
SwissGnome

I should have added that if I install the regroup_person_profile and/or mobile_site mods then it compails that they are installed.

Nick Wilkinson

Share this post


Link to post
Share on other sites
XerxX

Hi Nick,

From Mobile Site Enhancements Wiki page:

If you install the Public Access Control mod, you must uninstall the Mobile Site Enhancements and install it after the Public Access Control mod

Also found in the Mod Conlicts table at the Public Access Control Wiki page.

HTH

Erik

Share this post


Link to post
Share on other sites
Ken Roy

Erik,

I thought I had previously resolved the conflicts in your Public Access Control mod where the Mobile Site Enhancements mod was concerned, unless something changed in TNG v13 and the conflict and install dependencies were re-introduced.

I do not use your Public Access Control mod but had updated it along with help from other TNG users when you were not available.

I may have to download your mod, but the conflict locations are not where I had resolved some issues before that show with yellow backgrounds in the status column location.

Note that some of my mod pages may also not have been fully updated for TNG v13,  so I will wait to hear whether there is still an install dependency with your Public Access Control mod, since I do not use it.

Share this post


Link to post
Share on other sites
Ken Roy

Nick,

The first couple of conflict locations you show all have to do with the pull down menu code in genlib.php

What modifications have you made to the TNG menus?

Share this post


Link to post
Share on other sites
XerxX

Ken,

If I install PAC mod first and ME second all seems good.

If I install ME first and PAC second, ME signals Psrtially Installed: Personlib.php loc #6 and Not installed on Showmap.php loc #1.

/Erik

 

Share this post


Link to post
Share on other sites
Ken Roy

Thanks Erik,

If you look at where Nick's Bad Targets are showing though, I think he has a different problem

Share this post


Link to post
Share on other sites
SwissGnome
2 hours ago, XerxX said:

Hi Nick,

From Mobile Site Enhancements Wiki page:

If you install the Public Access Control mod, you must uninstall the Mobile Site Enhancements and install it after the Public Access Control mod

Also found in the Mod Conlicts table at the Public Access Control Wiki page.

HTH

Erik

The Mobile Site Enhancements is not installed.

Share this post


Link to post
Share on other sites
SwissGnome
1 hour ago, Ken Roy said:

Nick,

The first couple of conflict locations you show all have to do with the pull down menu code in genlib.php

What modifications have you made to the TNG menus?

None that I know. The only mods I have applied are as in the screen shot in the first post.

Nick.

Share this post


Link to post
Share on other sites
Ken Roy

Nick,

As Erik indicated if you use both the Mobile Site Enhancements and the Public Access Control mod, you must install the Mobile Site Enhancements mod first

Share this post


Link to post
Share on other sites
tngrlkrz

Perhaps you should post your genlib.php so we can see what's in those locations of  'bad targets'.  Could be a 'dirty' module.  If you uninstall all mods does the Public Access Control mod status become 'OK to install'?

Share this post


Link to post
Share on other sites
SwissGnome
5 hours ago, tngrlkrz said:

Perhaps you should post your genlib.php so we can see what's in those locations of  'bad targets'.  Could be a 'dirty' module.  If you uninstall all mods does the Public Access Control mod status become 'OK to install'?

Ron. 

If I uninstall all mods it still cannot install:

image.png

My config.php is attached.

Admin Note - I have removed the attached config.php file - it is a VERY bad idea to post them publicly as they contain the userID and password and other things needed to access your database, and if so inclined would allow someone to do bad things to it - Roger.

 

 

Share this post


Link to post
Share on other sites
SwissGnome
1 hour ago, Ken Roy said:

Nick,

As Erik indicated if you use both the Mobile Site Enhancements and the Public Access Control mod, you must install the Mobile Site Enhancements mod first

Ken.

If I install the Mobile Site Enhancements mod first it complains that the the Mobile Site Enhancements mod is installed.

If I delete the Mobile Site Enhancements mod first it complains that the the Mobile Site Enhancements mod is not installed.

Can't win.

Nick

Share this post


Link to post
Share on other sites
SwissGnome

I meant to attach my genlib.php and not cofig.php...😡

genlib.php

Share this post


Link to post
Share on other sites
XerxX

Hi, I'm back. (I was invited to a "distanced" dinner. How can I refuse?)

 

1 hour ago, Ken Roy said:

As Erik indicated if you use both the Mobile Site Enhancements and the Public Access Control mod, you must install the Mobile Site Enhancements mod first

Well, I actually indicated the opposite. PAC first, MSE second is okay.

 

16 minutes ago, SwissGnome said:

If I delete the Mobile Site Enhancements mod first it complains that the the Mobile Site Enhancements mod is not installed.

I think you see the yellow warnings 1 - 3. They will disappear when the "real" conflicts are removed. They come from the conditional jumps Modmanager does when/if MSE is installed or not.

 

I will check your file and also the errors I found (see above). But that may have to wait until tomorrow as I'm actually not really sober ;-)

Best regards,

Erik

Share this post


Link to post
Share on other sites
Ken Roy

Nick,

The attached genlib.php conflict at location

7 hours ago, SwissGnome said:

line 982: %location:% #1 Bad target

does not match the released version of TNG v13.   Even the release candidate version of genlib.php contains

	global $rightbranch, $cms, $allow_ged, $emailaddr, $newbrowser, $tngprint, $flags, $sitever, $tngconfig;

which is what the Public Access Control mod is looking for.  Your attached version of genlib.php does not include the $tngconfig as a variable

Please download the Patch file for TNG v13 at the bottom of the download upgrade zips and then lets see where we stand.

Share this post


Link to post
Share on other sites
XerxX

Just a quick one to start with.

Your first error in genlib.php is at this location (#1)

%location:%
    global $rightbranch, $cms, $allow_ged, $emailaddr, $newbrowser, $tngprint, $flags, $sitever, $tngconfig;
%end:%

Your file has only:

    global $rightbranch, $cms, $allow_ged, $emailaddr, $newbrowser, $tngprint, $flags, $sitever;

/Erik

Share this post


Link to post
Share on other sites
SwissGnome

Erik, Ken.

Many thanks for your help. Installing the TNG v13 patch file has done the trick. All seems to be installed OK. I will check out the functioning tomorrow but I am sure all will be well.

Tahnks again.

Nick.

Share this post


Link to post
Share on other sites
tngrlkrz

Nick,

That's good...that the patch file fixed things, but it only contained TNG13 files that had changed since the prior TNG13 release.  It is possible some other files didn't get updated.  The genlib.php module should not have been TNG 12.3 version if you copied all the upgrade files.  Just be aware there could be some other issues...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×