[go: up one dir, main page]

Menu

Problem importing server resources

Help
2005-06-01
2013-03-20
  • Francois E Jaccard

    Hi,
    First, thanks for such a great program :)
    I managed to make it run under WinXP but I have a problem when importing the file currentresources_kauri.xml:
    Of course I changed the $file variable in swgcraftparser.php to reflect the server name (kauri).
    The problem is that it works when running from a browser but I get the following error when called directly (i.e. php swgcraftparser.php):
    Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\htdocs\sql.php on line 32

    Also, is there a way to have all resources in the database so that I can enter some not available from my inventory?

    Thanks.

     
    • Francois E Jaccard

      Addition to my previous message:
      I use the following versions of the programs:
      PHP 4.3.11 (cgi-fcgi) (built: Mar 30 2005 17:34:09)
      Copyright (c) 1997-2004 The PHP Group
      Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

      MySQL-4.1.12a
      Apache 2.0.54

       

Log in to post a comment.