How to update newscoop 3.5.X to newscoop 4
  • Hello,
    i copy only the instillation folder or i copy all data on my  folder?
  • 15 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
  • i have this error

    The website you are trying to view is currently down for maintenance.
    Normal service will resume shortly.


    how to fix?
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    please read carefully instruction: http://en.flossmanuals.net/newscoop-4-journalists-en-4-0/backup-and-upgrade/ (Running the upgrade script)


  • this my  .htaccess 
    RewriteEngine On

        RewriteCond %{REQUEST_URI} /+get_img$
        RewriteRule . get_img.php [L]

        RewriteCond %{REQUEST_URI} /+attachment/+
        RewriteRule . attachment.php [L]
        RewriteCond %{REQUEST_URI} !/+themes
        RewriteCond %{REQUEST_URI} !(/+plugins/[^/]*)?/+js
        RewriteCond %{REQUEST_URI} !\.php$
        RewriteCond %{REQUEST_URI} !\.html$
        RewriteCond %{REQUEST_URI} !\.css$
        RewriteCond %{REQUEST_URI} !\.js$
        RewriteCond %{REQUEST_URI} !\.ico$
        RewriteCond %{REQUEST_URI} !\.swf$
        RewriteCond %{REQUEST_URI} !\.mp3$
        RewriteCond %{REQUEST_URI} !\.swz$
        RewriteCond %{REQUEST_URI} !/+admin
        RewriteCond %{REQUEST_URI} !/+medien
        RewriteCond %{REQUEST_URI} !/+install
        RewriteCond %{REQUEST_URI} !(/+plugins/[^/]*)?/+css
        RewriteCond %{REQUEST_URI} !(/+plugins/[^/]*)?/+images
        RewriteCond %{REQUEST_URI} !/+videos
        RewriteRule . index.php [L]
        RewriteCond %{REQUEST_URI} !/+digital
        RewriteCond %{REQUEST_URI} .tpl$
        RewriteRule . index.php [L]
        RewriteCond %{REQUEST_URI} /+admin$|/+admin/+.*|/+admin-files
        RewriteRule . admin.php [L]
    and i have the same error 
    The website encountered an error while retrieving http://91.184.204.63/upgrade.php. It may be down for maintenance or configured incorrectly
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    see apache error log file. You have an error on running upgrade script
  • Failed opening required 'smarty/libs/Smarty.class.php' (include_path='/var/www/html/include:/var/www/html/classes:/var/www/html/classes/Extension:/var/www/html/template_engine/classes:/var/www/html/template_engine/metaclasses:/var/www/html/application/../library:/var/www/html/library:/var/www/html/include:.:/usr/share/pear:/usr/share/php') in /var/www/html/install/classes/CampTemplate.php on line 13

  • require_once(smarty/libs/Smarty.class.php): failed to open stream: No such file or directory in /var/www/html/install/classes/CampTemplate.php on line 13
    [Fri May 04 09:53:41 2012] [error] [client 91.184.206.235] PHP Fatal error:  require_once(): Failed opening required 'smarty/libs/Smarty.class.php' (include_path='/var/www/html/include:/var/www/html/classes:/var/www/html/classes/Extension:/var/www/html/template_engine/classes:/var/www/html/template_engine/metaclasses:/var/www/html/application/../library:/var/www/html/library:/var/www/html/include:.:/usr/share/pear:/usr/share/php') in /var/www/html/install/classes/CampTemplate.php on line 13

  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    you have missed symlink from tarball
    you need to extract files from tarball on linux instead of linux:

    tar -zxvf ./tarball_name


  • ok i extract.
    how to move all file on /var/www/html/ for linux 

  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    cp -R /source/* /destination/

    for more details ask google for "linux copy how-to"
  • Upgrading the database from version 3.5.x, roll 2012-03-12...

    finished
    Administrator

    An They don't work again

  • The website you are trying to view is currently down for maintenance.
    Normal service will resume shortly.

  • Vote Up0Vote Down kwebkweb
    Posts: 43Member
    I have exactly the same problem, the site no longer appears, there is any message, I can go to the website or place to day, I was forced to return to the old version the backup I had made ​​before,

    my question is what may have put the program on days when it is not yet ready for updates and if so how to fix my problem.
    ---

    where can I find the file "theme.xml" to be renamed?
    and rename it to what


    thank you

    ---

    Newscoop 3.5.3 "Bea", the open content management system for professional journalists. 
    © 2011 Sourcefabric o.p.s. Newscoop is distributed under GNU GPL v.3
    Post edited by kweb at 2012-05-07 18:40:14
  • any news?
  • Reply to @kweb:in your Newscoop 4.0 instance, go to Configure/Themes, and then in theme management go to the tab with your publication's name; then in 'actions' dropdown menu next to the theme which is used by your publication choose 'edit'. You will see two tabs, one with Theme settings and second with theme templates. On theme settings tab, check if correct templates are selected for opening front, section and article page.
    also go into templates and check how they are upgraded; for example, every call to static file in 4.0 should look like

    {{ url static_file="_css/main.css" }}

    so in template, instead of

    <link rel="stylesheet" href="templates/_css/style.css">

    you need to have

    <link rel="stylesheet" href="{{ url static_file='_css/style.css' }}">

    This url_static creates the correct path to file, which now depends on publication and theme assigned to it.
    --
    Ljuba Rankovic
    Senior Front End Developer, Sourcefabric
    ljuba.rankovic@sourcefabric.org

    http://www.sourcefabric.org
    http://www.twitter.com/Sourcefabric