We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

vendor directory error | Forum

Madeleine Rollason
Madeleine Rollason Sep 6 '16

I've tried to get help with this, but I can't find any responses to it.  Could someone please explain the reason for me receiving the following error message every hour? I updated my Oxwall package to the latest version and since then I've been receiving this... (I've replaced the name of the domain with asterisks for security reasons)


PHP Warning:  require_once(__DIR__/composer/autoload_real.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/sites/*********/public_html/ow_libraries/vendor/autoload.php on line 5
PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '__DIR__/composer/autoload_real.php' (include_path='.:/usr/share/pear5:/usr/share/ZendFramework') in /home/sites/**********/public_html/ow_libraries/vendor/autoload.php on line 5

The Forum post is edited by Madeleine Rollason Sep 6 '16
ross Team
ross Sep 6 '16
what is your php version? 
Madeleine Rollason
Madeleine Rollason Sep 6 '16
My PHP version is 5.5

ross Team
ross Sep 6 '16
what are the folder and files permissions you have set on your server? 

what are the permissions of:

ow_pluginfiles

ow_userfiles

ow_smarty/template_c

ow_static


folders ? 

The Forum post is edited by ross Sep 6 '16
Madeleine Rollason
Madeleine Rollason Sep 6 '16
For all the files mentioned the permissions are 777

ross Team
ross Sep 6 '16
all other folders should be 755 and files 644 is that so on your side? 
Madeleine Rollason
Madeleine Rollason Sep 6 '16
Yes, that's correct.

Madeleine Rollason
Madeleine Rollason Sep 6 '16
Might it be something to do with the cgi configuration?
ross Team
ross Sep 7 '16
Madeleine, what are the exact steps you do before you get these errors? 

where do you get these errors? 

Madeleine Rollason
Madeleine Rollason Sep 8 '16
Hello Ross

I don't do anything, these are email notifications I receive every hour from the server.  I think there is a  problem with the set up in cgi?
ross Team
ross Sep 8 '16
Ok, do you have this file:


ow_libraries/vendor/autoload.php

Madeleine Rollason
Madeleine Rollason Sep 8 '16
Yes I do, would you like me to copy paste what's in it?

ross Team
ross Sep 8 '16
what are the permissions on these folders: ow_libraries/vendor/


and what is the permissions on the file autoload.php? 

Madeleine Rollason
Madeleine Rollason Sep 8 '16
On ow_libraries/vendor/ it's 755 and on the autoload.php it's 644


ross Team
ross Sep 8 '16
Alright, can you please check whether you have ow_libraries/vendor/composer folder? 

what files do you have in that folder? 

Madeleine Rollason
Madeleine Rollason Sep 8 '16
In ow_libraries/vendor/composer I have the following files...
autoload_classmap.php
autoload_files.php
autoload_namespaces.php
autoload_psr4.php
autoload_real.php
autoload_static.php
ClassLoader.php
installed.json
LICENSE

ross Team
ross Sep 9 '16
Madeleine, 


can you please disable all third party plugins you have on your site? 

I believe you get this error when the cron runs for this plugin. 


See if the issue persists after you disable all 3rd party plugins. 


If not, 


then your update has not been successfully completed


You need to go do to your database via phpmyadmin to ow_base_config table


find soft_build and soft version data and lower the values for these configs


after you do that


run www.site.com/ow_updates again and see if the issue persists. 

Madeleine Rollason
Madeleine Rollason Sep 9 '16
Okay I'll give that a try, and let you know how it goes...

Madeleine Rollason
Madeleine Rollason Sep 11 '16
Hello Ross

I've been through the ow_base_config table but can't find soft_build and soft_version anywhere - help!
ross Team
ross Sep 12 '16
it consists of several pages, scroll to the bottom of the pages you'll see "show all" option, click on it and look again, please
Pages: 1 2 »