Menu

#4275 (ok 4.1.8) Broken Link to php extension manual

4.1.6
fixed
broken link (1)
1
2014-02-22
2014-02-06
Dhananjay
No

Broken link to php manual.

On the index page of PMA, a link of php extensions manual is broken. (See the image attached.)

I suppose it happens because my system does not have any php extension or may be it is not able to find it from configuration files.

I explored the code and found that the mistake is here. In my system it prints $GLOBALS['cfg']['Server']['extension'] as NULL. So link generated is broken one.
In such a case it should put some text like None or something in place of broken link.

1 Attachments

Discussion

  • Dhananjay

    Dhananjay - 2014-02-06

    I've tried solving that error. See here

    Please give your feedback.

     
  • Marc Delisle

    Marc Delisle - 2014-02-06

    First, I would like to be able to reproduce this problem. How many servers are defined in your config.inc.php ?

     
  • Varun Agrawal

    Varun Agrawal - 2014-02-06

    I tried reproducing it a fresh clone of pma from github repository on a local WAMP stack. I am also getting "PHP extension" field empty

     
  • Varun Agrawal

    Varun Agrawal - 2014-02-06

    I noticed $cfg['Servers'][$i]['extension'] = 'mysqli'; is missing from /libraries/config.default.php

    It is causing this issue. Is this line removed intentionally from there?

     

    Last edit: Varun Agrawal 2014-02-06
  • Dhananjay

    Dhananjay - 2014-02-07

    I've attached my config.inc.php file.

    It does not have any mentions of number of servers, so it takes the default value.

     
  • Dhananjay

    Dhananjay - 2014-02-08

    @Marc Delisle : Were you able to to reproduce this problem. Should I issue a pull request for my solution ..??

     
  • Marc Delisle

    Marc Delisle - 2014-02-08

    Dhananjay: yes and yes.

     
  • Marc Delisle

    Marc Delisle - 2014-02-11
    • summary: Broken Link to php extenion manual --> Broken Link to php extension manual
    • assigned_to: Marc Delisle
     
  • Marc Delisle

    Marc Delisle - 2014-02-11
    • summary: Broken Link to php extension manual --> (ok 4.1.8) Broken Link to php extension manual
    • status: open --> resolved
    • Priority: 5 --> 1
     
  • Marc Delisle

    Marc Delisle - 2014-02-22
    • Status: resolved --> fixed