Database Hacked?

Post

Posted
Rating:
#5637 (In Topic #1316)
Avatar
Standard member
'Curtis L Brewington Sr. is in the usergroup ‘Fan in training’

500 errors on site

I believe that my site has been hacked by a renaming of the OCP tables. Here is a screenshot:

Online now: No Back to the top

Post

Posted
Rating:
#5638
Avatar
Standard member
'Curtis L Brewington Sr. is in the usergroup ‘Fan in training’
Ok. I've determined that it has something to do with the PHP version being used by my host. Reverting to 5.6 got the site working again but switching to 7.0+ is giving problems… I've installed a new script in a subdirectory which works for PHP 7.0+ but something is conflicting. What needs to be enabled to get compo.sr working again properly under 7.0? The host has 7.3…
Online now: No Back to the top

Post

Posted
Rating:
#5639
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi,

So the original table prefix really was 'crap_'  :lol: ?
If it's working again, I'd guess so.

What version of ocPortal are you on? PHP 7.0 did break compatibility with some versions.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

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 Composr whenever you see the opportunity or support me on Patreon.
  • 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 Composr 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.
Online now: No Back to the top

Post

Posted
Rating:
#5641
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
So of course ocPortal 9 has been discontinued for some time, but I'll try and help.

PHP 7.0 support was added in 9.0.23.

The following files were changed:
  • sources/developer_tools.php
  • sources/global.php
  • sources/global2.php

The latest versions of the files can be found on the old ocPortal GitHub:
GitHub - chrisgraham/ocPortal at v9
You can browse through files and get to the raw source code.

And the actual changes to the files were made in this commit Misc fixes, including fixed PHP7 support · chrisgraham/ocPortal@3173f0f · GitHub
Along with some other completely unrelated things unfortunately, so ignore changes to any other files in that commit.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

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 Composr whenever you see the opportunity or support me on Patreon.
  • 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 Composr 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.
Online now: No Back to the top

Post

Posted
Rating:
#5695
Avatar
Standard member
'Curtis L Brewington Sr. is in the usergroup ‘Fan in training’
Apologies. I'm running the latest version of Composer. Just used to the term since I've been using OCPortal and have since switched to Composer some time ago.
Online now: No Back to the top

Post

Posted
Rating:
#5697
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
I'm going to close this topic, as it is the same issue as:
Error 503 Showing up - Composr
(just the server now is reporting errors differently)


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

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 Composr whenever you see the opportunity or support me on Patreon.
  • 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 Composr 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.
Online now: No Back to the top
1 guest and 0 members have just viewed this.
Back to Top