Closed mnurmusa closed 7 years ago
Did you use make install/composer install?(do you have a vendor folder in your Ontowiki root?) - which instruction did you follow?
I did not install composer and there is no vendor folder. I follow instruction in ontowiki github
On Dec 5, 2016 18:38, "shinobu" notifications@github.com wrote:
Did you use make install/composer install?(do you have a vendor folder in your Ontowiki root?) - which instruction did you follow?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AKSW/OntoWiki/issues/413#issuecomment-264832953, or mute the thread https://github.com/notifications/unsubscribe-auth/AXQMYDeG5ihoTJfWyINu5g9LgL3qo9Xgks5rE_ebgaJpZM4LD6-u .
The instructions on github were outdated [though i updated them after seeing it]
this is a link to the actual documentation: http://docs.ontowiki.net/
you could try to use the make install
command and tell us, if it works afterwards.
@shinobu as @mnurmusa is writing, it is a Windows system. Could you please check the instructions regarding an installation on Windows? Afaik there is no make
for Windows.
as its true, that there is no standard make, you are theoretically able to install it through a gnu installer (though i'm unable to get that working by myself)
I might update the Documentation/check if the windows part has non make instructions.
I just rechecked, using the precompiled version, I have no problems starting it at all without anything to do by myself
using the source code version is a bit hacky - with or without make you need to have git and php in your path and cant really do anything except for installing vendor, as the other things we do in the makefile are NOT windows compatible (we need seperate commands for that) (though i'm unsure how important cleaning the cache is, i know that having the wrong access to the folders could be fatal).
@mnurmusa how did you Download your OntoWiki instance? for installing it on windows we recommend using the precompiled release. Otherwise you should look at the documentation I mentioned above
But for getting an OntoWiki installation running, aren't just (1) getting composer and then (2) composer.phar install
the necessary steps?
the makefile actually clears the cache and adds/restores 777 permission on them as well in the installation process - how necessary that is, is another question
Ok, I will try it. Thanks for your information
On Dec 8, 2016 22:45, "shinobu" notifications@github.com wrote:
@mnurmusa https://github.com/mnurmusa how did you Download your OntoWiki instance? for installing it on windows we recommend using the precompiled release. Otherwise you should look at the documentation I mentioned above
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AKSW/OntoWiki/issues/413#issuecomment-265772527, or mute the thread https://github.com/notifications/unsubscribe-auth/AXQMYGgwc3kNJVUevOOq1JoDI7FTzY-_ks5rGCYpgaJpZM4LD6-u .
I download the stable package from github. Then I extract it and copy paste it in Apache's htdocs folder
On Dec 8, 2016 22:45, "shinobu" notifications@github.com wrote:
@mnurmusa https://github.com/mnurmusa how did you Download your OntoWiki instance? for installing it on windows we recommend using the precompiled release. Otherwise you should look at the documentation I mentioned above
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AKSW/OntoWiki/issues/413#issuecomment-265772527, or mute the thread https://github.com/notifications/unsubscribe-auth/AXQMYGgwc3kNJVUevOOq1JoDI7FTzY-_ks5rGCYpgaJpZM4LD6-u .
I have tried to install using composer using this command composer create-project aksw/ontowiki --stability dev
but there is an error when it try to install zend framework
[ErrorException] ZipArchive::extractTo(C:\Program Files\Apache24\htdocs\ontowiki/vendor/composer/2afd36a3/zendframework-zf1-a90f3a8\library\Zend\Service\WindowsAzure\CommandLine\Scaffolders\DefaultScaffolder\resources\PhpOnAzure.Web\resources\WebPICmdLine/Microsoft.Web.PlatformInstaller.UI.dll): failed to open stream: Invalid argument
I do not know where is the exact error. It is from ontowiki composer.lock file or it is from zend framework.
so if you have downloaded the package (the upper tar.gz one of the 3) and you extract it into your htdocs apache folder it actually should work.
I think there is some issue with composer. Please try to install zendframework in a new directory.
just a plain directory and then run composer require zendframework/zendframework1
does this bring up the same error? maybe also running composer clear-cache
changes something.
And you could also run composer selfupdate
.
Hi all
This problem was solved. I need to to install Composer and run composer install
to install dependencies. After run this command, composer installing some dependencies and autoload.php file that missing before.
Problems with zendframework seem to be its own problem and had been fixed by them.
When install Ontowiki in Windows it is prefer using composer as mentioned in http://docs.ontowiki.net/Install-Ontowiki.html
One more thing, if you using PHP 2.4 you have to adjust/edit some file to compatible with PHP 2.4 syntax. You can refer to this page https://httpd.apache.org/docs/2.4/upgrading.html
Thanks for your support guys.
@mnurmusa thank you for your feedback and I'm happy that it works for you now.
Regarding the Issue with PHP 2.4, (I assume you are speaking about Apache 2.4) there might be some changes in the .htaccess
file. Could you share those changes with use?
Oh yes. I mean Apache LOL
On Thu, Dec 22, 2016 at 7:49 PM, Natanael Arndt notifications@github.com wrote:
@mnurmusa https://github.com/mnurmusa thank you for your feedback and I'm happy that it works for you now. Regarding the Issue with PHP 2.4, (I assume you are speaking about Apache 2.4) there might be some changes in the .htaccess file. Could you share those changes with use?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AKSW/OntoWiki/issues/413#issuecomment-268793132, or mute the thread https://github.com/notifications/unsubscribe-auth/AXQMYGRiRrIiXm247VcxWA8DmoPbpF3dks5rKnHxgaJpZM4LD6-u .
-- Regards, Muh.Nur Musa
Hi, I have follow the instruction to install Ontowiki on Windows. Everything is okay until I executed http://localhost/AKSW-OntoWiki-9c50d0e/index.php
There is an error message Warning: Uncaught exception 'ErrorException' with message 'require_once(vendor/autoload.php): failed to open stream: No such file or directory' in C:\Program Files\Apache24\htdocs\AKSW-OntoWiki-9c50d0e\index.php:85 Stack trace: #0 C:\Program Files\Apache24\htdocs\AKSW-OntoWiki-9c50d0e\index.php(85): errorHandler(2, 'require_once(ve...', 'C:\Program File...', 85, Array) #1 C:\Program Files\Apache24\htdocs\AKSW-OntoWiki-9c50d0e\index.php(85): require_once() #2 {main} thrown in C:\Program Files\Apache24\htdocs\AKSW-OntoWiki-9c50d0e\index.php on line 85
Fatal error: main(): Failed opening required 'vendor/autoload.php' (include_path='.;C:\php\pear') in C:\Program Files\Apache24\htdocs\AKSW-OntoWiki-9c50d0e\index.php on line 85 Please help me to solve this problem
NB : Apache 2.4.23 x64 php 5.6.24 x64 virtuoso-opensource-win-x64-20160425 Ontowiki [1.0.0] - 2016-10-04 Zend Framework 2.4.9 Erfurt [1.8.0] - 2016-09-12