Jump to content
TNG Community

TNG 13 Upgrade -- Lost Drop Down Menus


marcirish

Recommended Posts

Marc,

 

Just to be sure.

Did you do a full install or partial upgrade from a previous version.

I also see you use the new template. Is the same problem occuring when you use an older TNG template?

 

Rob

Link to comment
Share on other sites

1 hour ago, marcirish said:

I just upgraded to TNG 13 and everything seemed to go smoothly.  However, when I accessed my website: https://marcirish.us  the drop down menus no longer work.  I also have lost all the icons that used to show up when I went to the Admin page.

The menus are actually there, but they are empty - there's no text string or icon with them.

image.png

Perhaps one or more files didn't upload correctly - I'd try copying all of the files from the upgrade package to the site again and see if that fixes it.

Roger

Link to comment
Share on other sites

2 hours ago, Rob Severijns said:

Marc,

 

Just to be sure.

Did you do a full install or partial upgrade from a previous version.

I also see you use the new template. Is the same problem occuring when you use an older TNG template?

 

Rob

I did the upgrade install rather than a new install.  All of the templates have the same issue: the drop down doesn't bring up the menu of items available under that menu heading.

 

Marc

 

Link to comment
Share on other sites

15 hours ago, marcirish said:

the drop down menus no longer work

Marc

They work for me. While you have said they do not work on several templates, have you cleared the cache.

Or has this been resolved?

Link to comment
Share on other sites

TNG v13 is a major upgrade that changes CSS and JS files, therefore you need to do forced reloads on screens to bypass cache or you need to clear your cache

Link to comment
Share on other sites

Marc,

Most likely a timing issue.   I do not clear cache but do forced reloads on the screens that do not display correctly.   Since I also have more than one language in my language pull down list, I found that switching languages often causes the necessary reloads

Link to comment
Share on other sites

  • 2 weeks later...
Martin Kilkie

 until I read this thread I didn't notice that I have a variant. In my template13 I get all the drop downs except "info". I have cleared all caches and screens.

Link to comment
Share on other sites

Michel KIRSCH

Edit your config.php file and verify that your line

$tngconfig['menu'] = "0";

is well set to "0", and not to "2"

Michel

Link to comment
Share on other sites

Martin Kilkie

$tngconfig['menu'] does = 0

another symptom I discovered by accident is that the info menu appears when not logged in (on the login page) but not on any page when logged in, no matter who the login is.

Martin

Link to comment
Share on other sites

Michel KIRSCH

Just for info: when I upgrade for the first time,

I have many little problems. Disabling my adBlocker on my site

solves all the problems.

Michel

Link to comment
Share on other sites

Martin Kilkie

I found like theKiwi that the sourccode for a page does include the info drop down menu but not the lines inside it. The guide to the construction of a tng page says the dropdown menus come from genlib.php but I cannot see why they don't show (tried all the cache deleting, reloading etc). Remember a clue must be that the drop down shows when you click on it before logging in but not after.

here is the code from the login page which shows the drop down:

/ul>
  </li>
  <li><a href="#" class="menulink">Info</a>
  <ul class="last">
  <li><a href="whatsnew.php"><span class="menu-icon" id="whatsnew-icon"></span> <span class="menu-label">What's New</span></a></li>
  <li><a href="mostwanted.php"><span class="menu-icon" id="mw-icon"></span> <span class="menu-label">Most Wanted</span></a></li>
  <li><a href="reports.php"><span class="menu-icon" id="reports-icon"></span> <span class="menu-label">Reports</span></a></li>
  <li><a href="statistics.php"><span class="menu-icon" id="stats-icon"></span> <span class="menu-label">Statistics</span></a></li>
  <li><a href="browsetrees.php"><span class="menu-icon" id="trees-icon"></span> <span class="menu-label">Trees</span></a></li>
  <li><a href="browsebranches.php"><span class="menu-icon" id="branches-icon"></span> <span class="menu-label">Branches</span></a></li>
  <li><a href="browsenotes.php"><span class="menu-icon" id="notes-icon"></span> <span class="menu-label">Notes</span></a></li>
  <li><a href="browsesources.php"><span class="menu-icon" id="sources-icon"></span> <span class="menu-label">Sources</span></a></li>
  <li><a href="browserepos.php"><span class="menu-icon" id="repos-icon"></span> <span class="menu-label">Repositories</span></a></li>
  <li><a href="suggest.php?page=Login"><span class="menu-icon" id="contact-icon"></span> <span class="menu-label">Contact Us</span></a></li>
  </ul>
  </li>
  </ul>
  </div>
 

