Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cloning GS sites to new domains
#7
Is it just me or does every CHMOD error tell you it couldn’t ‘write configuration file’? Very annoying. This problem has nothing to do with gsconfig.php:

grassfrog Wrote:I still get an error message when I update anything in the CMS Settings page.

Is it only with settings or also when you update a page? The CHMOD error is thrown per the result of XMLsave():
Code:
function XMLsave($xml, $file) {
    $success = $xml->asXML($file) === TRUE;

    if (defined('GSCHMOD')) {
        return $success && chmod($file, GSCHMOD);
    } else {
        return $success && chmod($file, 0755);
    }
}
As you are saying the file is correctly saved the first part of its check must be true, leaving chmod() to be the problem. Can you check if the GetSimple is allowed the run chmod() on the server?
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply


Messages In This Thread
Cloning GS sites to new domains - by grassfrog - 2012-03-24, 12:54:11
RE: Cloning GS sites to new domains - by dblewett - 2013-04-11, 08:41:06
RE: Cloning GS sites to new domains - by shawn_a - 2013-04-11, 10:21:42
RE: Cloning GS sites to new domains - by shawn_a - 2013-04-11, 11:38:18
RE: Cloning GS sites to new domains - by shawn_a - 2013-04-11, 11:55:11
RE: Cloning GS sites to new domains - by shawn_a - 2013-04-11, 12:01:40
Cloning GS sites to new domains - by ccagle8 - 2012-03-24, 22:23:29
Cloning GS sites to new domains - by grassfrog - 2012-03-24, 23:12:30
Cloning GS sites to new domains - by marrco - 2012-03-24, 23:57:15
RE: Cloning GS sites to new domains - by hoemaco - 2019-09-03, 23:37:35
Cloning GS sites to new domains - by Mark Nielsen - 2012-03-25, 01:03:35
Cloning GS sites to new domains - by shawn_a - 2012-03-25, 01:25:43
Cloning GS sites to new domains - by Zegnåt - 2012-03-25, 01:33:14
Cloning GS sites to new domains - by grassfrog - 2012-03-25, 10:58:25
Cloning GS sites to new domains - by grassfrog - 2012-03-25, 12:17:03
Cloning GS sites to new domains - by Carlos - 2012-03-25, 17:03:20
Cloning GS sites to new domains - by grassfrog - 2012-03-26, 03:36:49
RE: Cloning GS sites to new domains - by jorre - 2013-03-21, 22:30:27



Users browsing this thread: 1 Guest(s)