I have typo3 7.6.18. Is it exists some filemanager extension which provide see typo3conf/ext folder ? I need edit some extension
You don't kneed an extension for that. Just create a new file storage which points to typo3conf/ should do it.
You ca use File Editor extension. more information click hee
Another way to create filemount and select typo3conf directory.
https://docs.typo3.org/typo3cms/InsideTypo3Reference/CoreArchitecture/AccessControl/MoreAboutFileMounts/Index.html
Related
This guide indicates that you need both a file directory and sql file to accomplish this, does anyone know a workaround?
https://localwp.com/help-docs/how-to-import-a-wordpress-site-into-local/
You can retrieve the backup archives from the starting-site folder. Within your WordPress folder, navigate to wp-content -> uploads -> backwpup-xxxxxx-backups. Open the archive. Inside you’ll find a .SQL file (local.sql).
So today my extension_builder overwrote my entire TCAs while saving, so I did something stupid: I changed the folder name of my extension via winscp and uploaded the backupfolder of my extension I made yesterday. Now I get the error message
Oops, an error occurred!
TYPO3 Fatal Error: Extension key "icingaconfgen" is NOT loaded!
I know the error could be fixed with changing the state of the extension in the PackageStates.php to inactive, but the problem is: The extension doesn't appear in this file. Interesting enough the foldername I changed my old old extension folder to ("x") appears in the file as inactive though. What should I do now?
I assume you meant the extension key. This key is used in differnt files of an extension.
If you rename an extension folder the old key still is used in some files. TYPO3 analyses all extensions and joined (active) parts into cached files, so be careful as what is active executed and what is stored on the disk can differ (always clear all caches - there are a lot of caches!)
One part of your problem may occur of two folders with the usage of the same extension key. here especially the foder you renamed, as there the foldername and the internal extension key do not match.
TLDR:
NEVER rename an extension folder inside of typo3conf/ext/.
If you want to backup an extension move it to e.g. typo3conf/ext.bak/.
Always clear all caches after such a manipulation. (With newer versions of TYPO3 it is at least typo3temp/Cache/Code/, but also have a look at typo3temp/autoload/ and the internal caches tables in the database.)
If there is no non-existent extension listed in your PackageStates.php you should be fine after clearing TYPO3s cache.
Go to the install tool and do it under "important actions".
Or remove the contents of the typo3temp folder.
I am using a working TYPO3 7.6.14 environment with many extensions. Now I want to add a composer.json file manually. I do not want to create a new project which will download the latest TYPO3 core and TYPO3 extensions. I am afraid that this could accidently overwrite some extension's PHP files.
I need a safe way to add a composer.json file which will not change the present TYPO3 PHP files automatically. I prefer to download TYPO3 and the extensions manually. Therefore I do not want to use the composer mode. I must find a way to prevent composer from overwriting my self written PHP files.
I need a composer.json file because I want to add the external TCPDF library which is on its own place on the file system and not inside of a vendor folder inside of TYPO3. And the file ext_autoload.php is not supported any more by TYPO3 7.6.
I have read the https://usetypo3.com/typo3-and-composer.html#c51 recommendations. But it only shows the way how to create a new TYPO3 project using the command line and the composer command. Is it also possible to download a composer.json file into a TYPO3 folder (which?) in order to tell the autoloader where it will find the external TCPDF library?
I have unzipped the TCPDF file under /var/www/html/TCPDF-master/tcpdf.php . I want to use TCPDF, TYPO3 and its extensions unchanged and never updated by any composer command.
Introducing Composer for not using it's features seems a bit strange to me, but yes, it's possible to define a dedicated version or commit-hash in a repository to disable updates.
However, I would recommend to make use of the tilde ~ operator to enable updates on the accordant branch, to e.g. include security updates automatically. For TYPO3 CMS this dependency would look like the following, to stay on the 7.6 branch:
"require": {
"typo3/cms": "~7.6.14"
}
Find further details on how to declare versions in the Composer documentation.
Besides that, it seems, that you're not using Composer at all for the root project. You could then create a wrapper extension for TCPDF with one of these options:
use Composer for that extension to require TCPDF and load the generated autoload file (e.g. in typo3conf/ext/tcpdf/vendor/autoload.php) in your wrapper extension
directly copy & paste TCPDF's source (which seems to be the scenario you're up to) and add the autoloading information to ext_emconf.php, which is similar to previous ext_autoload.php - find details about that in a blog post about class loading
Can someone give me a step-by-step installation guide for extensions from zip files for Magento latest version?
Copy the extension file in your magento 2 Directory
(if not executable permission for magento CLI.. got to YOUR_INSTALLATION_DIR) (sudo ) chmod +x bin/magento
./bin/magento module:enable NAMESPACE_MODULENAME
./bin/magento magento setup:upgrade
Update after comment:
step 3: The NAMESPACE_MODULENAME means there should be this folder structure like app/code/NAMESPACE/MODULE/ inside your magento installation folder. Some extension don't have this but many files and folders like Model, Block... and a composer.json. If so
open composer.json and look on name at the top
"name": "TEST/MODULE"
....
if so you create dir like app/code/TEST/MODULE and copy content of zip file inside Module. This steps(3) simply enable the module, same as adding xml file in app/etc/modules/TEST_MODULE.xml in magento 1x.
Step 4. upgrade the database scheme of extension.
Magento Devdocs provide very detail instruction on how to set up extensions. (You can also filter through each version on top)
https://devdocs.magento.com/#/individual-contributors
I found this guy's Youtube video to be super helpful. Not to mention his cute accent. :)
Course from Magento U
Andy Myers
Hope this helps!
Uploaded files in a powermail form are stored in
http://www.domain.com/uploads/tx_powermail/
Anybody has access to these files!
Is there a way to restrict the access to the uploaded files?
When i add a .htaccess file in the folder with
Deny from all
Will Powermail and TYPO3 still have enough permissions to save and read the uploaded files?
First you should check your domain don't have security token like htaccess password authentication if not, so you can give this folder permission to 02755 it can help, or in the end you can change the path of the folder by typoscript.
Adding a .htaccess file in the folder with "deny from all" will restrict the access to the files.
Maybe could the powermail extension automaticly add the htacces file on installation.