I have successfully downloaded the portable version of couch cms for use on my wamp.
I have followed through all the steps as per the instructions and also logged myself in as a super-admin. Unfortunately, i am now generating an error upon visiting my main content page (index.php) at: localhost:8080/index.php and at localhost:8080.
error: Fatal error: Call to undefined function bindtextdomain() in W:\www\locale.php on line 24
the locale.php contains info from php gettext and i am thus curious if couch cms cannot support my site because of gettext. I intend to use the CMS for updating images mostly, not the text content.
locale.php
<?php
session_start();
if (isset($_GET["lang"])) {
$language = $_GET["lang"];
}
else if (isset($_SESSION["lang"])) {
$language = $_SESSION["lang"];
}
else {
$language = "en_US";
}
$_SESSION["lang"] = $language;
$folder = "locale";
$domain = "messages";
$encoding = "iso-8859-1";
$locale = $language.".".$encoding;
putenv("LANG=" . $language);
setlocale(LC_ALL, $language);
bindtextdomain($domain, $folder); // LINE 24
textdomain($domain);
bind_textdomain_codeset($domain, $encoding);
?>
Any assistance would be highly appreciated as i have already tried to un-install and re-install wamp but all that was in vain.
I have followed through all the steps as per the instructions and also logged myself in as a super-admin. Unfortunately, i am now generating an error upon visiting my main content page (index.php) at: localhost:8080/index.php and at localhost:8080.
error: Fatal error: Call to undefined function bindtextdomain() in W:\www\locale.php on line 24
the locale.php contains info from php gettext and i am thus curious if couch cms cannot support my site because of gettext. I intend to use the CMS for updating images mostly, not the text content.
locale.php
<?php
session_start();
if (isset($_GET["lang"])) {
$language = $_GET["lang"];
}
else if (isset($_SESSION["lang"])) {
$language = $_SESSION["lang"];
}
else {
$language = "en_US";
}
$_SESSION["lang"] = $language;
$folder = "locale";
$domain = "messages";
$encoding = "iso-8859-1";
$locale = $language.".".$encoding;
putenv("LANG=" . $language);
setlocale(LC_ALL, $language);
bindtextdomain($domain, $folder); // LINE 24
textdomain($domain);
bind_textdomain_codeset($domain, $encoding);
?>
Any assistance would be highly appreciated as i have already tried to un-install and re-install wamp but all that was in vain.