Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Nov 2002
    Posts
    430

    Default Problem with gallery after phpsuexec install

    Does anybody know how to handle this problem? Two accounts using gallery doesn't work properly anymore after phpsuexec were installed on the server. I've successfully installed phpsuexec on another server and with practically no problems. On this second server there were only those two with problems (I'm lucky). I don't want to remove phpsuexec.
    What should be done to make gallery work with phpsuexec?

    Thanks
    John

    cPanel.net Support Ticket Number:

  2. #2
    Member Stefaans's Avatar
    Join Date
    Mar 2002
    Location
    Vancouver, Canada
    Posts
    445

    Default

    John, the few problems we have experienced with phpsuexec all related to permissions and ownership. I suggest you check the two acounts for the following:
    * All files should be owned by the relevant username, e.g. do a chown -R username:username /home/username/public_html/*
    * All php files should be chmod 755

    For additional error info, check your suexec_log and error_log.

    Good luck

    cPanel.net Support Ticket Number:

  3. #3
    Member
    Join Date
    Jul 2002
    Posts
    186

    Default

    It's actually pretty easy ...

    #cd /path/to/gallery
    #chown -R username.username *
    #sh ./secure.sh

    That should get it working, it's worked for all of my customers.

    cPanel.net Support Ticket Number:
    UNIX Sex
    {look;find;talk;grep;touch;finger;find;flex;unzip;mount;workbone;
    fsck;yes;gasp;fsck;yes;eject;umount;makeclean;zip;split;done;exit}

  4. #4
    Member
    Join Date
    Nov 2002
    Posts
    430

    Default

    Thanks both. I couldn't execute #sh ./secure.sh - it says no such file or directory. Prior to executing it I did a locate and were in the correct folder. Any ideas?

    John

    cPanel.net Support Ticket Number:

  5. #5
    Member
    Join Date
    Nov 2002
    Posts
    430

    Default

    I cd to the Gallery folder and this is what happens when I execute sh ./secure.sh - (secure.sh is in that folder):

    root@pegasus [/home/ntsuport/public_html/modules/Gallery]# sh ./secure.sh
    chmod: getting attributes of `setup\r': No such file or directory
    : command not found
    ./secure.sh: line 18: syntax error: unexpected end of file
    root@pegasus [/home/ntsuport/public_html/modules/Gallery]#


    John

    cPanel.net Support Ticket Number:

  6. #6
    Member
    Join Date
    Nov 2002
    Posts
    430

    Default

    Ops sorry, - double posted by hitting the refresh button.

  7. #7
    Member
    Join Date
    Nov 2002
    Posts
    43

    Default

    within the 'gallery' directory is there a 'setup' directory?...there should be unless deleted.

    Steve

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. Replies: 2
    Last Post: 10-26-2008, 12:26 PM
  2. How to install an application like Gallery?
    By ted_mooney_nj in forum New User Questions
    Replies: 3
    Last Post: 05-02-2007, 09:45 AM
  3. Gallery, exec and phpsuexec
    By humba in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-09-2007, 12:41 PM
  4. PHPSuexec Problem
    By webdave in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 01-24-2007, 10:02 AM
  5. phpsuexec/suexec compatable IMAGE GALLERY
    By ALapo in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-15-2003, 05:07 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube