jayat1familytree Posted January 16, 2018 Report Share Posted January 16, 2018 I updated my customconfig with some new links to the drop menus. But there must be an error somewhere because when I upload it to replace the file, I get the dreaded blank white page. Can someone take a look at this file and see what I am missing? Thanks, Jay customconfig.zip Quote Link to comment Share on other sites More sharing options...
Merv Posted January 16, 2018 Report Share Posted January 16, 2018 Hi Jay, It would be helpful to know which new links you have added to the menus. Otherwise, it is a matter of reverting to the old code and then adding the new links one at a time to find out which one is the culprit. Quote Link to comment Share on other sites More sharing options...
jayat1familytree Posted January 16, 2018 Author Report Share Posted January 16, 2018 Merv, Good point. I changed/added In the Find drop menu; $link_nr++; // increment the number for each additional link (1) $findmenulinks[$link_nr]['target'] = "1ft_searchtngvariables.php"; $findmenulinks[$link_nr]['icon'] = "img/search_icon.png"; $findmenulinks[$link_nr]['label_index'] = "1ftsearchtngvariables"; $findmenulinks[$link_nr]['admin'] = true; $link_nr++; // increment the number for each additional link (1) $findmenulinks[$link_nr]['target'] = "_proxy_exec.php?job=search_area.php"; $findmenulinks[$link_nr]['icon'] = "img/search_icon.png"; $findmenulinks[$link_nr]['label_index'] = "t99_fam_area_title"; in the More drop menu $link_nr++; // increment the number for each additional link (1) $custommenulinks[$link_nr]['target'] = "1ft_citiesandtowns.php"; $custommenulinks[$link_nr]['icon'] = "img/menu_place26x26.png"; $custommenulinks[$link_nr]['label_index'] = "1ft_cities_and_towns"; In the Info drop menu // Links for the INFO drop menu $link_nr=0; // increment the number for each additional link (1) $infomenulinks[$link_nr]['target'] = "extensions/fgw/fgw.php"; $infomenulinks[$link_nr]['icon'] = "img/help_icon.png"; $infomenulinks[$link_nr]['label_index'] = "1ft_submitinfo_data"; Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted January 16, 2018 Report Share Posted January 16, 2018 Jay, There is a Blank Pages article in the TNG Wiki Troubleshooting category that identifies common causes of the White Screen of Death. Normally the cause is a syntax error. You can use the PHP Syntax Checker to check a complete copy of your customconfig.php Open your customconfig.php file in Notepad++ or other ASCII editor (none of the Microsoft editors work) Select All Copy Paste the copied text in the PHP Syntax Checker Select the PHP version run the Check Quote Link to comment Share on other sites More sharing options...
theKiwi Posted January 16, 2018 Report Share Posted January 16, 2018 The problem is in line 75 of your file. You have $link_nr=++; // increment the number for each additional link (1) when it should be $link_nr++; // increment the number for each additional link (1) without the = sign Roger Quote Link to comment Share on other sites More sharing options...
jayat1familytree Posted January 16, 2018 Author Report Share Posted January 16, 2018 Roger and Ken, Thanks, Yes, that was the error... The php syntax check web site actually listed the error for that line as "unexpected ';' " which threw me off at first. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.