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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-06-22
i faced the the same problem 2...
can't anybody help us??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
i faced the the same problem 2...
can't anybody help us??
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
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"
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