HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Several issues with the installation

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#110708 (In Topic #22237)
Avatar

Fan in training

I downloaded the latest version (Source files), but when I started the installation, I got following errors.



There are 5 missing ocPortal files that need to be uploaded:

    data/ckeditor/ocproducts_patch.sh
    decache.sh
    fixperms.sh
    hphp.sh
    hphp_debug.sh

There are 24 corrupt ocPortal files that need to be uploaded:

    exports/backups/.htaccess
    exports/file_backups/.htaccess
    plain.htaccess
    recommended.htaccess
    themes/default/css_custom/.htaccess
    themes/default/images_custom/.htaccess
    themes/default/templates/COMCODE_FAKE_TABLE_2_START.tpl
    themes/default/templates_cached/.htaccess
    uploads/attachments/.htaccess
    uploads/attachments_thumbs/.htaccess
    uploads/auto_thumbs/.htaccess
    uploads/banners/.htaccess
    uploads/filedump/.htaccess
    uploads/galleries/.htaccess
    uploads/galleries_thumbs/.htaccess
    uploads/grepimages/.htaccess
    uploads/iotds/.htaccess
    uploads/iotds_thumbs/.htaccess
    uploads/ocf_avatars/.htaccess
    uploads/ocf_cpf_upload/.htaccess
    uploads/ocf_photos/.htaccess
    uploads/ocf_photos_thumbs/.htaccess
    uploads/personal_sound_effects/.htaccess
    uploads/watermarks/.htaccess

An important PHP function, disk_free_space, has been intentionally disabled on this web server. This essentially means the PHP language isn't fully available on this server – you may not be able to use ocPortal on it, depending on how the specific function is used.

An important PHP function, error_log, has been intentionally disabled on this web server. This essentially means the PHP language isn't fully available on this server – you may not be able to use ocPortal on it, depending on how the specific function is used.

An important PHP function, phpinfo, has been intentionally disabled on this web server. This essentially means the PHP language isn't fully available on this server – you may not be able to use ocPortal on it, depending on how the specific function is used.

An important PHP function, php_uname, has been intentionally disabled on this web server. This essentially means the PHP language isn't fully available on this server – you may not be able to use ocPortal on it, depending on how the specific function is used.
Back to the top
 
Posted
Rating:
#110710
Avatar

Hi,

This is partly legitimate. The git repository isn't meant for general use, and the installer does seem to have found some compatibility issues. However, it may be those compatibility issues can mostly be worked around, and some of those messages do surprise me.

I'll get back to you in more detail.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#110715
Avatar

I'll assume you checked out the 'v9' branch. 'master' is v8. Both are in maintenance mode while v10 is being finished.

There are 5 missing ocPortal files that need to be uploaded:

    data/ckeditor/ocproducts_patch.sh
    decache.sh
    fixperms.sh
    hphp.sh
    hphp_debug.sh

I'm not sure how those would have disappeared. They're definitely in git.
My suspicion is somehow the host is auto-deleting .sh files, or your FTP client is programmed to skip them.

There are 24 corrupt ocPortal files that need to be uploaded:

    exports/backups/.htaccess
    exports/file_backups/.htaccess
    plain.htaccess
    recommended.htaccess
    themes/default/css_custom/.htaccess
    themes/default/images_custom/.htaccess
    …
    themes/default/templates_cached/.htaccess
    uploads/attachments/.htaccess
    uploads/attachments_thumbs/.htaccess
    uploads/auto_thumbs/.htaccess
    uploads/banners/.htaccess
    uploads/filedump/.htaccess
    uploads/galleries/.htaccess
    uploads/galleries_thumbs/.htaccess
    uploads/grepimages/.htaccess
    uploads/iotds/.htaccess
    uploads/iotds_thumbs/.htaccess
    uploads/ocf_avatars/.htaccess
    uploads/ocf_cpf_upload/.htaccess
    uploads/ocf_photos/.htaccess
    uploads/ocf_photos_thumbs/.htaccess
    uploads/personal_sound_effects/.htaccess
    uploads/watermarks/.htaccess

Again, not sure. My guess is that either the host has something auto-altering .htaccess files or FTP is altering them or your git settings are. However we do the integrity check while ignoring white-space, so it'd be a pretty odd thing to have changed. We also haven't changed these files in a long time.

    themes/default/templates/COMCODE_FAKE_TABLE_2_START.tpl

I think that may have legitimately corrupted upon upload. We haven't changed the file in a long time.

An important PHP function, disk_free_space, has been intentionally disabled on this web server. This essentially means the PHP language isn't fully available on this server - you may not be able to use ocPortal on it, depending on how the specific function is used.

An important PHP function, error_log, has been intentionally disabled on this web server. This essentially means the PHP language isn't fully available on this server - you may not be able to use ocPortal on it, depending on how the specific function is used.

An important PHP function, phpinfo, has been intentionally disabled on this web server. This essentially means the PHP language isn't fully available on this server - you may not be able to use ocPortal on it, depending on how the specific function is used.

An important PHP function, php_uname, has been intentionally disabled on this web server. This essentially means the PHP language isn't fully available on this server - you may not be able to use ocPortal on it, depending on how the specific function is used.

It looks like you're environment is heavily locked down, much more than normal.
However, I've just done a commit that removes our dependencies on these PHP functions as we don't need them for core functionality:
https://github.com/chrisgraham/ocPortal/commit/65203a25cae512bbc948f9e6ccf25d821cbdba1e


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#110719
Avatar

Fan in training

Thank you for your reply

I downloaded it from the website not git. I will now download V10 from github.

The version i downloaded was 9.022. It installed successfully.

I am little confused how to setup my website. I went to adminzone, but too many options there. I need your guidance. I want to create 2 websites. Marketplace and an education social network (not forum). Not sure ocportal is right. Just trying every option.

I have found oxwall to be the most user friendly and easy to modify, but it lacks few basic things.

Any examples, tutorials or anything would be helpful
Back to the top
 
Posted
Rating:
#110723
Avatar

I downloaded it from the website not git.

Ah, I assumed "Source files" meant git.

The normal installer is the quick installer or manual installation package. Either is fine.

I will now download V10 from github.

v10 is not yet complete, so should be used for testing only.

The version i downloaded was 9.022. It installed successfully.

In which case I'd definitely as the web host to enable the 'error_log' and 'disk_free_space' functions. These aren't dangerous things and prior to my changes (i.e. in 9.0.22) it will need those functions.

I am little confused how to setup my website. I went to adminzone, but too many options there. I need your guidance. I want to create 2 websites. Marketplace and an education social network (not forum). Not sure ocportal is right. Just trying every option.

Please ask in detail in a separate topic and I hope some people in the community can get back to you. Stepping through use cases might take some time.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#110734
Avatar

Fan in training

Which version do you suggest for now for production?

Why is there so much difference in size of the script I downloaded from the website 9.0.22 and from the Git V10?
Back to the top
 
Posted
Rating:
#110736
Avatar

9.0.22, which is the latest stable version.

Any two different versions are likely to have size differences :upsidedown:.


So to recap:
  1. Ask your host to re-allow those 2 functions (else you'd need to wait for 9.0.23, if that comes, or manually apply the changed files I made)
  2. Install 9.0.22


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: