activate extensions without accessing backend in TYPO3 6.2 - typo3-6.2.x

I just upgraded my TYPO3 4.5 to 6.2 lts. After I had to deactivate an extension , more specifically "dam" because of its incompatibility, and I had to deactivate some other dam extensions because they depend on "dam". Now when I try to access the backend , I get some fatal errors related to require once. I just want to reactivate those extensions I just deactivated without Backend , maybe via Install Tool if it's possible. Do you know a trick to achieve this ? is it possible ? if no, how can I go back to the previous version knowing I didn't back it up

You can edit the file PackageStates.php which is inside of the typo3conf folder.
'tt_guest' =>
array (
'state' => 'inactive',
'packagePath' => 'typo3/ext/tt_guest/',
'classesPath' => 'Classes/',
'suggestions' =>
array (
),
),
You can set the state to 'active' or to 'inactive'. You can add additional entries or remove entries from the PHP array which is returned in this file. This will be nearly the same as installing and deinstalling an extension. You only need to do the DB checks in the Install Tool after you have activated an extension. Otherwise the database tables needed by an extension might not be in the needed format.

Related

How unload an extension when i cant login in the backend and the install tool is gone

when upgrading from TYPO3 8.7 to 9.5 i got this error message in the install tool :
Something went wrong. Please use Check for broken extensions to see if a loaded extension breaks this part of the install tool and unload it.
The box below may additionally reveal further details on what went wrong depending on your debug settings. It may help to temporarily switch to debug mode using Settings > Configuration Presets > Debug settings.
If this error happens at an early state and no full exception back trace is shown, it may also help to manually increase debugging output in typo3conf/LocalConfiguration.php:['BE']['debug'] => true, ['SYS']['devIPmask'] => '*', ['SYS']['displayErrors'] => 1,['SYS']['systemLogLevel'] => 0, ['SYS']['exceptionalErrors'] => 12290
Now i am lost because i dont know how to unload an extension ...
- i cant login in the backend
- the install tool is gone - no possibility to get it running again
- typo3conf/autoload is deleted
- typo3temp is deleted
- and in packagestate there is no possibility to unload an extension
I even emptied the complete extension folder but nothing changes.
How is it possible to unload a extension in TYPO3 9 and get the install tool running? Why does it break?
Thanks!
You could either use the command line with
vendor/bin/typo3 extension:deactivate <EXT-KEY>
or delete the array entry for your extension in the file public/typo3conf/PackageStates.php. In both cases, you may need to also clear public/typo3temp/var manually.

Why am I unable to locate and install OpenEduCat Timetable in Apps?

I have managed to install OpenEduCat Core in my local 9.0c Odoo platform. However, now I am still looking for ways on how to install OpenEduCat Timetable in the platform.
I tried to hit "Update Apps List" then search "Timetable" in the search bar in "Apps" however it gives me no result. What am I missing here?
Searching for "OpenEduCat" gives me only this
My Access Rights
Track the following:
find the path of addons module
is your module is at same place or path?
give read/write/execute permission for that module
restart your server
Go to browser, from GUI, Setting => Modules => Update Modules List => and Click on Update button
Now go to Setting => Modules => Local Modules => remove Apps filter on right hand side and type your module name
I hope after do these you will find your module.
EDIT
Active debugging mode. Open logged User form view and checked related access right.

Custom ejabberd authentication no longer working

I have created an authentication module which was build against
ejabberd 16.02 and runs fine when auth_method is set. It also works against
16.03.
However, from 16.04 onwards it gives me the error "[error] ignoring
option 'auth_method' with invalid value: [jwt]"
I checked the code diff between those releases and the only change
seems to be to the mod_pubsub.erl file, specifically adding the
following:
ServerHost = serverhost(Host),
+ ejabberd_hooks:run(pubsub_subscribe_node, ServerHost,
+ [ServerHost, Host, Node, Subscriber, SubId]),
https://github.com/processone/ejabberd/commit/639c2fb6401391663206c0e4c946d1a699689ac7
I have tried disabling this module and even deleting the beam file as
i don't use it, but i can't seem ti get round it.
Does anyone have any insight as to why these changes will have broken
my authentication module?
My source is at the link below, but as i say has worked fine for a year:
https://github.com/ParamountVentures/ejabberd-auth-jwt
The answer is that from 16.04 onwards you need to drop the .erl file into the ejabberd src folder and compile it with the source. Dropping in the .beam file to use alternative authentication modules no longer works.

I can't find my module in Odoo

I have created a module in Odoo 8 following a tutorial. I activated the technical features in Users then I've updated the module list but it doesn't appear in the list.
What should I do ?
Track the following:
checkout __init__.py, __openerp__.py files
weather any server track-back appear or not
find the path of addons module
is your module is at same place or path?
give read/write/execute permission for that module
restart your server
Go to browser, from GUI, Setting => Modules => Update Modules List => and Click on Update button
Now go to Setting => Modules => Local Modules => remove Apps filter on right hand side and type your module name
I hope after do these you will find your module.
After tried everything in #Odedra's answer, It worked when I created a new DB -> restarted the server -> Updated the App List.

How to remove a Backend Modul of the Backend Menu in Contao

I developed an modul for contao 3.0. In my config.php file i wrote this lines:
$GLOBALS['BE_MOD']['content']['modultest'] = array(
'tables' => array('tl_modultest'),
'icon' => 'system/modules/modultest/time_go.png',
);
Now i have the problem, that i want to deinstall the modul. But the menupoint in the backend is still there, even if i deleted the lines above.
Can anybody help me to deactivate or delete deactivated or deinstalled modules from the backend menu ?
Your problem is probably that you did not rebuild the internal cache introduced in Contao 3.0. To do that, go to Maintenance, then under the section Purge select the checkbox labeled Purge the internal cache and click Purge data.