Discover Centmin Mod today
Register Now

vBulletin Loading Directory Wrong

Discussion in 'Forum software usage' started by computer19852007, Jun 30, 2014.

  1. computer19852007

    computer19852007 Member

    84
    8
    8
    Jun 25, 2014
    Ratings:
    +9
    Local Time:
    7:58 AM
    Centmin Mod 1.2.3-eva2000.06
    MariaDB 5.5.34
    Please help me

    I used vbulletin Suite 4.2 PL1, i view error log nginx, and i show:

    Code:
    2014/06/27 09:50:27 [error] 12760#0: *148255 open() "/home/nginx/domains/domain.vn/public/content/images/misc/navbit-home.png" failed (2: No such file or directory),
    2014/06/27 09:50:27 [error] 12760#0: *148256 open() "/home/nginx/domains/domain.vn/public/content/images/misc/facebook_login.gif" failed (2: No such file or directory),
    
    I check it, and it in Directory (do not have the directory content) "/home/nginx/domains/domain.vn/public/images/misc/facebook_login.gif"



    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,527
    12,211
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,780
    Local Time:
    10:58 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    make sure you uploaded all vB specific files and images to your account at that location, if it isn't vB default style specific it could be a custom vB style's referenced images, which you would need to upload too.
     
  3. computer19852007

    computer19852007 Member

    84
    8
    8
    Jun 25, 2014
    Ratings:
    +9
    Local Time:
    7:58 AM
    Centmin Mod 1.2.3-eva2000.06
    MariaDB 5.5.34
    I have used vB default style , i thinks problem rewrite rules?

    Thanks @eva2000


     
    Last edited: Jun 30, 2014
  4. eva2000

    eva2000 Administrator Staff Member

    54,527
    12,211
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,780
    Local Time:
    10:58 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    you're right it looks like rewrite rule

    as correct location is

    /images/misc/navbit-home.png

    but nginx is looking at

    /content/images/misc/navbit-home.png

    but looking at actual content articles not seeing broken images in browser developer tools on public side so could be some style/template reference on admin side for article pages ?

    work around could be copying all /public/images directory and contents to /public/content/images

    Code:
    cd /home/nginx/domains/domain.vn
    mkdir -p public/content
    cp -a public/images public/content/images