[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2987
  • Last Modified:

Phpmyadmin export error

Hello!

Got a problem with exporting my db's in phpmyadmin.
When i select the export option i get the following error

Fatal error: Call to undefined function __() in C:\xampp\phpMyAdmin\libraries\export\json.php on line 26

here is the file with line 26
 
<?php
/**
 * Set of functions used to build dumps of tables as JSON
 *
 */
if (! defined('PHPMYADMIN')) {
    exit;
}

/**
 *
 */
if (isset($plugin_list)) {
    $plugin_list['json'] = array(
        'text'          => 'JSON',
        'extension'     => 'json',
        'mime_type'     => 'text/plain',
        'options'       => array(
            array('type' => 'begin_group', 'name' => 'general_opts'),
            array(
                'type' => 'hidden',
                'name' => 'structure_or_data',
            ),
            array('type' => 'end_group')
        ),
        'options_text'  => __('Options'),
    );
} else {

Open in new window


Any id's ?
0
Th0R
Asked:
Th0R
1 Solution
 
MarioAlcaideCommented:
Hi,

You are calling a function called __(), using the parameter 'Options'. I think that's a code error, i would replace

__('Options')

with

'Options'

Please let me know if this works so I can help you if it doesn't.

Regards
0
 
InsoftserviceCommented:
i think so , its issue in php myadmin.
may i know the version your using or your trying it with xampp
0
 
Th0RAuthor Commented:
Thanks, replacing that worked like a charm !
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now