Results 1 to 10 of 27

Thread: Failed To Find Flength File

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2008
    Posts
    29

    Default

    Here is the VirtualHost section for this domain. (i have replaced the actual domain/username)

    <VirtualHost 208.74.148.102:80>


    ServerName www.domain.com
    ServerAlias www.domain.com domain.com
    ServerAdmin [email protected]
    DocumentRoot /home/user/domains/domain.com/public_html
    ScriptAlias /cgi-bin/ /home/user/domains/domain.com/public_html/cgi-bin/

    UseCanonicalName OFF

    SuexecUserGroup user user
    CustomLog /var/log/httpd/domains/domain.com.bytes bytes
    CustomLog /var/log/httpd/domains/domain.com.log combined
    ErrorLog /var/log/httpd/domains/domain.com.error.log

    <Directory /home/user/domains/domain.com/public_html>
    Options +Includes -Indexes

    php_admin_flag engine ON
    <IfModule !mod_php6.c>
    php_admin_flag safe_mode OFF
    </IfModule>
    php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'

    </Directory>

    </VirtualHost>

    Thanks,

  2. #2
    Join Date
    Sep 2007
    Posts
    906

    Default

    It looks ok.

    Have you set path in cgi-bin/ubr_upload.pl ?
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  3. #3
    Join Date
    Nov 2008
    Posts
    29

    Default

    I have put the path to the folder templates_c there.

    There is a mssg there "# MUST BE DUPLICATED IN THE "UBR_INI.PHP" FILE" but I cannot find any UBR_INI.php file in my installation.

    D

  4. #4
    Join Date
    Nov 2008
    Posts
    29

    Default

    Quote Originally Posted by deshmukh View Post
    I have put the path to the folder templates_c there.

    There is a mssg there "# MUST BE DUPLICATED IN THE "UBR_INI.PHP" FILE" but I cannot find any UBR_INI.php file in my installation.

    D
    Never mind. Just checked. It has already been duplicated there.

    Still getting the same error.

    D

  5. #5
    Join Date
    Nov 2008
    Posts
    29

    Default

    Could really do with some help here please.

    D

  6. #6
    Join Date
    Sep 2007
    Posts
    906

    Default

    This can be a server permission related issue. php, perl scripts running as different user or some thing. Ask your server admin which system user runs perl and php scripts. By deault it is run by user nobody. There are option to run it as the user that owned the site (suexec). If php and perl are run by different users, there will be problem with finding length of the uploded file.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  7. #7
    Join Date
    Nov 2008
    Posts
    29

    Default

    Reply from host : I have disabled suexec on your machine and there is no change in the script behavior.

    Still no dice :(

  8. #8
    Join Date
    Nov 2008
    Posts
    29

    Default

    Bumping for help please

  9. #9
    Join Date
    Sep 2007
    Posts
    906

    Default

    It look like a DirectAdmin ubr upload problem. May be they run perl different way. In plesk, there is two ways, one mod_perl and other cgi. If set mod_perl it won't work.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

Bookmarks

Posting Permissions

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