require(string_native.lib.php) fails

Bug #559429 reported by Chip Marshall
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
chive
Fix Released
High
Matthias Burtscher

Bug Description

I get the following AJAX error when attempting to perform SQL queries via Chive:

2010/04/09 13:19:45 [error] [php] require(string_native.lib.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory (/usr/home/vweb/2bithacker.net/donate/chive/protected/extensions/sqlquery/libraries/string.lib.php:39)

FreeBSD 6.2-RELEASE i386
Server: Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 PHP/5.2.4

Appears to only be included by protected/extensions/sqlquery/libraries/string.lib.php in the following block:

/**
 * Load proper code for handling input.
 */
if (defined('PMA_MULTIBYTE_ENCODING') || $GLOBALS['PMA_allow_mbstr']) {
    $GLOBALS['PMA_strpos'] = 'mb_strpos';
    $GLOBALS['PMA_substr'] = 'mb_substr';
    require 'string_mb.lib.php';
} else {
    $GLOBALS['PMA_strpos'] = 'strpos';
    $GLOBALS['PMA_substr'] = 'substr';
    require 'string_native.lib.php';
}

Related branches

David Roth (davrot)
Changed in chive:
assignee: nobody → David Roth (davrot)
importance: Undecided → High
milestone: none → 0.4.0
status: New → Triaged
Changed in chive:
assignee: David Roth (davrot) → Matthias Burtscher (mburtscher)
status: Triaged → Fix Committed
David Roth (davrot)
Changed in chive:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.