socialpoint24 Posted February 14, 2018 Share Posted February 14, 2018 When I click on the domains tab on the admin panel for my client I get Oops! Something went wrong and we couldn't process your request. Please go back to the previous page and try again. Link to comment Share on other sites More sharing options...
brian! Posted February 14, 2018 Share Posted February 14, 2018 you're going to need to enable error reporting - that might as least give you (or us if you tell us) a clue as to what is causing the error... https://docs.whmcs.com/Enabling_Error_Reporting Link to comment Share on other sites More sharing options...
socialpoint24 Posted February 15, 2018 Author Share Posted February 15, 2018 ParseError: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ')' in /home/hosti223/public_html/clients/resources/domains/dist.additionalfields.php:474Stack trace:#0 /home/hosti223/public_html/clients/vendor/whmcs/whmcs-foundation/lib/Domains/AdditionalFields.php(0): WHMCS\Domains\AdditionalFields->fetch('dist.additional...')#1 /home/hosti223/public_html/clients/vendor/whmcs/whmcs-foundation/lib/Domains/AdditionalFields.php(0): WHMCS\Domains\AdditionalFields->loadFieldsData()#2 /home/hosti223/public_html/clients/vendor/whmcs/whmcs-foundation/lib/Domains/AdditionalFields.php(0): WHMCS\Domains\AdditionalFields->setTLD('.com')#3 /home/hosti223/public_html/clients/admin/clientsdomains.php(0): WHMCS\Domains\AdditionalFields->setDomain('randallelovesyo.. Link to comment Share on other sites More sharing options...
brian! Posted February 15, 2018 Share Posted February 15, 2018 have you edited the /resources/domains/dist.additionalfields.php file in any way ? have you tried uploading a fresh copy of that file from the full download of your installed version ?? Link to comment Share on other sites More sharing options...
socialpoint24 Posted February 15, 2018 Author Share Posted February 15, 2018 I added this to it. // .ORG $additionaldomainfields[".org"][] = array( "Name" => "IDN Language", "DisplayName" => "IDN Language", "LangVar" => "idnlang", "Type" => "dropdown", "Options" => "da,de,hu,is,ko,lv,lt,pl,es,sv", "Default" => "da", "Required" => "true", ); I can't download a fresh copy bc I'm on a reseller's account. Link to comment Share on other sites More sharing options...
brian! Posted February 15, 2018 Share Posted February 15, 2018 3 minutes ago, socialpoint24 said: I added this to it. you're not supposed to edit that file - if memory serves, it even says that in the comments header of the file itself. https://docs.whmcs.com/Additional_Domain_Fields Quote Adding a New Field Add a new entry into your custom /resources/domains/additionalfields.php file You can use the field formatting as found in the /resources/domains/dist.additionalfields.php file as a reference so undo any changes you made to dist.additionalfields.php and add them to the new file. Link to comment Share on other sites More sharing options...
socialpoint24 Posted February 15, 2018 Author Share Posted February 15, 2018 This is giving the error code. $additionaldomainfields['.se'][] = array('Name' => 'VATDisplayName' => 'VAT <sup style="cursor:help;" title="Required for EU companies not located in Sweeden">what\'s this?</sup>', array'Type'=> 'text', 'Size' => '20'); Link to comment Share on other sites More sharing options...
brian! Posted February 15, 2018 Share Posted February 15, 2018 that's in the default file and works fine for me in v7.4.2 using six & standard_cart $additionaldomainfields['.se'][] = array('Name' => 'VAT', 'DisplayName' => 'VAT <sup style="cursor:help;" title="Required for EU companies not located in Sweeden">what\'s this?</sup>', 'Type' => 'text', 'Size' => '20'); what are you using to edit the file? perhaps the format of the file is now wrong?? Link to comment Share on other sites More sharing options...
socialpoint24 Posted February 15, 2018 Author Share Posted February 15, 2018 Figured it out. Done away with the 2nd array, then the 2nd => before 'VAT Link to comment Share on other sites More sharing options...
socialpoint24 Posted February 15, 2018 Author Share Posted February 15, 2018 My question is how can my clients configure their DNS zones. I'm using ResellerClub. They offer DNS Mangement. Why isn't it showing on WHMCS? Link to comment Share on other sites More sharing options...
brian! Posted February 15, 2018 Share Posted February 15, 2018 13 minutes ago, socialpoint24 said: My question is how can my clients configure their DNS zones. hardly related to the rest of the thread! 14 minutes ago, socialpoint24 said: I'm using ResellerClub. They offer DNS Mangement. Why isn't it showing on WHMCS? where are you looking ? if applicable, it should be available from the domain profile page. Link to comment Share on other sites More sharing options...
Recommended Posts