Blank page when accessing ../wp-admin and the contents page - php

I get a blank white page when accessing wp-admin and the contents page.
I'm using openshift hosting and wordpress.
Here's the error log:
[Sat Apr 11 11:11:12 2015] [error] [client 127.4.198.1] PHP Fatal
error: require_once(): Failed opening required
'/var/lib/openshift/5528a392fcf933f54d000067/app-root/wp-admin/includes/plugin.php'
(include_path='.:/var/lib/openshift/5528a392fcf933f54d000067/app-root/runtime/repo/lib:/var/lib/openshift/5528a392fcf933f54d000067/app-root/runtime/repo/libs:/var/lib/openshift/5528a392fcf933f54d000067/app-root/runtime/repo/libraries:/var/lib/openshift/5528a392fcf933f54d000067/app-root/runtime/repo/src:/var/lib/openshift/5528a392fcf933f54d000067/app-root/runtime/repo/vendor:/var/lib/openshift/5528a392fcf933f54d000067/app-root/runtime/repo/vendors:/var/lib/openshift/5528a392fcf933f54d000067/php/phplib/pear/pear/php:/usr/share/pear:/var/lib/openshift/5528a392fcf933f54d000067/app-root/data/plugins/papercut/inc/phpQuery/:/var/lib/openshift/5528a392fcf933f54d000067/app-root/data/plugins/papercut/inc/phpQuery/plugins/')
in
/var/lib/openshift/5528a392fcf933f54d000067/app-root/data/plugins/extrawatch-pro/extrawatch.php
on line 57
How do I fix this?

Related

sitename.com is currently unable to handle this request. HTTP ERROR 500- Laravel deploy

I am first time deploying my laravel project in a shared hosting.
I got error:
This page isn’t working. jsquarehospital.com is currently unable to handle this request.
HTTP ERROR 500
I deployed following this tutorial https://www.youtube.com/watch?v=6g8G3YQtQt4
Deploy Method: uploaded project zip in root directory, then uploaded the public folder in public_html and changes index.php
Please help me. My error log
[Sun Oct 18 14:00:33.054366 2020] [php7:warn] [pid 24621] [client 103.25.250.225:28241] PHP Warning: require(/home/jsquare/domains/jsquarehospital.com/public_html/../jshpanel/vendor/autoload.php): failed to open stream: No such file or directory in /home/jsquare/domains/jsquarehospital.com/public_html/index.php on line 24
[Sun Oct 18 14:00:33.054390 2020] [php7:error] [pid 24621] [client 103.25.250.225:28241] PHP Fatal error: require(): Failed opening required '/home/jsquare/domains/jsquarehospital.com/public_html/../jshpanel/vendor/autoload.php' (include_path='.:/usr/local/php73/lib/php') in /home/jsquare/domains/jsquarehospital.com/public_html/index.php on line 24

Getting a blank screen after copying a Drupal-7 project to my server

I am fairly new to Drupal.
I just got an already existing Drupal project and want to install it.
I copied it to: /var/www/html/myprojects/mydrupalproject
Then I got this error in my error.log from apache2:
[Thu May 03 17:55:41.603774 2018] [php7:notice] [pid 11604] [client
127.0.0.1:41930] PHP Notice: Constant DATE_RFC7231 already defined in /var/www/html/myprojects/mydrupalproject/includes/bootstrap.inc on
line 258, referer: http://127.0.0.1/myprojects/
[Thu May 03 17:55:41.604601 2018] [php7:error] [pid 11604] [client
127.0.0.1:41930] PHP Fatal error: require_once(): Failed opening required
'/var/www/html/myprojects/mydrupalproject/profiles/clusters_public/modules/contrib/apc/drupal_apc_cache.inc'
(include_path='.:/usr/share/php') in
/var/www/html/myprojects/mydrupalproject/includes/bootstrap.inc on
line 2632, referer: http://127.0.0.1/myprojects/
So I tried to use the original .htaccess info in case it was the problem but I still get exactly the same error in the log. Any help?
Failed opening required
'/var/www/html/myprojects/mydrupalproject/profiles/clusters_public/modules/contrib/apc/drupal_apc_cache.inc'
Does this file exist on your webserver and is it accessable? Are the correct file-rights set?

Opencart .. admin 500 error

Woke up this morning not being able to access my admin in opencart. Login would not allow. Edited something and now I have a 500 error on admin.
[Sun Nov 27 08:26:58.521365 2016] [cgi:error] [pid 11194] [client
86.161.65.106:51914] AH01215: PHP Fatal error: Call to a member function isLogged() on null in
/home/xxxxx/public_html/vqmod/vqcache/vq2-catalog_model_catalog_product.php
on line 468: /usr/local/cpanel/cgi-sys/ea-php56
Tried deleting entire contents of vqcache. Didn't work. Checked config files for public and admin both seem to be correct.
HELP!

Prestashop - PHP fatal error after upgrade

After I upgrade Prestashop 1.5.1.2 to 1.6.1.6, Panel loaded successfully but the home page doesn't load.
I see this error in error logs:
[Mon Sep 05 00:09:08 2016] [warn] [client 91.98.35.223] mod_fcgid: stderr: PHP Fatal error: Call to a member function createTemplate() on null in /var/www/vhosts/example.com/httpdocs/classes/module/Module.php on line 2330

Symfony crash after attack (failed opening required)

Almost every week on sunday morning (4am), I receive such error log lines in my debian6 server :
[Sun Nov 23 04:10:05 2014] [error] [client ::1] PHP Fatal error: require(): Failed opening required '/home/mydomain/www.myd\x81\x19\xa8k\xc4n\xf8\xf7H' (include_path='.:/usr/share/php:/usr/share/pear') in /home/mydomain/www.mydomain.com/htdocs/app/bootstrap.php.cache on line 2703
GnuTLS: Handshake Failed (-8) 'A record packet with illegal version was received.'
After about 20 such entries, my website crash completly, and log displays on each visit:
[client 157.55.39.25] PHP Fatal error: Cannot redeclare class Symfony\Component\Routing\RequestContextAwareInterface in /home/mydomain/www.mydomain.com/htdocs/vendor/symfony/symfony/src/Symfony/Component/Routing/RequestContextAwareInterface.php on line 17
It seems that a robot attack includes wrong data in Symfony cache, and the website is then no more able to handle further request.
I have no cron jobs at 4 am which could explains these behaviors.
What could I do ?

Categories