Site inaccessible after upgrading from 3.8.3 to 3.8.7 - joomla

The site auto update got to 100% but there was an error at the end.
Now I cannot access the backend or the frondend and only get this error.
Fatal error: Class 'Joomla\CMS\Plugin\CMSPlugin' not found in /home/.sites/92/site2697155/web/plugins/system/sessiongc/sessiongc.php on line 23
Can someone help me to restore my site?

Try to change session_handle in configuration.ftp to "none"
public $session_handler = 'none';
To do this, you can use FTP and modify configuration.php directly
But i guess your issue caused by 3rd plugin
Try to use FTP and rename folder
/home/.sites/92/site2697155/web/plugins/system/sessiongc
to
/home/.sites/92/site2697155/web/plugins/system/sessiongc.bak
And try to check your site.

Related

why can't resolve the required file Laravel on on my hosting server?

I'm trying to connect the folder public with Laravel but I can't
API is in another folder called Laravel01
I've changed the url on index.php
require __DIR__.'/../laravel01/vendor/autoload.php';
but I can't step back to the root folder
Fatal error: require(): Failed opening required '/homepages/15/d831964969/htdocs/api/../laravel01/vendor/autoload.php' (include_path='.:/usr/lib/php7.4') in /homepages/15/d831964969/htdocs/api/index.php on line 24
it keeps on api folder when it must link with laravel01 folder
sorry for my English and I hope everybody can understand me, thanks a lot

The Encrypt library requires the Mcrypt extension error

I am getting this error message in CI and I am using XAMPP:
An Error Was Encountered
The Encrypt library requires the Mcrypt extension.
I already look for other similar post but still have not found the right answer.
I try this adding this script in my php.ini XAMPP:
extension=php_mcrypt.dll
line 887.
and restart my xampp. but the same error still appears.
Thanks.
I was getting this error because i had switched from XAMPP(php5) to XAMPP(php7),
for this I replaced my old CI->system->libraries->encrypt.php with new file here:encrypt.php, and it worked.
In this new file we check if mcrypt_encrypt is supported or not in __construct function with code below
$this->_mcrypt_exists = ( ! function_exists('mcrypt_encrypt')) ? FALSE : TRUE;
and based on that we use different function between mcrypt_encode and _xor_encode like that.
Just to know, if you see this old file in __construct function you will see actual error checking
if (($this->_mcrypt_exists = function_exists('mcrypt_encrypt')) === FALSE)
{
show_error('The Encrypt library requires the Mcrypt extension.');
}
It worked for me.
It finally works after I move the server from PHP 7 to PHP 5 xampp server.

Magento 1.9 Installation Error

I am trying to install magento 1.9 on my web hosting server .
I ftp-ed the files into my hosted website but experience the following error when i try to access my URL.
Fatal error: Class 'Mage_Core_Controller_Request_Http' not found in /home/bf/public_html/app/code/core/Mage/Core/Model/App.php on line 1238
I tried a google search but i am unable to find anything relevant .
Just download the Fresh copy from Magento community again. Also make sure that your server has all the prerequisite for Magento as mentioned in below link.
http://docs.magento.com/m1/ce/user_guide/magento/system-requirements.html
Please make sure that below files exist in this directory
app/code/core/Mage/Core/Controller/Request/Http.php
1.Make sure you have enabled curl on your server and with have right file permission.
2.Make sure file should exist on following path:
/home/bf/public_html/app/code/core/Mage/Core/Controller/Request/Http.php
3.Make sure compilation mode is disabled.
/home/bf/public_html/includes/config.php
Every thing inside should be commented.
4.If it does not work, you have to debug this.
Open index.php in root and add these line of code,
Mage::setIsDeveloperMode(true);
ini_set('display_errors', 1);
It will show you why error is coming.Once you will find the root cause, you can get the solution on google or any forum.

CodeIgniter transfer from WAMP to host subfolder error

I was creating a simple CodeIgniter site on my WAMP and all runs well.
But when uploaded to the host it says CI_Controller not found in CodeIgniter.php
Fatal error: Class 'CI_Controller' not found in /home/<myhost>/public_html/pms/system/core/CodeIgniter.php on line 233
I checked all the paths and seems right, i even went to the CodeIgniter.php file.
My database was migrated from local to the host, config was set, still this error comes out.
Is there something I'm missing? I really cant find anything on the net that could allow me to understand why it returns an error.
Hope someone could help understand this.
Thanks.
CodeIgniter will most probably figure out the base_url by itself:
$config['base_url'] = '';
... should work.
Fatal error: Class 'CI_Controller' not found in /home//public_html/pms/system/core/CodeIgniter.php on line 233
The path is not correct /home/public_html/pms/system/core/CodeIgniter.php

no file uploaded error in magento

I have upgraded my Magento version from 1.4.0.1 to 1.7.0.2.
Now I tried to upload a theme package using upload package file in Magento Connect Manager. It shows an error 'No file was uploaded'.
Please get me a solution.
Try using the Version 2.0 from the dropdown on the extensionpage on magento-connect, that should work.
The No file was uploaded error is return when:
The form key is invalid
$_FILES doesn't exist
$_FILES['file'] is empty
I had the same issue and managed to fix it by commenting out the rewrite instructions in my main .htaccess file in Magento's root folder. Don't forget to add those instructions back after you finished installing your module.
I suggest you keep a .htaccess.magento-connect file for when you want to use Magento Connect along with your regular .htaccess file, and switch between the two.

Resources