blank page @ http:newscoop
  • Hi guys,

    I'm having problems with my installation. After install I go to http:newscoop and get a blank page.

    Here is my apache /etc/apache2/sites-enabled

    <VirtualHost *:80>
    DocumentRoot /home/johngough/newscoop
    ServerName newscoop
    DirectoryIndex index.php
    <Directory /home/johngough/newscoop>
    Options -Indexes FollowSymLinks MultiViews
    AllowOverride all
    Order allow,deny
    Allow from all
    </Directory>
    </VirtualHost>

    I've extracted the tar ball to /johngough/newscoop screenshot of that is attached. I instaled mysql as per the floss manual.

    What logs should I attach for errors?

    Thanks so much
    j

  • 12 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    hi,
    please attach last messages from /var/log/apache2/error.log, access.log after trying http://newscoop
    also try http://newscoop/install/index.php
  • Hopefully it's not an issue if I jump into this old conversation. I have the same issue on another test installation. I am running both Airtime & Newscoop on the same system, both installations use unique vhost names and are in the /etc/hosts file. Airtime comes up fine.

    Here are the last lines from the apache error.log:
    [Wed Jun 22 12:33:17 2011] [error] [client 127.0.0.1] PHP Warning:  require_once(smarty/libs/Smarty.class.php): failed to open stream: No such file or directory in /var/lib/newscoop/install/classes/CampTemplate.php on line 13
    [Wed Jun 22 12:33:17 2011] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required 'smarty/libs/Smarty.class.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/lib/newscoop/install/classes/CampTemplate.php on line 13
    [Wed Jun 22 12:33:49 2011] [error] [client 127.0.0.1] PHP Warning:  require_once(smarty/libs/Smarty.class.php): failed to open stream: No such file or directory in /var/lib/newscoop/install/classes/CampTemplate.php on line 13, referer: http://forum.sourcefabric.org/index.php/t/3528/
    [Wed Jun 22 12:33:49 2011] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required 'smarty/libs/Smarty.class.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/lib/newscoop/install/classes/CampTemplate.php on line 13, referer: http://forum.sourcefabric.org/index.php/t/3528/
    
  • Vote Up0Vote Down Micz FlorMicz Flor
    Posts: 184Administrator
    yes, jumping into an old conversation is the right thing to do, this way the questions and answers stay in one thread. however, i can't help you with this issue. somebody will...
  • Vote Up0Vote Down Micz FlorMicz Flor
    Posts: 184Administrator
    actually, i might be able to help, if this is the same issue:
    Quote:
    you need to remove predefined javascript alias in the file
    /etc/apache2/conf.d/javascript-common.conf.
    Then just reload apache.

    taken from:
    http://forum.sourcefabric.org/index.php/mv/msg/1054/9156/#ms g_9156
  • Dear Alan,
    What Newscoop version is it ?
  • Hi guys

    The version is 3.5.2,installed from the apt.64studio deb repository. Looks like the install file is newscoop_3.5.2-1~maverick1_all.deb

    Micz, removing the javascript-common.conf link for apache did not help. I go to http://newscoop/ it redirects to http://newscoop/install/. I don't get a logon screen, just a blank page.

  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    hi Alan,

    I think the tar file could be more useful. Please try tarball from sourceforge instead: http://sourceforge.net/projects/newscoop/files/3.5.3/

    the installation instructions: http://en.flossmanuals.net/newscoop3journalists_en/command-l ine-installation/
  • Thanks Andrey

    You are right, it appears that the deb is incomplete. I have done an install from the tarball on another system and it does not have the same problem.

    The reason I tried the deb from 64studio was because I am trying to put together a simple Airtime install CD for community radio stations here in Guatemala and thought that newscoop might be a useful addition. Are there any plans for sourcefabric to put together a newscoop deb in their repository?
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Alan, there is a Newscoop .deb available on apt.sourcefabric.org but it requires the installation of several other packages. Andrey's suggestion to use the tarball is the best option for a straightforward install, for the time being.

    The Airtime install CD is also something that we're working on, please mail me (e.g. using the forum contact form) so we can help you with your project. Are you already in contact with Claudia at the Guatemala office?

    Cheers!

    Daniel
  • Thanks Daniel

    I'll take a look at the sourcefabric deb later this evening to see what the other requirements are. I've been apt-getting for 10 years now, so hopefully I should be able to figure it out!

  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Alan, the Newscoop 3.5.1 .deb from apt.sourcefabric.org should install cleanly, but it is not the latest update version (3.5.3).

    The unofficial packages on apt.64studio.com are a work in progress, towards submitting Newscoop to Debian and Ubuntu. See http://dev.sourcefabric.org/browse/CS-3117 for details of the remaining work for us to do there.

    Cheers!

    Daniel
  • Ah, I was going by the instructions in the newscoop3journailists.pdf chapter 30, which statesQuote:
    Ready made packages of Newscoop are available for Debian and Ubuntu GNU/Linux via secure apt. This is the recommended installation method for Newscoop, because it offers automatic updates and resolution of package dependencies.
    Further down, the document provides instructions for connecting to apt.64studio.com. Perhaps a note on the additional depedencies needs to be there as well?