jacobwb / hashover-next

This branch will be HashOver 2.0
GNU Affero General Public License v3.0
420 stars 87 forks source link

Hashover v2 Installation Issues #341

Open nootkan opened 1 year ago

nootkan commented 1 year ago

Been at this installation for a few hours now and can't seem to install it on a linux centos7.9 cpanel server. Here are the steps I followed: 1.downoaded hash2 master zip.

  1. unzipped into my website folder on my computer
  2. uploaded to my remote server inside a subfolder called comments
  3. Filled out the secret.php file as per directions including creating a mysql database and smtp info
  4. Manually filled in the database tables based on a thread in this forum - (done this before so I know what I am doing)
  5. Added <script type="text/javascript" src="/comments/comments.php"></script> just before body tag as per hashover-v2/use document instructions
  6. Added <div id="hashover"></div> where I want the comments to appear in my content page.
  7. Uploaded page to server
  8. Checked ownership and permissions: owner:owner folders:755 files: 644
  9. Tried to browse to website/comments/admin/settings
  10. Only getting a blank page - checked apache error logs, dom logs etc - there are no errors
  11. Uninstalled and started over with the same result.
  12. php version 5.6
  13. Apache Version | 2.4.56
  14. MySQL Version | 5.7.41
  15. Architecture | x86_64
  16. Kernel Version | 3.10.0-1160.80.1.el7.x86_6

I have set up lots of dbs and other open source scripts with no issues so I know I must be missing something simple. If you require anymore info please ask.

Thanks for your time.

leancept commented 10 months ago

Upgrade to a newer PHP version. I had the same issue with PHP 5.4 (old!), but it works with 7.4