Autocomplete Location Server error after install, unable to save location

Discussion in 'Solved' started by MacSeah, May 11, 2016.

  1. MacSeah

    MacSeah New Member Verified User

    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    0
    I have created an account with geoname and had it activated. but, in my site, it won't allow me to save location in my profile nor will it let me to register if I put the location field required.

    These are the 2 error logs I recieved:

    Server Error Log
    Error Info
    XenForo_Exception: Services_GeoNames not found. - library/Awedo/ACLocation/Library/Location.php:51
    Generated By: Unknown Account, 6 minutes ago
    Stack Trace
    #0 /home/undertable99/undertable.net/library/Awedo/ACLocation/Library/Location.php(832): Awedo_ACLocation_Library_Location->logError('Services_GeoNam...')
    #1 /home/undertable99/undertable.net/library/Awedo/ACLocation/Library/Location.php(982): Awedo_ACLocation_Library_Location->_getLocationData(1880251, 'en')
    #2 /home/undertable99/undertable.net/library/Awedo/ACLocation/Library/Location.php(504): Awedo_ACLocation_Library_Location->_getPreparedLocationData(1880251, 'en')
    #3 /home/undertable99/undertable.net/library/Awedo/ACLocation/Library/Location.php(657): Awedo_ACLocation_Library_Location->_isValidGeonameId(1880251)
    #4 /home/undertable99/undertable.net/library/Awedo/ACLocation/ControllerPublic/Register.php(37): Awedo_ACLocation_Library_Location->prepareSaveLocationData(Object(XenForo_Input))
    #5 /home/undertable99/undertable.net/library/XenForo/FrontController.php(351): Awedo_ACLocation_ControllerPublic_Register->actionRegister()
    #6 /home/undertable99/undertable.net/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #7 /home/undertable99/undertable.net/index.php(13): XenForo_FrontController->run()
    #8 {main}
    Request State
    array(3) {
    ["url"] => string(39) "http://undertable.net/register/register"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(16) {
    ["username"] => string(0) ""
    ["6224f9569d63e744fa63a987b06b49dc"] => string(7) "lulumea"
    ["fd8dead795bab86c0b9e10f1c412d29b"] => string(17) "tantalu@gmail.com"
    ["password"] => string(8) "********"
    ["f62224308f0f279df23ac3698fc04520"] => string(6) "011200"
    ["a4a4b21d3036a111885c880c32eb8ec2"] => string(6) "011200"
    ["location"] => string(9) "Singapore"
    ["f1313f0fa3224f119e80f4fe029b3d33"] => array(1) {
    ["genderfield1"] => string(7) "gender1"
    }
    ["custom_fields_shown"] => array(1) {
    [0] => string(12) "genderfield1"
    }
    ["39e36462de73f68aeeae9bc894f4aaa1"] => string(14) "Asia/Hong_Kong"
    ["g-recaptcha-response"] => string(953) "03AHJ_VuuL7-8L2HL9vSCjXyOb7Pyzdm2ti5SURLg2E_DpWIHtxmfyFR7FH06tiB1ipKxk4iiRdWXIedzM-bV4oUMiJ9Mmb6xJKN7hF-2mmk8IpMiIwktc-15p72LAhmlFwyyfgXbx5aX0xLk65f08jybYzRB7qUVrgj4mUOqBEQxkfc3smRg-Hf34U8yK2cPgOObDDCoSUO4xTKiGAw4w8awt7-TIzH1fLgu4ENEX0jHOfhBFRRdV_qUJTCfawD2VfAHSM6G2oyD-2GpuTlUXM6vBJD8yT4ox4EutwCf_PFNZAFth7qKULD9hxVaL4ux2xsI1NBozfwspTKkSSKlpRmw7VgyEvqB86VQDZBpBsm5suWL_uI5aJe5WkeqXnA5GN-eoPzyl5ainzslNZUw8s7GXFpdJvc_OxTbjrTxuwOTaACv3Q3EgDIUKEm__zyGAPS99TvvEIPx0lp8smTHcG-voYX0nwFmLz8Eg0DFT14zGc3Rs37hLRNT2AikBmynSNRXWSoUYaVYZTBMnPOuJCTjQ1p1OTD0cz6gdCASHdFn1PCs0r9dLNOF6erH_ej2Hcf8d1K1f-4Zn7_lddPo-ZULtdkWOmUIDSkTA8jbZZZ7OcyIYqVoER0RxyU6pcgh6r8lMIFazBeOFyc3PdFTaDo3DvktcEV7cn3NWxg1cjDohEzfVzJ1VR4ROmUqO1UVj4cTUR9tKr5MOviE-s8P5nxWg8OIZUu0HrVlCsJgadcRa-f8HWMrpZA229Dst_8pXhNRGwGqiOonqbut6yAF2LAt7ww04DvnwauXnC1_wMdwoIeHSwnnwRtE_asg4yj0OgNdjSaIvQ20TYvKzPEwwZhfYrWzs3X-CjOL2GQS9UD1VTqw3g-eX6mZqEt_GHsKB9uwODmcZG3x30b-fxLKyRZ6o82rI3bULY8q2R001gxhbB4WJ-VZYWZc"
    ["agree"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["reg_key"] => string(32) "6bcd4786c83aeab336eb981f2ca6e8e5"
    ["gnid"] => string(7) "1880251"
    ["selectedLocation"] => string(9) "Singapore"
    }
    }




    Server Error Log
    Error Info
    XenForo_Exception: Invalid Geoname ID supplied - library/Awedo/ACLocation/Library/Location.php:58
    Generated By: Unknown Account, 12 minutes ago
    Stack Trace
    #0 /home/undertable99/undertable.net/library/Awedo/ACLocation/Library/Location.php(663): Awedo_ACLocation_Library_Location->logVerboseError('Invalid Geoname...')
    #1 /home/undertable99/undertable.net/library/Awedo/ACLocation/ControllerPublic/Register.php(37): Awedo_ACLocation_Library_Location->prepareSaveLocationData(Object(XenForo_Input))
    #2 /home/undertable99/undertable.net/library/XenForo/FrontController.php(351): Awedo_ACLocation_ControllerPublic_Register->actionRegister()
    #3 /home/undertable99/undertable.net/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #4 /home/undertable99/undertable.net/index.php(13): XenForo_FrontController->run()
    #5 {main}
    Request State
    array(3) {
    ["url"] => string(39) "http://undertable.net/register/register"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(16) {
    ["username"] => string(0) ""
    ["6224f9569d63e744fa63a987b06b49dc"] => string(7) "lulumea"
    ["fd8dead795bab86c0b9e10f1c412d29b"] => string(17) "tantalu@gmail.com"
    ["password"] => string(8) "********"
    ["f62224308f0f279df23ac3698fc04520"] => string(6) "011200"
    ["a4a4b21d3036a111885c880c32eb8ec2"] => string(6) "011200"
    ["location"] => string(9) "Singapore"
    ["f1313f0fa3224f119e80f4fe029b3d33"] => array(1) {
    ["genderfield1"] => string(7) "gender1"
    }
    ["custom_fields_shown"] => array(1) {
    [0] => string(12) "genderfield1"
    }
    ["39e36462de73f68aeeae9bc894f4aaa1"] => string(14) "Asia/Hong_Kong"
    ["g-recaptcha-response"] => string(953) "03AHJ_VuuL7-8L2HL9vSCjXyOb7Pyzdm2ti5SURLg2E_DpWIHtxmfyFR7FH06tiB1ipKxk4iiRdWXIedzM-bV4oUMiJ9Mmb6xJKN7hF-2mmk8IpMiIwktc-15p72LAhmlFwyyfgXbx5aX0xLk65f08jybYzRB7qUVrgj4mUOqBEQxkfc3smRg-Hf34U8yK2cPgOObDDCoSUO4xTKiGAw4w8awt7-TIzH1fLgu4ENEX0jHOfhBFRRdV_qUJTCfawD2VfAHSM6G2oyD-2GpuTlUXM6vBJD8yT4ox4EutwCf_PFNZAFth7qKULD9hxVaL4ux2xsI1NBozfwspTKkSSKlpRmw7VgyEvqB86VQDZBpBsm5suWL_uI5aJe5WkeqXnA5GN-eoPzyl5ainzslNZUw8s7GXFpdJvc_OxTbjrTxuwOTaACv3Q3EgDIUKEm__zyGAPS99TvvEIPx0lp8smTHcG-voYX0nwFmLz8Eg0DFT14zGc3Rs37hLRNT2AikBmynSNRXWSoUYaVYZTBMnPOuJCTjQ1p1OTD0cz6gdCASHdFn1PCs0r9dLNOF6erH_ej2Hcf8d1K1f-4Zn7_lddPo-ZULtdkWOmUIDSkTA8jbZZZ7OcyIYqVoER0RxyU6pcgh6r8lMIFazBeOFyc3PdFTaDo3DvktcEV7cn3NWxg1cjDohEzfVzJ1VR4ROmUqO1UVj4cTUR9tKr5MOviE-s8P5nxWg8OIZUu0HrVlCsJgadcRa-f8HWMrpZA229Dst_8pXhNRGwGqiOonqbut6yAF2LAt7ww04DvnwauXnC1_wMdwoIeHSwnnwRtE_asg4yj0OgNdjSaIvQ20TYvKzPEwwZhfYrWzs3X-CjOL2GQS9UD1VTqw3g-eX6mZqEt_GHsKB9uwODmcZG3x30b-fxLKyRZ6o82rI3bULY8q2R001gxhbB4WJ-VZYWZc"
    ["agree"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["reg_key"] => string(32) "6bcd4786c83aeab336eb981f2ca6e8e5"
    ["gnid"] => string(7) "1880251"
    ["selectedLocation"] => string(9) "Singapore"
    }
    }

    Please advise.
     
  2. Thomas

    Thomas Add-on Developer Staff Member

    Messages:
    52
    Likes Received:
    8
    Trophy Points:
    10
  3. MacSeah

    MacSeah New Member Verified User

    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    0
    Indeed.. It works when I disable the options.

    I tried to install Services_Geonames via SSH but it says invalid

    parsePackageName(): invalid package name "Services_Geonames" in "Services_Geonames"

    Did I miss out anything?

    I am on dedicated dreamhost server FYI.
     
  4. Thomas

    Thomas Add-on Developer Staff Member

    Messages:
    52
    Likes Received:
    8
    Trophy Points:
    10
    You can try to install it with Pyrus. After you downloaded the .phar file enter:

    php pyrus.phar install pear/Services_Geonames
     
  5. Thomas

    Thomas Add-on Developer Staff Member

    Messages:
    52
    Likes Received:
    8
    Trophy Points:
    10
    Since at least Beta 7 this problem should not exist anymore as Service_Geonames is now integrated in the add-on. So I'll move this thread to „Resolved“..
     

Share This Page