Fatal error Class JClassLoader: Difference between revisions
From Joomla! Documentation
m Again a typo |
m Marked for translation |
||
| Line 2: | Line 2: | ||
<noinclude>{{Joomla version|version=3.4.2}}</noinclude> | <noinclude>{{Joomla version|version=3.4.2}}</noinclude> | ||
In Joomla 3.4.2 we change the way how our composer libraries get autoloaded. | <translate>In Joomla 3.4.2 we change the way how our composer libraries get autoloaded.</translate> | ||
==Errors reported== | <translate>==Errors reported==</translate> | ||
If you try to move a website from Linux based Host to a Windows based host or if you have a CentOS Hoster you can run into the following error: | <translate>If you try to move a website from Linux based Host to a Windows based host or if you have a CentOS Hoster you can run into the following error:</translate> | ||
'''Fatal error: Class 'JClassLoader' not found in JROOT\libraries\cms.php on line 38''' | <tt><translate>'''Fatal error: Class 'JClassLoader' not found in JROOT\libraries\cms.php on line 38'''</translate></tt> | ||
If you don't have a CentOS Hoster or move your installation von Linux to Windows you actually don't have any known Problems! | <translate>If you don't have a CentOS Hoster or move your installation von Linux to Windows you actually don't have any known Problems!</translate> | ||
* On Windows (not case sensitive) that file gets replaced (all fine) | <translate>* On Windows (not case sensitive) that file gets replaced (all fine) | ||
* On Linux (case sensitive) both files are still there and as the correct is in the Code we only use the working one. (all fine) | * On Linux (case sensitive) both files are still there and as the correct is in the Code we only use the working one. (all fine) | ||
* On CentOS you maybe get on Updating a error that you have a name conflict. | * On CentOS you maybe get on Updating a error that you have a name conflict. | ||
* If you copy the files from the Linux Host to the Windows one maybe the wrong file gets removed. | * If you copy the files from the Linux Host to the Windows one maybe the wrong file gets removed.</translate> | ||
See: https://github.com/joomla/joomla-cms/issues/7296 and https://github.com/joomla/joomla-cms/issues/7307 | <translate>See:</translate> https://github.com/joomla/joomla-cms/issues/7296 and https://github.com/joomla/joomla-cms/issues/7307 | ||
== Versions affected == | <translate>==Versions affected==</translate> | ||
< | {{tip|<translate>This pertains only to Joomla! version(s): '''3.4.2'''</translate>|title=<translate>General Information</translate>}} | ||
{{ | |||
== What is the cause== | <translate>==What is the cause==</translate> | ||
External and via composter loaded libraries like phpmailer will not be autoloaded. | <translate>External and via composter loaded libraries like phpmailer will not be autoloaded.</translate> | ||
== How to fix == | <translate>==How to fix==</translate> | ||
Apply the patch https://github.com/joomla/joomla-cms/pull/7307.diff. This will be included in Joomla 3.4.3 that comes soon. | <translate>Apply the patch https://github.com/joomla/joomla-cms/pull/7307.diff. This will be included in Joomla 3.4.3 that comes soon.</translate> | ||
__NOTOC__ | |||
<noinclude> | <noinclude> | ||
<translate> | |||
[[Category:Version 3.4.2 FAQ]] | [[Category:Version 3.4.2 FAQ]] | ||
</translate> | |||
</noinclude> | </noinclude> | ||
Revision as of 12:56, 2 July 2015
In Joomla 3.4.2 we change the way how our composer libraries get autoloaded.
Errors reported
If you try to move a website from Linux based Host to a Windows based host or if you have a CentOS Hoster you can run into the following error:
Fatal error: Class 'JClassLoader' not found in JROOT\libraries\cms.php on line 38
If you don't have a CentOS Hoster or move your installation von Linux to Windows you actually don't have any known Problems!
- On Windows (not case sensitive) that file gets replaced (all fine)
- On Linux (case sensitive) both files are still there and as the correct is in the Code we only use the working one. (all fine)
- On CentOS you maybe get on Updating a error that you have a name conflict.
- If you copy the files from the Linux Host to the Windows one maybe the wrong file gets removed.
See: https://github.com/joomla/joomla-cms/issues/7296 and https://github.com/joomla/joomla-cms/issues/7307
Versions affected
This pertains only to Joomla! version(s): 3.4.2
What is the cause
External and via composter loaded libraries like phpmailer will not be autoloaded.
How to fix
Apply the patch https://github.com/joomla/joomla-cms/pull/7307.diff. This will be included in Joomla 3.4.3 that comes soon.