PodcastGenerator / PodcastGenerator

Open Source Podcast Publishing Solution since 2006
http://www.podcastgenerator.net
GNU General Public License v3.0
584 stars 157 forks source link

Fatal error: Uncaught Error: Call to undefined function bindtextdomain() #312

Closed examplelewis closed 2 years ago

examplelewis commented 4 years ago

System Information Podcast Generator Version: 3.1 Webserver: Apache/2.4.43 PHP Version: PHP 7.2.32;

I use my PC to install PG, and PC Installed Windows 7

my phpinfo() phpinfo().zip

Podcast Generator Config

<?php
$podcastgen_version = "3.1"; // Version

$first_installation = 1596035837;

$installationKey = "9eRjBtKt";

$scriptlang = "en_US";

$url = "http://localhost/PodcastGenerator-3.1/PodcastGenerator/";

$absoluteurl = "C:\Apache24\htdocs\PodcastGenerator-3.1\PodcastGenerator/"; // The location on the server

$theme_path = "themes/default/";

$upload_dir = "media/"; // "media/" the default folder (Trailing slash required). Set chmod 755

$img_dir = "images/"; // (Trailing slash required). Set chmod 755

$feed_dir = ""; // Where to create feed.xml (empty value = root directory). Set chmod 755

$max_recent = "all"; // How many file to show in the home page

$recent_episode_in_feed = "All"; // How many file to show in the XML feed (1,2,5 etc.. or "All")

$episodeperpage = 10;

$enablestreaming = "yes"; // Enable mp3 streaming? ("yes" or "no")

$freebox = "yes"; // enable freely customizable box

$enablepgnewsinadmin = "yes";

$strictfilenamepolicy = "no"; // strictly rename files (just characters A to Z and numbers) 

$categoriesenabled = "yes";

$cronAutoIndex = 1; //Auto Index New Episodes via Cron

$cronAutoRegenerateRSS = 1; //Auto regenerate RSS via Cron

$indexfile = "index.php";    // Path of the index file

$podcastPassword = "";       // Password to protect the podcast generator webpages, this will NOT protect the audio or XML files. Leave blank to disable.

#####################
# XML Feed stuff

$podcast_title = "Podcast Title";

$podcast_subtitle = "Subtitle";

$podcast_description = "A little description of your podcast.";

$author_name = "Podcast Generator User";

$author_email = "podcastgenerator@example.com";

$itunes_category[0] = "Arts"; // iTunes categories (mainCategory:subcategory)
$itunes_category[1] = "";
$itunes_category[2] = "";

$link = "?name="; // permalink URL of single episode (appears in the <link> and <guid> tags in the feed)

$feed_language = "en";

$copyright = "All rights reserved";   // Your copyright notice (e.g CC-BY)

$feed_encoding = "utf-8";

$explicit_podcast = "no"; //does your podcast contain explicit language? ("yes" or "no")

$users_json = "{\"examplelewis\": \"\$2y\$10\$05hpWh8bqV0T.Vw4sq6xV.OCQFA4PE4cVVjV5zTflQwwQURxEfG1G\"}";

// END OF CONFIG

Description of your problem Fatal error: Uncaught Error: Call to undefined function bindtextdomain() in C:\Apache24\htdocs\PodcastGenerator-3.1\PodcastGenerator\core\translation.php:14 Stack trace: #0 C:\Apache24\htdocs\PodcastGenerator-3.1\PodcastGenerator\core\include.php(30): include() #1 C:\Apache24\htdocs\PodcastGenerator-3.1\PodcastGenerator\index.php(11): require('C:\Apache24\htd...') #2 {main} thrown in C:\Apache24\htdocs\PodcastGenerator-3.1\PodcastGenerator\core\translation.php on line 14

cvengler commented 4 years ago

You need PHP gettext to get it working. However keep in mind that the use of Windows is not tested