Menu

Problems only when adding new data

Help
Aaron DM
2004-08-22
2004-08-24
  • Aaron DM

    Aaron DM - 2004-08-22

    Hello,
    I have just installedthe bugtracker script on my server with having to do a modification for it to work on my server which is running php5
    // PHP5 with register_long_arrays off?
    if (!isset($HTTP_POST_VARS) && isset($_POST))
    {
       $HTTP_POST_VARS = $_POST;
       $HTTP_GET_VARS = $_GET;
       $HTTP_SERVER_VARS = $_SERVER;
       $HTTP_COOKIE_VARS = $_COOKIE;
       $HTTP_ENV_VARS = $_ENV;
       $HTTP_POST_FILES = $_FILES;
       if(isset($HTTP_SESSION_VARS)) {
       $HTTP_SESSION_VARS = $_SESSION;
       }
    }

    Just said that to let you know that tha'ts all iv done to the script.
    But now once i log on to the admin, and try to create a new project, this is the error i get

    DB Error: no such table
    REPLACE INTO gfxprobugs_project_seq VALUES (0) [nativecode=1146 ** Table 'gfxpro_bugs.gfxprobugs_project_seq' doesn't exist]

    Any clues? The tables are all there but non of them have _seq at the end of their names (if i add it, the script still won't work).
    http://sourceforge.net/account/login.php?return_to=%2Fforum%2Fforum.php%3Fforum_id%3D47358
    [logged in]
    help.
    Thanks

     
    • Aaron DM

      Aaron DM - 2004-08-22

      Nevermind, i had to create tables gfxprobugs_component_seq
      and etc with the row id int(10) AUTOINCREASEMENT
      or w/e :S but the installer didn't install it how come?

       
      • Benjamin Curtis

        Benjamin Curtis - 2004-08-23

        This is a problem that has turned up recently in postgres.   I need to adjust the database creation script to create the sequences manually, since for some reason they aren't being created properly automatically.

         
        • Nobody/Anonymous

          Hm, i cannot find the table structure in the dump file... maybe that's why their not created :D
          Its a simple fix

          Thanks.

           

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.