Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

problems Saving and Publishing


Go to End


7 Posts   3246 Views

Avatar
schwerd

Community Member, 1 Post

22 May 2008 at 1:05pm

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??

Avatar
Willr

Forum Moderator, 5523 Posts

22 May 2008 at 8:15pm

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

Avatar
Internet Marketing Services GmbH

Community Member, 6 Posts

22 May 2008 at 9:23pm

Edited: 22/05/2008 9:23pm

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

Avatar
Nadee

Community Member, 12 Posts

30 July 2008 at 5:34pm

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

Avatar
evren

Community Member, 37 Posts

21 October 2008 at 11:22am

Edited: 21/10/2008 11:23am

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.

Avatar
Internet Marketing Services GmbH

Community Member, 6 Posts

21 October 2008 at 7:06pm

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.

Avatar
evren

Community Member, 37 Posts

21 October 2008 at 10:33pm

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.