• Home
  • Get help
  • Ask a question
Last post 1 hour 28 min ago
Posts last week 110
Average response time last week 29 min
All time posts 67418
All time tickets 10424
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#7351 – Website down - 0 Class 'ShlCache_Manager' not found

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Monday, 10 August 2020 14:21 UTC
azupancich

Hi there

Today our website has stopped function after being restored from a backup of the previous day

The message we see on the front end and back end is 

0 Class 'ShlCache_Manager' not found

I cannot find much on google to help with this, but see that SH404SEF is the only plugin that uses the shlib

Is there any way you could help?

I can be reached by email or, if you use whatsapp (for eg: if you need access to the server) on +xxxx

The site is http://xxxx.sg

Thank you very much for your help!

Monday, 10 August 2020 14:41 UTC
wb_weeblr

Hi

Here are the first steps:

1. Using FTP or your hosting company control panel, navigate to the folder /plugins/system/sh404sef and rename it (do not delete it) to something else, for instance, /plugins/system/sh404sef.disabled

2. This should be enough to let you regain access

3. To fix things, I would suggest you download a new copy of sh404SEF from the Downloads page and just install over the current one.

4. This issue is happening because your site restore did not work properly: either the backup is not complete, it's missing some parts wether files or data in the database. Or the backup is ok but the restore operation failed at some point.

I don't know why you wanted to restore, this might be helpful to know in order to understand the root cause of the backup/restore failure.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Monday, 10 August 2020 15:04 UTC
azupancich

Hi

thank you for the fast reply

I did not receive any notification of your reply so I am glad I came back

I experimented with removing things (renaming folders to sh404sef.disabled)  etc

the thing that was causing the error was the shlib

renaming that to shlib.disabled got the site running again!

I now see this message

Error

 

sh404SEF requires the shLib system plugin to be enabled, but you appear to have disabled it. Please enable it again!

I will try to reinstall now.

You asked why we restored?

I had a team member using git on the production server and they ran a command that caused git to delete all the joomla files that were not in source control!

We had a backup from the previous day.

But when we restored (no changes to the DB. Just literally a file backup.) we had this issue with shlib

I tried 3 different backups (3 separatd days)  and had the same issue with each.

do you have any idea what woudl cause this error? All the files in shlib seem to be there (same as previous backups)

I would like to understand this in case it happens again.

Thanks!

Do you need to look around the site?

I made you a super-admin:   

user: xxxx

pass: xxxx

 

 

 

Monday, 10 August 2020 15:09 UTC
azupancich

Reinstall gives me this message:

 

Message

shLib: skipping install of shLib version : Same or more recent version of shlib already installed.

shLib was not installed properly, cannot continue. Please try uninstalling and installing again

Installation of the component was successful.

 

Then   

 

Error

sh404SEF requires the shLib system plugin to be enabled, but you appear to have disabled it. Please enable it again!

 

 

 

Uninstalling shlib gives me this:

 

Warning

JFolder: :delete: Path is not a folder. Path: /home/jdmis_admin/xxxx.sg/plugins/system/shlib

 

(But if I have the folder existing, I cannot login to delete it)

Monday, 10 August 2020 15:09 UTC
azupancich

I tried again

install sh404sef

Message shLib: skipping install of shLib version : Same or more recent version of shlib already installed. shLib was not installed properly, cannot continue. Please try uninstalling and installing again Installation of the component was successful.
Monday, 10 August 2020 15:23 UTC
azupancich

I tried renaming the shlib-off directory back to shlib

the site is still running

but now I cannot see shlib to uninstall it in the admin panel.

I am not sure how to proceed

I had a specific URL config and a few customizations to the sef urls....  I would prefer not to have to start from scratch :)

If there something else you suggest I can try?

Or would it be useful for you to access the database as well?

 

 

Monday, 10 August 2020 15:37 UTC
azupancich

It is late at night here in Singapore.
I will try to stay up to monitor in case you give me some more instructions.

In the meantime, if you need access to the database:

phpMySQL is installed here: http://mysql.jdmis.com

user: xxxx

pass: xxxx

The joomla user I shared earlier is a super user.

Thanks for your help Yannick!

 

Monday, 10 August 2020 15:40 UTC
wb_weeblr

Hi,

I did not receive any notification of your reply so I am glad I came back

Make sure to look at your spam folder, and possibly whitelist "[email protected]". 

But when we restored (no changes to the DB. Just literally a file backup.) we had this issue with shlib

I doubt your backup is valid, it looks very much like the files and the database are not in sync.

Uninstalling shlib gives me this:

You should not be doing that. shLib is a part of sh404SEF (and of our other extensions). sh404SEF needs to manage it, uninstall and install it.

Message shLib: skipping install of shLib version : Same or more recent version of shlib already installed. shLib was not installed properly, cannot continue. Please try uninstalling and installing again Installation of the component was successful.

This again point at an invalid backup - or restore. This message is displayed because despite the files, or at least some files from shLib being present, shLib is still marked as installed from sh404SEF standpoint. This is because you uninstalled shLib manually, outside of sh404SEF control.

You should be able to restore sh404SEF and shLib by doing the following:

- Install again sh404SEF

- Download the standalone shLib plugin zip from this online folder.

- Install shLib and make sure it's enabled (it should auto-enable itself).

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Monday, 10 August 2020 15:42 UTC
azupancich

Thanks Yannick.

Trying it now

 

Monday, 10 August 2020 15:44 UTC
azupancich

Just installed your separate plugin

Message:

Installation of the plugin was successful.  

 

However I still see this message:

Error sh404SEF requires the shLib system plugin to be enabled, but you appear to have disabled it. Please enable it again! 

I went in ENABLED it in the plugins folder.  

But I still see this message: Error sh404SEF requires the shLib system plugin to be enabled, but you appear to have disabled it. Please enable it again!

Monday, 10 August 2020 15:49 UTC
azupancich

OK, it seemed just to need time to clear the error message after 2-3 minutes the error dissapeared.

After installing the shlib separately it seems to be functioning.

 

 

Monday, 10 August 2020 15:56 UTC
wb_weeblr

Hi

Glad to hear that. You should definitely work on your backup system and test restoring on a different machine, then compare with live site files and database. Again, what happened indicates that the database data and the files data in your backups are not in sync. You risk having such issue eacht time you restore. Note that the error can happen both during backup or restoring.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.