[TYPO3-english] Cal. Fatal error: require_once() [function.require]:

Jigal van Hemert jigal.van.hemert at typo3.org
Sat May 7 19:25:49 CEST 2016


Hi,

On 07/05/2016 17:36, Wiesław Golsz wrote:
> After doing the upgrade I am in the admin panel, I did DB check (update
> reference index) all wass ok.

The reference index should have been updated *before* the upgrade. 
Upgrade wizards in the Install Tool may use this index to find relations 
between records. But you're already past this point, so let's just hope 
it wasn't too bad before you started the upgrade.

>
> Now I tred install Calendar Base (cal_1.5.9). It was removed during the
> upgrade from 4.5.40 to 6.2.

If it was the Install Tool that removed it the reason was that the 
Install Tool tried to load files from that extension that are also 
loaded when you use the TYPO3 backend. It detected that it caused fatal 
errors and offered you to uninstall the extension(s).

This would imply that the extension isn't compatible with TYPO3 6.2 and 
you should not try to install it.
Luckily the authors of the extension published a version that is 
compatible, so you can upgrade it to the latest version in the Extension 
Manager before installing it.

First you have to uninstall it to get back into the backend:

1) If the Install Tool previously offered to uninstall it during the 
upgrade the easiest solution is to go back to the Install Tool, open the 
"Important actions" tab and use the button "Check extensions". This will 
detect that the extension causes problems and offers the option to 
uninstall the extension

2) If you removed it prior to the upgrade you can try the method 
described above. If that doesn't help, use your (S)FTP tool and edit the 
file typo3conf/PackageStates.php (be very careful, if this file is 
damaged TYPO3 will replace it with a new one and most extensions 
(including many system extensions) will be uninstalled; you can install 
them again, it just takes some extra time). For each extension it 
contains block like this:

     'news' =>
     array (
       'manifestPath' => '',
       'composerName' => 'georgringer/news',
       'state' => 'active',
       'packagePath' => 'typo3conf/ext/news/',
       'classesPath' => 'Classes/',
       'suggestions' =>
       array (
       ),
     ),

(this is the block for the 'news' extension).
Find the block for 'cal' and change the value after 'state' into "inactive".
Upload the file.


Now you should be able to access the backend again.

Open the Extension Manager and see if there is an update icon in the 
leftmost column "Upd.". If you hold the cursor above the icon it should 
show a tooltip "Update to version 1.10.3". If that is the case you can 
update the 'cal' extension to that version.

If it doesn't show that text, use the selectbox near the top to choose 
the option "Get Extensions". This might take a while to load the 
information of all extensions. It may also be necessary to use the 
button "Update now" on the right side of the screen to import the latest 
information of all extensions in TER; it shows how old the information is.
Use the search box to lookup the extension 'cal' and install that latest 
version from here.

Hope that helps

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-english mailing list