Fatal Error Call To Undefined Function Ming_setscale
gd drivers not workingAgile Board ExportXMLWordPrintable Details Type: Bug Status: Closed Priority: Medium Resolution: Won't Fix Affects Version/s: None Fix Version/s: 2007.1beta1 Component/s: Graph Labels: None Environment: Operating System: Debian Testing entity module PHP Version: 5.2.0-7 cgi Database and version: Browser (and version): Description I call to undefined function php am trying to use the non-svg drivers, with no success. The following code works as written in the original wordpress tutorial, but when I switch drivers to gd, it produces the error "Premature end of script headers: php5" in my apache log: title = 'Access statistics'; $graph->data['Access statistics'] = new ezcGraphArrayDataSet( array( 'Mozilla' => 19113, 'Explorer' => 10917, 'Opera' => 1464, 'Safari' => 652, 'Konqueror' => 474, ) ); $graph->data['Access statistics']->highlight['Opera'] = true; $graph->driver = new ezcGraphGdDriver(); $graph->render( 400, 150, 'tutorial_example_01.png' ); ?> If I try using the flash driver, by substituting this: $graph->driver = new ezcGraphGdDriver(); ...then there is no error in the apache log, but in the output within my browser I get: Fatal error: Call to undefined function ming_setscale() in /eb/apps/ezc/trunk/Graph/src/driver/flash.php on line 60 Thanks Matthew Activity Ascending order - Click to sort in descending order All Comments Work Log History Activity Transitions Hide Permalink Kore Nordmann added a comment - 21/Dec/06 8:48 PM These are two issues: a) Fatal error: Call to undefined function ming_setscale() in /../ezc/trunk/Graph/src/driver/flash.php on line 60 You need to compile and enable ext/ming for the ming driver. b) "Premature end of script headers: php5" This sounds like a segfault of your PHP-Script. To debug this please try: Running the script on your CLI, what happens? -> If it segfaults, please provide detailed information on your PHP version and a backtrace: -> http://bugs.php.net/bugs-generating-backtrace-win32.php -> http://bugs.php.net/bugs-generating-backtrace.php -> If it does not segfault please try to provide more information on your exact environment (OS, PHP Version, Apache Version, GD Version) and try to increase apaches verbosity to get a result from your error log. -> You can also try to generate a backtrace. Show Kore Nordmann
03:48 UTC From: jgwr at home dot com Assigned: Status: Not a bug Package: Ming related PHP Version: 4.0CVS-2001-10-30 OS: Debian Woody Private report: No CVE-ID: View Add Comment Developer Edit [2001-10-30 01:50 UTC] jgwr at home dot com This issue is also listed in the Debian bug tracking sytem- please look under the php4-ming package. When running a simple https://jira.ez.no/browse/EZC-9870 script (below- taken from opaque.net) I see the following: Warning: (null): Unable to initialize module Module compiled with debug=8, thread-safety=79 module API=1146191744 PHP compiled with debug=0, thread-safety=0 module API=20010901 These options need to match in /home/julz/public_html/test.php on line 2 Fatal error: Call to undefined function: ming_setscale() in /home/julz https://bugs.php.net/bug.php?id=13867 dl('php_ming.so'); Ming_setScale(20.0); $s = new SWFShape(); $f1 = $s->addFill(0xff, 0, 0); $f2 = $s->addFill(0xff, 0x7f, 0); $f3 = $s->addFill(0xff, 0xff, 0); $f4 = $s->addFill(0, 0xff, 0); $f5 = $s->addFill(0, 0, 0xff); $f = new SWFFont('Techno.fdb'); $s->setRightFill($f1); $s->setLine(2, 0x7f, 0, 0); $s->drawGlyph($f, '!'); $s->movePen($f->getWidth('!'), 0); $s->setRightFill($f2); $s->setLine(2, 0x7f, 0x3f, 0); $s->drawGlyph($f, '#'); $s->movePen($f->getWidth('#'), 0); $s->setRightFill($f3); $s->setLine(2, 0x7f, 0x7f, 0); $s->drawGlyph($f, '%'); $s->movePen($f->getWidth('%'), 0); $s->setRightFill($f4); $s->setLine(2, 0, 0x7f, 0); $s->drawGlyph($f, '*'); $s->movePen($f->getWidth('*'), 0); $s->setRightFill($f5); $s->setLine(2, 0, 0, 0x7f); $s->drawGlyph($f, '@'); $m = new SWFMovie(); $m->setDimension(320, 240); $i = $m->add($s); $i->scaleTo(2.0); $i->moveTo(160-$f->getWidth("!#%*@"), 120+$f->getAscent()); header('Content-type: application/x-shockwave-flash'); $m->output(); ?>/public_html/test.php on line 3 Debian (upstream?) versions: php4 4.0.99-3 php4-ming 0.2a.cvs200109 Script used: dl('php_ming.so'); Ming_setScale(20.0); $s = new SWFShape(); $f1 = $s->addFill(0xff, 0, 0); $f2 = $s->addFill(0xff, 0x7f, 0); $f3 = $s->addFill(0xff, 0xff, 0); $f4 = $s->addFill(0, 0xff, 0); $f5 = $s->addFill(0, 0, 0xff); $f = new SWFFont('Techno.fdb');
undefined function is_bbpress() [Resolved] Fatal error: Call to undefined function is_bbpress() zabadac @zabadac 6 months, 1 week ago I would appreciate some help https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-is_bbpress-1/ with this. This clash happens with the Avada theme, when the WP All In One Security plugin is activated, using a custom URL for login, but the issue does not arise when the plugin is deactivated. When visiting the /mydomain.com/wp-admin/ this error message is displayed. Fatal error: Call to undefined function is_bbpress() call to in /var/sites/s/mydomain.com/public_html/wp-content/themes/Avada/includes/class-avada-template.php on line 136 https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/ Viewing 10 replies - 1 through 10 (of 10 total) Plugin Contributor mbrsolution @mbrsolution 6 months, 1 week ago Hi, did you install the latest version 4.0.7? This issue is fixed in the latest version. You can read the fix added in 4.0.7 below. Added a call to undefined new action hook "aiopws_before_set_404" which triggers just before the AIOWPS sets a 404. (handy for cases when rename login page is used which affects some themes when accessing "wp-admin" directly) zabadac @zabadac 6 months, 1 week ago Thank you for your reply. I did the update to 4.0.7 via the WordPress admin backend, plugin updates. I have re-tested, and the error occurs for: /wp-login.php /wp-admin/ The does does not occur for: /wp-admin.php /wp-login/ Plugin Contributor mbrsolution @mbrsolution 6 months, 1 week ago Thank you for sharing your findings. The plugin developers will investigate further your issue. Kind regards zabadac @zabadac 6 months, 1 week ago You are welcome, I appreciate the support and trust you can find a solution. Kindest regards Plugin Author wpsolutions @wpsolutions 6 months, 1 week ago The main source of this issue in my opinion is that some themes try to do some admin-specific processing based on whether they see