Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » problems Saving and Publishing

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 2091 Views
  • schwerd
    Avatar
    Community Member
    1 Post

    problems Saving and Publishing Link to this post

    newbie here...installation successful according to install script.
    go to do first edit...when I hit Save or Save and Publish...it just runs forever...never stops and never give error message....so I have no idea what's going on or why it's failing...the icon spins and spins and never resolves..and the Save or Publish never happen.

    are there error messages somewhere??

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: problems Saving and Publishing Link to this post

    Do you have firebug installed? that would be handy for errors

  • christian
    Avatar
    Community Member
    6 Posts

    Re: problems Saving and Publishing Link to this post

    I've had the same problem.

    My solution was disabling the GoogleSitemap ping feature. When enabled, every time you hit save & publish, silverstripe sends a notice to google, so that they know to re read the sitemap.xml
    In my case, the webserver, silverstripe is running on, is behind a firewall which blocks all outgoing data.
    After disabling this feature in mysite/_config.php

    GoogleSitemap::DisableGoogleNotification();

    save & publish works fine and as fast as it should be.

    Perhaps this could also be a solution for you.

    Greetz

    Christian

  • Nadee
    Avatar
    Community Member
    12 Posts

    Re: problems Saving and Publishing Link to this post

    Thanks for the great question and answer. Resolved my problem.

  • evren
    Avatar
    Community Member
    37 Posts

    Re: problems Saving and Publishing Link to this post

    Hi;

    I need the same modification but couldnt find that string in _config.php
    Is that something about my release (2.2.2) or I'll add it manually?

    If yes something like that

    <?php

    global $project;
    $project = 'mysite';

    global $databaseConfig;
    $databaseConfig = array(
       "type" => "MySQLDatabase",
       "server" => "localhost",
       "username" => "username",
       "password" => "password",
       "database" => "database",
    );

    // Sites running on the following servers will be
    // run in development mode. See
    // http://doc.silverstripe.com/doku.php?id=devmode
    // for a description of what dev mode does.
    Director::set_dev_servers(array(
       'localhost',
       '127.0.0.1',
    ));

    // This line set's the current theme. More themes can be
    // downloaded from http://www.silverstripe.com/cms-themes-and-skin
    SSViewer::set_theme('blackcandy');

    GoogleSitemap::DisableGoogleNotification();

    ?>

    Thanks.

  • christian
    Avatar
    Community Member
    6 Posts

    Re: problems Saving and Publishing Link to this post

    Hi evren,

    you are right. Just put that line in your mysite/_config.php.

    This feature is enabled by defaut so you will not find an entry like GoogleSitemap::enable() or so.

  • evren
    Avatar
    Community Member
    37 Posts

    Re: problems Saving and Publishing Link to this post

    Thanks for your solution.

    Maybe your firewall matter gets attentions and it will be fixed to save the page even it can ping to google or not.

    2091 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.