Support

Site Restoration

#22961 Fatal error: Call to undefined function apc_fetch() in D:\xampp\htdocs\HOBBY25\libraries\joomla\cache\storage\apc.php on line 36

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by on Thursday, 13 August 2015 17:20 CDT

unker
 Hi @ all,

I made a backup from my live site, installed XAMPP (php 5.6.8) locally and started the resoration.

Everything went fine, without any errors.

However, when calling the site locally then (I configured database and users) the in the headline mentioned error message appears.

Frankly speaking, from the documentatiuon I read I understood not very much, only it seems that there are some file missing on my system.

I though everything is delivered with XAMPP?

I hope you can give me right kick... :-)

I tried with different (older) versions of XAMPP, but the same.

Does it have to do with my sytem Windows 8.1 64-bit?

Pleased to hear

Hartmut

tampe125
Akeeba Staff
Hello,

it seems that the original server has APC installed on your site, however you don't have such PHP extension locally, thus the error.
You have to manually disable it: please open the configuration.php file and search for the line
public $cache_handler = 'apc';
And replace it with:
public $cache_handler = 'file';
In this way Joomla won't try to use a non existing function, raising the fatal error you reported.

Please apply the fix and tell me if it does the trick.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

unker
Hi Davide,

thanks for swift reply. This error is gone, but now I get:

Content-Encoding-Fehler



Die Webseite, die Sie öffnen möchten, kann nicht angezeigt werden, da sie eine ungültige oder unbekannte Form der Kompression verwendet.



Kontaktieren Sie bitte den Inhaber der Website, um ihn über dieses Problem zu informieren.


This means:
"Content-Encoding error

The website you are trying to open cannopt be displayed, because of an invalid or unknown compression method

Please contact the owner of the website, in order to inform him about this problem"

That's me, but I don't know... :-)

This happens with both, IE and FF

Any other idea?

unker
Hello, its me again.

The backend is accessible.

Have then disabled GZIP and can access, but only error messages inside the template.

Seems that all components do not work

Best Regards
Hartmut

tampe125
Akeeba Staff
Please set the error reporting to Development inside the Joomla Global Configuration page.
What's the error you are receiving?

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

unker
Hi Davide,

have set to Development, but no changes.

Please see attached Frontend view...

Hope you can see something.

Best Regards
Hartmut

tampe125
Akeeba Staff
I think the problem is inside the components or the template you are using. Akeeba Backup will never change the contents of your site, so the problem must be in the installed extensions.
As a last test you could try to disable error reporting, sometimes extensions freak out when they have a broken output.
Beside that, I think you can only ask support to the developers of your template/extensions.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

unker
Thanks Davide, but strange enough, the live site is running without any problems...

Will try out to update the template first and will come back then.

Best Regards

Hartmut

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!