Dear all,
I’m trying to complete the installation of OJS 3.2.1-1 by following the instructions at https://pkp.sfu.ca/ojs/README, but I’m encountering a problem.
After completing all the operations indicated in the above guide, when I open the browser to follow the on-screen installation instructions, the following error message appears:
Warning: require_once(lib/pkp/lib/vendor/autoload.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/ojs/lib/pkp/classes/core/PKPApplication.inc.php on line 150 Fatal error: require_once(): Failed opening required ‘lib/pkp/lib/vendor/autoload.php’ (include_path=‘.:/opt/lampp/lib/php’) in /opt/lampp/htdocs/ojs/lib/pkp/classes/core/PKPApplication.inc.php on line 150
If it can be useful, I’m using Linux hosting on Aruba.
Could someone please help me? Thank you in advance.
Best,
Marco
It sounds like you’re installing using git. If you do that, you’ll have to manually install some dependencies and build the Javascript. See README.md in your OJS root directory for more details. If you’d rather not do that, use the .tar.gz package from the OJS download page (https://pkp.sfu.ca/ojs_download).
Regards,
Alec Smecher
Public Knowledge Project Team
Dear @asmecher,
Thanks for your message. I also tried using GitHub, but I couldn’t complete some processes for installing Composer.
Anyway, this error message appears using the .tar.gz package downloaded from the download page: https://pkp.sfu.ca/ojs_download, so I don’t know how to proceed.
Thanks in advance.
Best regards,
Marco
Does the file lib/pkp/lib/vendor/autoload.php exist in your OJS installation directory? It’s included in the .tar.gz download but sounds like it’s missing on your system.
Regards,
Alec Smecher
Public Knowledge Project Team
Dear @asmecher,
yes, the file lib/pkp/lib/vendor/autoload.php exists but maybe it’s incorrect. Here a screenshot of its contents.
Thanks for your help.
Best,
Marco
Ciao Marco, spero di esserti di aiuto avendo avuto il tuo stesso problema.
anche io sto cercando di installare su un hosting linux su aruba.
allora su un hosting linux “vecchio” non ci sono riuscito, mentre su uno preso 2 mesi fa si.
secondo me dipende da alcune configurazioni dei loro server, o versioni di linux installate probabilmente sul server stesso.
sto aprendo un ticket proprio ora sull assistenza di aruba, riportando questi errori e questi post…vediamo cosa dicono
Dear @asmecher,
thanks for your message. I’m sorry we couldn’t solve the problem, but I’ll follow the future developments of that thread hoping to find a solution.
Best,
Marco
Caro @simgiallorosso,
grazie per il messaggio. Io in realtà ho acquistato il server pochi giorni fa e mi compare un messaggio di errore diverso dal tuo ma la sostanza credo sia grosso modo la stessa. Seguo gli sviluppi del thread che hai aperto su questo forum e speriamo di trovare una soluzione per entrambi.
Un saluto,
Marco
il problema è che nonostante sembra che il client ftp stia scrivendo i file in realtà per la cartella lib e tutte le sottocartelle e file non li invia al server.
mancano quindi sempre dei file nell cartella lib.
li ho inseriti manualmente, uno per uno, una cosa infinita.
ora non dà l’errore di prima che mancavano i file ma errore 500 amq.aiqua.it/ojs
Caro @simgiallorosso,
grazie per gli aggiornamenti. Allora anche io contatterò l’assistenza di Aruba per chiedere se possono caricare loro il file!
Un saluto,
Marco