Campsite UBuntu 10.04 BUG error
  • HI I try 2 days to solve the problem and I go to explain here in short terms.

    1.- Ubuntu 10.04 have serious problems for use php 5.3 Normally all the users is working with the version downgrade of php 5.2

    2.- If you try to install campsite from the file campsite_3.4.2ubuntu1_i386.deb You get a error, because always ask for php5 version 5.3
    Error: Cannot install 'php5'
    I have already php5 but version 5.2

    3.- I try to install campsite from the normall sources in one server with APC cache
    [notice] Apache/2.2.14 (Ubuntu) DAV/2 SVN/1.6.6 mod_fcgid/2.3.4 Phusion_Passenger/2.2.14 PHP/5.2.10-2ubuntu6 with Suhosin-Patch mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations


    The installation is fine but you get a error at the end with the admin login

    a) The error is because the server can't read the javascript folder inside campsite installation

    a1.- Possible solution make a simlink , This solution not work and apache become exhaust

    a2.- Second possible solution use mod_rewrite and try to read javascrit directory. This solution also not work and apache get exhaust

    a3.- Heavy solution copy all the files of Javascrit folder in campsite installation in /user/share/javascript

    This solution work but is not really funny

    b) After is possible login with the solution a3 campsite always become block in the moment you try to make a new article

    How to solve install Campsite in Ubuntu 10.04?

    Thanks in advance






  • 6 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    hi Jacob,

    you need to open for edit file /etc/apache2/conf.d/javascript-common.conf and rename alias /javascript to any another name. After just run "sudo service apache2 reload"
  • This is ok
    uhmn not change nothing only login ok.
    If you go to add any article the page is waiting and waiting and never change
    Broken pipe: core_output_filter: writing data to the network
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    hm, I have installed Ubuntu 10.04 with php 5.3 and Campsite works w/o any issue. Could you try the latest campsite snapshot from git: http://github.com/sourcefabric/Campsite ?
  • Look you are really lucky. Because more of the user have bugs with php 5.3 in ubuntu 10.04
    Anyway I get a partial solution and is the next:


      edit file /etc/apache2/conf.d/javascript-common.conf and rename alias /javascript to any another name. After just run "sudo service apache2 restart"


    Second: Open the file .htaccess and change
    php_value output_buffering Off for
    php_value output_buffering On

    Now open the article and is possible edit and I believe all is working
    But I get a strain error in Apache
    [Mon Aug 30 22:15:51 2010] [crit] [client 82.29.17.56] (13)Permission denied: /var/www/httpdocs/javascript/yui/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://www.myserverXXX.org/admin/articles/edit.php?f_publica tion_id=0&f_issue_number=0&f_section_number=0&f_ article_number=2&f_language_id=1&f_language_selected =1
    [Mon Aug 30 22:15:51 2010] [crit] [client xx.29.1x.56] (13)Permission denied:

    I not have idea why call the file .htaccess because I not have any inside the folder javascript


  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    Jacob wrote on Tue, 31 August 2010 00:25

    Second: Open the file .htaccess and change
    php_value output_buffering Off for
    php_value output_buffering On

    very interesting. May be apache generates some error and when output_buffering is off it doesn't allow to pass content...

    Quote:

    But I get a strain error in Apache
    [Mon Aug 30 22:15:51 2010] [crit] [client 82.29.17.56] (13)Permission denied: /var/www/httpdocs/javascript/yui/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://www.myserverXXX.org/admin/articles/edit.php?f_publica tion_id=0&f_issue_number=0&f_section_number=0&f_ article_number=2&f_language_id=1&f_language_selected =1
    [Mon Aug 30 22:15:51 2010] [crit] [client xx.29.1x.56] (13)Permission denied:

    I not have idea why call the file .htaccess because I not have any inside the folder javascript

    Just one idea - apply recursively the permissions for www-data user
    sudo chown -R www-data:www-data ./campsite_folder



  • The problem with the Ubuntu and apache become solve with Ubuntu 10.04 64 Bits
    No bugs in apache and all working fine