1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Cannot install or upgrade addons any more

Discussion in 'Troubleshooting and Problems' started by sweetpotato, Mar 4, 2014.

  1. sweetpotato

    sweetpotato Active Member

    Hi all,
    I just upgraded my site to XF 1.3 RC 1. After filtering some addons now I cannot install or upgrade any addon. When I try to install or upgrade addon it always says:
    "Please enter a valid file name. The requested file could not be read."
    Please help me to solve this.
  2. Liam W

    Liam W Well-Known Member

    What are the permissions for the library/ folders and files?

  3. sweetpotato

    sweetpotato Active Member

    Just change permissions of library, install, data, external data, js to 777 but no help.
  4. oman

    oman Well-Known Member

    Are you running any automatic add on installer of some sort?
  5. sweetpotato

    sweetpotato Active Member

    Now, I have no automatic add on installer
  6. sweetpotato

    sweetpotato Active Member

    Just upgraded to 1.3 RC2 but face the same problem.
    Any help please?
  7. Mike

    Mike XenForo Developer Staff Member

    Are you uploading a file or pointing it at a file on the disk? That error indicates that either the file doesn't exist or it simply couldn't be read (permissions issue). If you're uploading a file, this may indicate some issue with PHP's configuration to handle file uploads. If you're pointing it at a file, this could indicate a typo or a permission issue with the file.
  8. sweetpotato

    sweetpotato Active Member

    Thank you for your tip @Mike ,
    Just check it again and when I point to file on disk, It works. But I cannot uploading a file. I have made no change to PHP configuration since this error had not happened.
  9. Mike

    Mike XenForo Developer Staff Member

    Can you upload an avatar or an attachment?
  10. sweetpotato

    sweetpotato Active Member

    Yes, I can upload a file in a thread.
  11. sweetpotato

    sweetpotato Active Member

    Fixed after removing log in as user addon.
  12. Elizabeth

    Elizabeth Well-Known Member

    I'm getting the same error..
    "Please enter a valid file name. The requested file could not be read."
    And this is what is showing in my server error log:

    ErrorException: Undefined index: upload_file - library/XenForo/ControllerAdmin/AddOn.php:180
    Generated By: southernlady, Today at 6:44 PM
    Stack Trace
    #0 /home/bariatri/bariatricfacts.org/library/XenForo/ControllerAdmin/AddOn.php(180): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/bariatri/...', 180, Array)
    #1 /home/bariatri/bariatricfacts.org/library/XenForo/FrontController.php(347): XenForo_ControllerAdmin_AddOn->actionInstall()
    #2 /home/bariatri/bariatricfacts.org/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #3 /home/bariatri/bariatricfacts.org/admin.php(13): XenForo_FrontController->run()
    #4 {main}
    Request State
    array(3) {
    ["url"] => string(51) "http://bariatricfacts.org/admin.php?add-ons/install"
    ["_GET"] => array(1) {
    ["add-ons/install"] => string(0) ""
    ["_POST"] => array(3) {
    ["server_file"] => string(0) ""
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"

    I'm tying to reinstall the calendar addon...it was the only one I had to upgrade to a newer version today.

    I do NOT have the "log in as a user" addon installed so not sure why I am getting a similar error.

Share This Page