</div>

and here is the same code from the page after login

 

 
/ul>
  </li>
  <li><a href="#" class="menulink">Info</a>
  <ul class="last">
  </ul>
  </li>
  </ul>
  </div>
  </div>
  <div id="searchdrop" class="slidedown" style="display:none;"><a href="#" onclick="jQuery('#searchdrop').slideUp(200);return false;" style="float:right"><img src="img/tng_close.gif" alt=""/></a><span class="subhead"><strong>Search</strong> | <a href="searchform.php">Advanced Search</a> | <a href="famsearchform.php">Search Families</a> | <a href="searchsite.php">Search Site</a></span><br/><br/><form action="search.php" method="get">
 

 

as theKiwi says the drop down list is not populated? 

 

Can anyone narrow down the PHP which creates this HTML, perhaps some switch is causing the non inclusion?

 

Martin

Link to comment
Share on other sites

Martin Kilkie

HI Ken, what patch? Ive read an email somewhere from Darrin which mentioned one but the download page still just has 13.0

 

Martin

 

Link to comment
Share on other sites

3 minutes ago, Martin Kilkie said:

HI Ken, what patch? Ive read an email somewhere from Darrin which mentioned one but the download page still just has 13.0

The patch that is listed here on the TNG 13 Downloads page

image.png

Roger

Link to comment
Share on other sites

Martin Kilkie

they sneakily hid the patch in full sight 😅 

Got it now. Off to do the unpacking and uploading.

Link to comment
Share on other sites

Martin Kilkie

I was so excited that the annoying bug was going that I uploaded the patch without a backup. Now when I have another error. 

Fatal error: Uncaught Error: Call to undefined function getLangPart2() in /homepages/16/d387908500/htdocs/KILKIEFHS3/tng/getperson.php:86 Stack trace: #0 {main} thrown in /homepages/16/d387908500/htdocs/KILKIEFHS3/tng/getperson.php on line 86

The error is only shown when I call getperson.php from anywhere in the application. To my knowledge I have not modified getperson.php and I have uploaded the latest version in 13.0

it never rains but it pours!

Martin

PS the patch does cure the undocumented function in the drop down menus.

Link to comment
Share on other sites

Martin Kilkie

I uploaded getperson.php from the full version 13 and the error has gone. Must have been an old 12.3 version left around.

Would it help if the PHP files had version numbers in them?

Link to comment
Share on other sites

Just now, Martin Kilkie said:

I uploaded getperson.php from the full version 13 and the error has gone. Must have been an old 12.3 version left around.

You likely have other TNG13 files you didn't copy...very unlikely just one  file wasn't copied.  I would be wary that there might be others not upgraded as well.  If it were me, I would uninstall all mods and refresh all the files from the upgrade. As to version numbers...I would be afraid to even ask Darrin to manage the filenaming involved in that.    

Link to comment
Share on other sites

  • 2 weeks later...
Martin Kilkie

thanks for the suggestion.

 

sorry for not replying quicker.. I did copy all files again when I noticed one was missing - All from the full upgrade solved it.

 

martin 

Link to comment
Share on other sites

  • 2 months later...

I ran into a similar issue, the info menu would not open when I was logged in. I found the culprit it was the "open my page mod". When i uninstalled it worked fine.

So if you have mods installed that might be the reason.

On 10/8/2020 at 1:31 AM, Martin Kilkie said:

$tngconfig['menu'] does = 0

another symptom I discovered by accident is that the info menu appears when not logged in (on the login page) but not on any page when logged in, no matter who the login is.

Martin

 

Link to comment
Share on other sites

  • 1 month later...

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...