Menu

Warning: main(UMA-mysql.inc.php):

Help
Anonymous
2004-04-12
2013-04-08
  • Anonymous

    Anonymous - 2004-04-12

    Aloha!
    A newbie question (forgive me in advance).
    What should I do after installing the mysql database and tables, and I get a
    "Warning: main(UMA-mysql.inc.php): failed to open stream: No such file or directory in C:\Program Files\Apache Group\Apache2\htdocs\perspectives_mockup\uma\mysql\index.php on line 30

    Fatal error: main(): Failed opening required 'UMA-mysql.inc.php' (include_path='.:../conf:../classes:') in C:\Program Files\Apache Group\Apache2\htdocs\uma\mysql\index.php on line 30" ?

    The include path isn't picking up the classes subdirectory.  I'm running PHP Version 4.3.2, on Apache 2.

    Mahalo!

     
    • Anonymous

      Anonymous - 2004-06-22

      i faced the the same problem 2...
      can't anybody help us??

       
    • netlynks

      netlynks - 2004-09-24

      The correct solution would be to do away with the 'mepath' functionality (used to set the include path) but if you want a quick fix I just pasted all the files into the same directory (i.e. copy and paste of classes and includes and tools)- this works and proves this is the problem!
      When I manage to get it to login I'll probably come back and look at a neater method - but it'll be a while so feel free to get there before me and explain why I can't login!
      cheers

       
    • netlynks

      netlynks - 2004-09-24

      Another thought for a possible fix:
      The path held in the various 'mepath' files gives a unix path. If you are in windows the slashes should be reversed

      a la manual:
      The format is like the system's PATH environment variable: a list of directories separated with a colon in Unix or semicolon in Windows.

      Example H-1. Unix include_path

      include_path=".:/php/includes"

      Example H-2. Windows include_path

      include_path=".;c:\php\includes"

       
    • sfdc12345

      sfdc12345 - 2006-02-28

      I had this same problem (on XP). I thought I changed the slashes, but that didn't seem to do anything.  I hard coded the paths to get it to work.  Ran head on into a different problem about not being able to set $this..I'll make a separte post.

      CM

       

Log in to post a comment.

MongoDB Logo MongoDB