Page 1 of 2 1 2 LastLast
Results 1 to 15 of 22

Attachments issue, Experts please help

This is a discussion on Attachments issue, Experts please help within the Off-Topic & Chit Chat forums, part of the Focus on Members category; Hi, Its not a vbseo issue so I asked it in off-topic section. After moving my forum to a new ...

  1. #1
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times

    Attachments issue, Experts please help

    Hi,

    Its not a vbseo issue so I asked it in off-topic section.

    After moving my forum to a new dedicated server > BUT I am not sure if its a server issue or not (direct admin to plesk) I faced a strange problem, some of my users (almost my moderators) (who have uploaded so much attachments before) , are not able to upload files, they get this error attaching a file : " Upload of File Failed" .

    I have set unlimited upload size for them and there is no problem with the uploading in the vbulletin diagnostics section.

    I created a new moderator and there was no problem for the new account so I think this issue is not a UserGroup based.

    Do You have any suggestion about my BIG problem.


    I asked it at vb ticket system from vb support , But they didnt help (I think they havent faced this problem before. its their last reply :

    You said previously that this only happened after you moved servers - if you've copied the files and database over, then nothing has changed in your vBulletin installation.

    So, have you examined your server's error logs for around the times that you've tried uploading an attachment?
    and I told him :

    If it was a server issue , so why some of my users have this issue and there is no such thing for the others.


    Any Help is Appreciated.

    Regards,
    Ali.Ch.

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    If you're storing files in the filesystem, the uploads folder is probably chowned to the old server. Check the permissions on your filessystem.

  3. #3
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times
    it was the first thing that I did, the attachment main folder and all of the subfolders are 777.

    if it wasnt 777 no one wouldnt upload attachments.


    thanks for the reply.

    I am really confused about this issue :(

  4. #4
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Hello Ali,

    Do you have enabled on your new server the directive "open_basedir"?. If so, try to create a "/tmp" directory chmod'ed 777 on your site root and enable that option:

    AdminCP -> Settings -> Options -> Server Settings and Optimization Options -> Safe Mode Upload Enabled

    Then in the option below set the rute to the "/tmp" directory you created and try to reproduce the issue again.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  5. #5
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    chmod is different than chown... who is the OWNER of the directory?

  6. #6
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times
    Quote Originally Posted by Andrés Durán Hewitt View Post
    Hello Ali,

    Do you have enabled on your new server the directive "open_basedir"?. If so, try to create a "/tmp" directory chmod'ed 777 on your site root and enable that option:

    AdminCP -> Settings -> Options -> Server Settings and Optimization Options -> Safe Mode Upload Enabled

    Then in the option below set the rute to the "/tmp" directory you created and try to reproduce the issue again.
    Thanks for the reply,

    I tested it, but there is no differences. :(

    chmod is different than chown... who is the OWNER of the directory?
    would you please explain more Brian, coz My server support isnt available now so I have to do it myself. thanks so much.

    at the permission setting in Plesk's Filemanager , the permissions of all this groups are set to "rwx"
    Owner
    Group
    Others

  7. #7
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    That is all chmod settings.

    chown is the owner of the file, sometimes nobody. You may need to set it to your new server GUID like

    chown -R nobody /home/site/public/uploads/

    or to an actual user

    chown -R mylogin /home/site/public/uploads/

    look who owns the file system in ssh now, and set that directrly.subfolders to that same user as well.

  8. #8
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times
    oh I didnt know that,

    but there is so much of users who have this issue,

    I have to do it one by one ? or ? (sorry for the dummy question , I am a VET so please dont expect me much )

  9. #9
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    -R stands for recursive. That will traverse the entire directory of files and subfolders and it's files and all set them to the correct owner.

  10. #10
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times
    oh thanks so so much.
    just one more question, in this command what ssould I enter instead of nobody? :

    -R nobody /home/site/public/uploads/

    thanks again.

  11. #11
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    You need to use your proper user value
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  12. #12
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times
    thanks for the reply Mert.

    You mean my hosting user name ?

    ---------------
    There is something that I have to say, I am sure that the most powerful support and also the best support agents are at vbseo. I wish You the best .

    Regards

  13. #13
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    you can find this path in your phpinfo page

  14. #14
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times
    Thanks you Brian and Mert and all vbseo stuffs

  15. #15
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times
    Brian I used this command but no differences :(

    chown -R hosting-username /var/www/vhosts/domain.com/httpdocs/attachments

    please help :(

    its so strange to me coz some of my users are able to upload but some not.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Hello to all the VBSEO Experts
    By hotelexpert in forum Introduce Yourself
    Replies: 5
    Last Post: 02-12-2008, 02:31 PM
  2. A challenging CRR - need experts!
    By smitts in forum Custom Rewrite Rules
    Replies: 4
    Last Post: 08-27-2006, 11:43 PM
  3. Googlesense experts - help!
    By caliman in forum Ad Networks
    Replies: 8
    Last Post: 11-14-2005, 01:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •