1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Rebuild thumbnails error

Discussion in 'Showcase Support' started by ibaker, Jun 7, 2014.

  1. ibaker

    ibaker Member AMS Showcase Pickem

    Hi Bob
    I just upgraded from 1.3 to 2.1.1 and receive an error when rebuilding the thumbnails:

    Error Info
    ErrorException: copy(/home/xxx/public_html/data/showcase/22/22642-f7e62ec175fcbd6f6b191f8e8fd828a6.jpg): failed to open stream: Permission denied - library/NFLJ/Showcase/CacheRebuilder/Thumbnail.php:86
    Generated By: Admin, A moment ago
    Stack Trace

    #0 [internal function]: XenForo_Application::handlePhpError(2, 'copy(/home/xxx...', '/home/xxx/pub...', 86, Array)
    #1 /home/xxx/public_html/library/NFLJ/Showcase/CacheRebuilder/Thumbnail.php(86): copy('/home/xxx/pub...', '/home/xxx/pub...')
    #2 /home/xxx/public_html/library/XenForo/ControllerHelper/CacheRebuild.php(26): NFLJ_Showcase_CacheRebuilder_Thumbnail->rebuild(0, Array, NULL)
    #3 /home/xxx/public_html/library/XenForo/ControllerAdmin/Tools.php(82): XenForo_ControllerHelper_CacheRebuild->rebuildCache(Array, 'http://www.recr...', 'admin.php?tools...', true)
    #4 /home/xxx/public_html/library/XenForo/FrontController.php(347): XenForo_ControllerAdmin_Tools->actionCacheRebuild()
    #5 /home/xxx/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #6 /home/xxx/public_html/admin.php(13): XenForo_FrontController->run()
    #7 {main}

    Request State

    array(3) {
    ["url"] => string(63) "http://www.recreationalflying.com/admin.php?tools/cache-rebuild"
    ["_GET"] => array(1) {
    ["tools/cache-rebuild"] => string(0) ""
    }
    ["_POST"] => array(5) {
    ["process"] => string(1) "1"
    ["caches"] => string(39) "[["ShowcaseThumbnails",{"batch":"10"}]]"
    ["position"] => string(1) "0"
    ["redirect"] => string(67) "http://www.recreationalflying.com/admin.php?tools/rebuild&success=1"
    ["_xfToken"] => string(8) "********"
    }
    }
     
  2. Bob

    Bob Developer Staff Member

    Simple fix... when ever you see a "Permission denied" in an error message, that means the folder/file permissions on the web server are not set correctly. In this case, you need to make sure the /data/showcase folders/files are set with the same permissions as everything else in /data
     
  3. ibaker

    ibaker Member AMS Showcase Pickem

    Thanks Bob, that fixed it...had to change them all to 777 the same as the attachments folder
     
    Bob likes this.
  4. Bob

    Bob Developer Staff Member

    super! Love it when its simple things :) Im heading to bed (2:30 AM here), but will be around in a few hours if you have any other issues.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.