www.webdeveloper.com
Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 58

Thread: main.php: missing parameter: is_superuser

  1. #16
    Join Date
    Feb 2010
    Posts
    32
    i reinstalled Apache and overwrite the PHP install folder. but the problem still there.

    i also noted that after i log into PMA a small message at the bottom appeared:

    The additional features for working with linked tables have been deactivated. To find out why click here.

    i open the link and it showed:

    Server: localhost
    $cfg['Servers'][$i]['pmadb'] ... not OK [ Documentation ]
    $cfg['Servers'][$i]['relation'] ... not OK [ Documentation ]
    General relation features: Disabled

    $cfg['Servers'][$i]['table_info'] ... not OK [ Documentation ]
    Display Features: Disabled

    $cfg['Servers'][$i]['table_coords'] ... not OK [ Documentation ]
    $cfg['Servers'][$i]['pdf_pages'] ... not OK [ Documentation ]
    Creation of PDFs: Disabled

    $cfg['Servers'][$i]['column_info'] ... not OK [ Documentation ]
    Displaying Column Comments: Disabled
    Browser transformation: Disabled

    $cfg['Servers'][$i]['bookmarktable'] ... not OK [ Documentation ]
    Bookmarked SQL query: Disabled

    $cfg['Servers'][$i]['history'] ... not OK [ Documentation ]
    SQL history: Disabled

    $cfg['Servers'][$i]['designer_coords'] ... not OK [ Documentation ]
    Designer: Disabled


    should this concern me?

  2. #17
    Join Date
    Jan 2009
    Posts
    3,346
    What kind of install had you done for MySQL?

  3. #18
    Join Date
    Feb 2010
    Posts
    32
    i used the config wizard with the standers settings if thats what you mean...

  4. #19
    Join Date
    Jan 2009
    Posts
    3,346
    Did you complete the config for PMA? Earlier versions didn't have it but the last few started using a configuration where you need to set it up before you use it.

  5. #20
    Join Date
    Feb 2010
    Posts
    32
    what do you mean?

  6. #21
    Join Date
    Jan 2009
    Posts
    3,346
    Well...when I first started using PMA you could just unzip it and go. Now you have to complete the configuration (web based) for it to function properly. Did you complete the configuration?

  7. #22
    Join Date
    Feb 2010
    Posts
    32
    i didnt use the web based configuration. i did however created a file named config.inc.php and pasted this :
    Code:
     <?php
    $cfg['blowfish_secret'] = 'ba17c1ec07d65003';  // use here a value of your choice
    
    $i=0;
    $i++;
    $cfg['Servers'][$i]['auth_type']     = 'cookie';
    ?>

  8. #23
    Join Date
    Jan 2009
    Posts
    3,346
    I would recommend using the web based configuration tool. If you insist using the manual process see the manual for the required values.

  9. #24
    Join Date
    Feb 2010
    Posts
    32
    i think i going to uninstall everything and install from the beginning with all the latest versions

  10. #25
    Join Date
    Feb 2010
    Posts
    32
    i reinstalled everything but i have a problem
    the server works fine until i add the lines to the httpd doc

    Code:
    LoadModule php5_module "D:/Program Files/PHP/php5apache2.dll"
    AddType application/x-httpd-php .php
    # configure the path to php.ini
    PHPIniDir "D:/Program Files/Apache Software Foundation/Apache2.2/conf"
    and then it refuses to work
    the php is version 5.3.1
    apache is 2.2.14
    mysql 5.1

    other wise i think everything is set fine
    Last edited by gkman; 02-11-2010 at 03:35 AM.

  11. #26
    Join Date
    Feb 2010
    Posts
    32
    never mined just found out that i needed to add
    Code:
    LoadFile "C:/Program Files/php/php5ts.dll"

  12. #27
    Join Date
    Feb 2010
    Posts
    32
    im now trying to instal PMa through the wizard like you rcommended
    but i am getting two messages:

    Bzip2
    Bzip2 compression and decompression requires functions (bzopen, bzcompress) which are unavailable on this system.

    and:

    Insecure connection
    You are not using a secure connection; all data (including potentially sensitive information, like passwords) is transferred unencrypted! If your server is also configured to accept HTTPS requests follow this link to use a secure connection.

    how do i fix this?

  13. #28
    Join Date
    Jan 2009
    Posts
    3,346
    You can ignore the secure connection as long as you aren't using a publically available address. The other problem means you need to enable the bzip module. Look in the php.ini file for the modules and remove the ; from in front of the desired module.

  14. #29
    Join Date
    Feb 2010
    Posts
    32
    i found the module and got rid of the problem but PMA still doesn't work. it take forever to load and then the page stays completely blank

    if it helps this is what my config.inc file looks like
    Code:
    <?php
    /*
     * Generated configuration file
     * Generated by: phpMyAdmin 3.2.5 setup script by Piotr Przybylski <piotrprz@gmail.com>
     * Date: Thu, 11 Feb 2010 17:17:08 +0200
     */
    
    /* Servers configuration */
    $i = 0;
    
    /* Server: localhost [1] */
    $i++;
    $cfg['Servers'][$i]['verbose'] = '';
    $cfg['Servers'][$i]['host'] = 'localhost';
    $cfg['Servers'][$i]['port'] = '';
    $cfg['Servers'][$i]['socket'] = '';
    $cfg['Servers'][$i]['ssl'] = true;
    $cfg['Servers'][$i]['connect_type'] = 'tcp';
    $cfg['Servers'][$i]['extension'] = 'mysqli';
    $cfg['Servers'][$i]['auth_type'] = 'cookie';
    $cfg['Servers'][$i]['user'] = 'root';
    $cfg['Servers'][$i]['password'] = 'XXXXXXX';
    
    /* End of servers configuration */
    
    $cfg['blowfish_secret'] = '4b741f1a68ab69.27588293';
    $cfg['DefaultLang'] = 'en-utf-8';
    $cfg['ServerDefault'] = 1;
    $cfg['UploadDir'] = '';
    $cfg['SaveDir'] = '';
    ?>

  15. #30
    Join Date
    Jan 2009
    Posts
    3,346
    Did you restart apache? Did apache give you any startup errors (i.e. module not found, etc)?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles