I installed TYPO3 7.6.4 (LTS). I then went to backend, downloaded German language and under User preferences i changed my admin language to "German". After clearing the caches and relogging, nothing has changed.
TYPO3 tells me that the language files have been downloaded successfully, but there is no data in the directory typo3conf/l10n/
it's just empty. All folder access rights are 777.
Any suggestions?
You have to enable "curlUse" from backend installtool or in LocalConfiguration.php
'SYS' => [
'curlUse' => '1',
]
For example:->
So After that you will be able to download language as well as available translation files of extensions.
After that you can enable it from user settings
did you have use the "user Settings" button at the Top?
Related
The following problem: On the customer's server, I get the message that language packs are not available when I download them. My assumption is that some server settings are blocking the download.
The simplest solution for me was, of course, that I have the language packs locally and can simply upload them.
I uploaded the l10n folder, but in the user settings I get the message The selected language <my language> is not available before the language files are installed.
Can anyone tell me where I may have forgotten to set something? Everything I've found so far suggests that I just need to throw everything into the l10n and it should work.
The path of the XLF files depends if the installation is based on composer or not.
With composer: var/labels
Without composer: typo3conf/l10n
Additionally in typo3conf/LocalConfiguration.php a list of availalable languages is set:
'EXTCONF' => [
'lang' => [
'availableLanguages' => [
'de',
'fi',
'fr',
'it',
'nl',
'no',
'sl',
'sv',
],
],
],
So yes, if the files are at the correct location + configuration is set + cache cleared, then it should work out fine.
Here is what I did:
Downloaded zip TYPO3 11.3.0 from https://get.typo3.org/version/11
Unzip into /subfolder
touch FIRST_INSTALL
Followed instructions of the setup wizard with new database
Try to login via /subfolder/typo3/ and enter credentials
/subfolder/typo3/login?loginProvider=... leads to a 404
What I already checked:
typo3temp/var/log/typo3_[...].log is empty
MAMP logs don't show anything suspicious
Install Tool Environment Status shows a weird error:
http://localhost:8888/subfolder/typo3temp/assets/e35bd633.tmp/e77fab4e.php.wrong: unexpected content PHP content
Install Tool Directory Status is all green
Original .htaccess file exists
Created typo3conf/sites/mysite/config.yaml by copying from an existing (working) project, TYPO3 10
Of course, before I created the site configuration YAML, /subfolder/typo3/login?loginProvider=... was leading to a "no site config" error.
Now, it feels like there is a problem with the .htaccess, but I can't pinpoint where.
Running Apache / PHP 7.4.12
You have to make sure to use the proper .htaccess configuration for CMS 11, so you can't just resue the one provided with CMS 10.
Have a look at this documentation of the related breaking change in TYPO3 CMS 11
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.0/Breaking-93048-BackendURLRewrites.html
I have a fresh installation of Typo3 8.7, wanted to upgrade from 4.7.
In both I have installed the RealURL extension for displaying a human readable url.
Problem is in 8.7 the resulted url contains the full path slug name, compared with the 4.7 installation where it display the page ID (the desired output).
New site page url (same page):
https://new87site/tickets/incident-and-service-request/service-view/incidents-and-sr-service-view/
Old site url:
https://old47site/2147/
Is there any configuration I'm missing?
Thank you!
RealUrl has a configuration file. It is configured in the extension's settings (in TYPO3 v8 accessible via the extension manager). The default is typo3conf/realurl_conf.php.
If that file does not exist and the option "automatic configuration" is active, it will regenerate the file.
I don't know the setting to use page IDs as slugs, but on the old system this setting should be in there.
You can make changes to the file or (recommended) use a hook ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/realurl/class.tx_realurl_autoconfgen.php']['extensionConfiguration']['yourExt']) to have your config merged with the auto-configuration.
I'm hosting laravel 5.1 in my cpanel but it always accured error.I tried every method (htaccess, chmod 644 and storage give o r+W) but it doesn't work in my cpanel but when i removed following line from index.php of public folder it give access to index.php file:
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
so it give access to mine folder . Can anybody help me? can it cause due to php version of cpanel?
Paste this code at the top of your index.php file which will be in the public folder:
ini_set('display_errors', '1');
ini_set('display_startup_errors', '1');
error_reporting(E_ALL);
Then visit the URL of your project and there you will see the issue because which laravel is throwing this error.
For Laravel, these are required, confirm this
PHP >= 5.5.9
OpenSSL PHP Extension
PDO PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension
Procedure on how to host your Laravel 5.1.* application on any shared hosting:
Open Filezilla or any of your favorite FTP Client.
Login and get into the home directory of your hosting account.
Create directory called laravel-app or anything that you want inside your shared hosting account home directory.
Copy everything except public directory from your application's root directory inside the newly created folder. In this case laravel-app.
Now copy the contents of public directory in your public_html directory.
Once everything is uploaded, open up index.php file which resides in public_html directory in any of your favorite text editor.
Change the following line:
require __DIR__.'/../bootstrap/autoload.php';
to
require __DIR__.'/../../laravel-app/bootstrap/autoload.php';
And also change the following line:
$app = require_once __DIR__.'/../bootstrap/app.php';
to
$app = require_once __DIR__.'/../../laravel-app/bootstrap/app.php';
Before Uploading:
Please make sure that you have enabled all the plugins that are required by Laravel application. And also you are using PHP >= 5.5.* . If you don't know how to view which plugins are enabled by default.
Follow these steps:
Login to your cPanel account from the browser.
Scroll down way to the bottom where they say select PHP Version. Click on it.
From the dropdown, select PHP 5.5.6 or any of your choice, but it has to be PHP >= 5.5.*
There is a list of PHP Extensions below the dropdown that can be installed. You can leave it as it is or select the extension(s) that you wish to install. For example, if your application has file uploading feature, then you need to install the fileinfo extension by check marking that extension and clicking the button Save.
DONE. Your Laravel application is live on a shared hosting account.
You can check it by going to yourdomain.com
Hope this helps you. Happy Coding. Cheers.
Thank to all.. i solved it .. in cpanel there is php selector. so i changed it 5.6 and uploads all the folder of vender than give right permission to ech folder and files..
check these steps:
check .htaccess file on root or subdomain
if move files of public to root => change index.php contents /../ to /
check the php version (on loravel 5+ i used php7.2 and problem solved)
check .env file
I am new to moodle.I have created a local plugin and inside the lang folder created a folder zh_cn for chinese. Inside zh_cn folder i placed php file local_pluginname and put chinese strings.But it is not working. Please help.
Do you have the Simplified Chinese language pack installed?
Go to site admin -> language -> language packs and choose Simplified Chinese (zh_cn)
If you have that installed and the plugin is showing [stringid] then the the language cache needs updating.
On your development machine it will be easier if you add this to your config.php
$CFG->langstringcache = false;
On the production site go to site admin -> language -> language settings, uncheck "Cache all language strings", save, then check it again and save. This will update the language cache.