I have ftp access to server so where shud I keep the file "secured_constants.inc" because the doc says it has to be non web-accessible area.
Also whta paths should I give to other files for eg:
ADOdb, htmldoc.etc.
Looking at the info file http://foocut.com/info.php, can someone letme know
the path that should be put(eg shuould be an absolute url,or /public_html/directory name etc..
Please let me know.
Regards & Thanks
Yogesh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So it looks like you've installed mamook in your /public_html/mamook/ directory. The secured constants should be placed OUTSIDE of your /public_html/ directory. So, from your home directory, just make a new directory like /safe_spot/ and put your secured constants there. Then, in your released_constants.inc, point your secured constant path to /safe_spot/secured_constants.inc
2) What path should you put for your ADOdb and HTMLDOC? It all depends on where you've installed everything. So for example, if your ADOdb lives in /safe_spot/adodb/ then you would point it there.
In our secured_constants or release_constants files, whenever a variable contains PATH, like PATH_HTMLDOC in it, use paths relative to your filesystem, ie /public_html/mamook/. Whenever it says URL, then use a URL like http://www.foocut.com.
Hope that helps
-Chris Chan
Mamook Core Developer
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have made all the neccessary path mappings but I am still having this message
"main(misc/release_constants.inc) [function.main]: failed to open stream: No such file or directorymain() [function.include]: Failed opening 'misc/release_constants.inc' for inclusion (include_path='.;C:\php5\pear')main(PATH_ADODBadodb.inc.php) [function.main]: failed to open stream: No such file or directorymain() [function.include]: Failed opening 'PATH_ADODBadodb.inc.php' for inclusion (include_path='.;C:\php5\pear')DB_TYPE not defined. You must define this or use DB_DSN."
Please what do you think is wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to install mamook for the first time.
I have successfully setup the database and copied the sql to it.
When I try to run mamook, I get the following errors:
main(path/to/secured_constants.inc) [function.main]: failed to open stream: No such file or directorymain(path/to/secured_constants.inc) [function.main]: failed to open stream: No such file or directorymain(path/to/secured_constants.inc) [function.main]: failed to open stream: No such file or directorymain() [function.include]: Failed opening 'path/to/secured_constants.inc' for inclusion (include_path='.;c:\php4\pear')main(path/to/adodb/adodb.inc.php) [function.main]: failed to open stream: No such file or directory
Warning: error_log(path/to/logs/error.log) [function.error-log]: failed to open stream: No such file or directory in F:\hshome\raunharm\raunharman.in\mamook\misc\userErrorHandler.inc on line 97
main(path/to/adodb/adodb.inc.php) [function.main]: failed to open stream: No such file or directory
Warning: error_log(path/to/logs/error.log) [function.error-log]: failed to open stream: No such file or directory in F:\hshome\raunharm\raunharman.in\mamook\misc\userErrorHandler.inc on line 97
main(path/to/adodb/adodb.inc.php) [function.main]: failed to open stream: No such file or directory
Warning: error_log(path/to/logs/error.log) [function.error-log]: failed to open stream: No such file or directory in F:\hshome\raunharm\raunharman.in\mamook\misc\userErrorHandler.inc on line 97
main() [function.include]: Failed opening 'path/to/adodb/adodb.inc.php' for inclusion (include_path='.;c:\php4\pear')
Warning: error_log(path/to/logs/error.log) [function.error-log]: failed to open stream: No such file or directory in F:\hshome\raunharm\raunharman.in\mamook\misc\userErrorHandler.inc on line 97
DB_TYPE not defined. You must define this or use DB_DSN.
Please help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to install and got the following error at
http://foocut.com/mamook/mamook.php
I have ftp access to server so where shud I keep the file "secured_constants.inc" because the doc says it has to be non web-accessible area.
Also whta paths should I give to other files for eg:
ADOdb, htmldoc.etc.
Looking at the info file http://foocut.com/info.php, can someone letme know
the path that should be put(eg shuould be an absolute url,or /public_html/directory name etc..
Please let me know.
Regards & Thanks
Yogesh
Hi Yogesh,
Sorry for the late reply, I was away for a week.
1) Where should you keep secured_constants.inc?
So it looks like you've installed mamook in your /public_html/mamook/ directory. The secured constants should be placed OUTSIDE of your /public_html/ directory. So, from your home directory, just make a new directory like /safe_spot/ and put your secured constants there. Then, in your released_constants.inc, point your secured constant path to /safe_spot/secured_constants.inc
2) What path should you put for your ADOdb and HTMLDOC? It all depends on where you've installed everything. So for example, if your ADOdb lives in /safe_spot/adodb/ then you would point it there.
In our secured_constants or release_constants files, whenever a variable contains PATH, like PATH_HTMLDOC in it, use paths relative to your filesystem, ie /public_html/mamook/. Whenever it says URL, then use a URL like http://www.foocut.com.
Hope that helps
-Chris Chan
Mamook Core Developer
Hi Chris,
I have given the path as mentioned but now it shows a blank page without any errors.
Regards
Hi Yogesh,
Please take a few moments to explore the forums as many people will most likely have encountered similar issues that you are encountering.
For example, someone else had a problem with a blank page in Mamook, and it was resolved here:
https://sourceforge.net/forum/forum.php?thread_id=1340551&forum_id=438587
Cheers
-Chris Chan
I have made all the neccessary path mappings but I am still having this message
"main(misc/release_constants.inc) [function.main]: failed to open stream: No such file or directorymain() [function.include]: Failed opening 'misc/release_constants.inc' for inclusion (include_path='.;C:\php5\pear')main(PATH_ADODBadodb.inc.php) [function.main]: failed to open stream: No such file or directorymain() [function.include]: Failed opening 'PATH_ADODBadodb.inc.php' for inclusion (include_path='.;C:\php5\pear')DB_TYPE not defined. You must define this or use DB_DSN."
Please what do you think is wrong?
Hello,
So the short answer is that Mamook does not run on Windows.
The long answer and solution can be found here in an earlier thread:
http://sourceforge.net/forum/message.php?msg_id=3310240
Cheers
-Chris Chan
Mamook Core Developer
i am new to linux, i want some breef explanation about the mamook. if any one can help me regarding this where i can get exact explination.
Thanking you.
Hello,
What sort of explanation would you like?
Cheers
-Chris Chan
Mamook Core Developer
I am trying to install mamook for the first time.
I have successfully setup the database and copied the sql to it.
When I try to run mamook, I get the following errors:
main(path/to/secured_constants.inc) [function.main]: failed to open stream: No such file or directorymain(path/to/secured_constants.inc) [function.main]: failed to open stream: No such file or directorymain(path/to/secured_constants.inc) [function.main]: failed to open stream: No such file or directorymain() [function.include]: Failed opening 'path/to/secured_constants.inc' for inclusion (include_path='.;c:\php4\pear')main(path/to/adodb/adodb.inc.php) [function.main]: failed to open stream: No such file or directory
Warning: error_log(path/to/logs/error.log) [function.error-log]: failed to open stream: No such file or directory in F:\hshome\raunharm\raunharman.in\mamook\misc\userErrorHandler.inc on line 97
main(path/to/adodb/adodb.inc.php) [function.main]: failed to open stream: No such file or directory
Warning: error_log(path/to/logs/error.log) [function.error-log]: failed to open stream: No such file or directory in F:\hshome\raunharm\raunharman.in\mamook\misc\userErrorHandler.inc on line 97
main(path/to/adodb/adodb.inc.php) [function.main]: failed to open stream: No such file or directory
Warning: error_log(path/to/logs/error.log) [function.error-log]: failed to open stream: No such file or directory in F:\hshome\raunharm\raunharman.in\mamook\misc\userErrorHandler.inc on line 97
main() [function.include]: Failed opening 'path/to/adodb/adodb.inc.php' for inclusion (include_path='.;c:\php4\pear')
Warning: error_log(path/to/logs/error.log) [function.error-log]: failed to open stream: No such file or directory in F:\hshome\raunharm\raunharman.in\mamook\misc\userErrorHandler.inc on line 97
DB_TYPE not defined. You must define this or use DB_DSN.
Please help.