configuration,typo3,typo3-6.2.x , How to access two TYPO3 root folders one with “localhost ” and other with “IP Address”

How to access two TYPO3 root folders one with “localhost ” and other with “IP Address”


Tag: configuration,typo3,typo3-6.2.x

I need to access two root folders (shown below) one with localhost as starting url and other with IP address as starting url. How can I configure it?

Tree Image

I have added Domain for rootpage as shown below. But dosen't work Domain name given in root

I am using TYPO3 v6.2 Thanks in advance


Add a domain record to each root, the first one with domain 'localhost', the second one with the IP address as domain. If both hostnames are routed correctly, that should do it.


How do you configure SQL Session State in ASP.NET 5.0 (vNext) MVC 6? [closed]

In Visual Studio 2015 RC, ASP.NET 5 vNext, i am trying to use SQL Session State in MVC 6. I'm not sure how to go about it. Can anyone show me a sample or give me some tips? I'm just trying out Azure Load Balancer. I set up a load...

Typoscript add class to the first element using stdWrap

I have a custom requirement to display an image slider using TypoScript. The images are taken from default tt_content image content element. I've added the following TypoScript code to implement this; lib.homeslider = COA lib.homeslider { 10 = CONTENT 10 { table = tt_content select { where = colPos =...

TYPO3 Solr extension and facets

I have a small question about TYPO3 solr facets.At present in my website I have 6 different indexing configuration available. Two of them are custom extension table's and one is tt_news and rest of the 3 are pages table with some custom condition. I managed to add this using additionalWhereClause...

How to handle Propel environment variables

I am trying to setup some configuration for unit-testing my application. Therefore I will need to setup different database connections. I have tried to follow the documentation (Environment Variables Doc) but I don't understand where to save the environment variables so they can be found when I have something like:...

How to get all sections of a specific type

Let's say I have the following in my config: <configSections> <section name="interestingThings" type="Test.InterestingThingsSection, Test" /> <section name="moreInterestingThings" type="Test.InterestingThingsSection, Test" /> </configSections> <interestingThings> <add name="Thing1" value="Seuss" /> </interestingThings> <moreInterestingThings> <add name="Thing2" value="Seuss" /> </moreInterestingThings> If I want to get either section, I can get them by name pretty easily:...

Eclipse for Java shows Multiple Errors

This is my current configuration: Eclipse IDE for Java Developers Luna Service Release 2 (4.4.2) Java Version 8 Update 45 Build 1.8.0_45-b15 After a time without using some Java Project folders, now Eclipse throws a lot of syntaxis errors over them: The import javafx cannot be resolved *** cannot be...

How to change the default author in PhpStorm for PHPDoc

I search for a moment a way to change the name and mail used by PHPDoc in PhpStorm when you use the "autocomplete" by pressing Enter after typing /** just before a class or a function. Example : /** * Class DepartmentType * * @author Foo Bar <[email protected]> */ class...

TYPO3-Upgrade 4.5 to 6.2: namespaces

I'm updating an old TYPO3 to latest verison 6.2.12. As I do so I replace deprecated classes with the proper namespaces. E.g. t3lib_div to \TYPO3\CMS\Core\Utility\GeneralUtility or t3lib_extmgm to \TYPO3\CMS\Core\Utility\ExtensionManagementUtility. But I cant find the proper namespaced class for t3lib_svbase. Any suggestions? . And I absolutely have no clue what I...

Understanding Grizzly 1.9.36 internals

I enabled the "SNOOP" configuration (under Transports -> tcp) on the admin webpage to see what grizzly is doing under the hood. As soon as I applied the changes, the below was printed in server.log . From the log, I fail to understand why Grizzly initializes it configuration again on...

Hide typo3 content elements for specific user(groups)

I want to "hide/deactivate" the table element for specific users/usergroups in the typo3 BE. Or to be more clear: I want to ONLY allow it to ONE specific user (admin). How can i do that? NOTE: At the moment the table element is deactivated in the global TS-config via tt_content...

How to set Symfony 2 slave database config in php

I have a Symfony 2.7 application with Doctrine. I am trying to setup slave databases. We use lockerbox to manage our server configs. We use Constants to keep all database configuration, ex: <?php define('DB_MASTER_HOST', 'localhost'); define('DB_MASTER_USER', 'user'); define('DB_MASTER_PASS', 'password'); define('DB_MASTER_NAME', 'db_name'); define('DB_SLAVE_ENABLED', FALSE); define('DB_SLAVE_HOST', 'server-1,server-2'); define('DB_SLAVE_USER', 'username1,username2'); define('DB_SLAVE_PASS', 'password1,password2'); define('DB_SLAVE_NAME',...

google sitemap for tx_news records with dd_googlesitemap_dmf (or alternative)

I try to let typo3 generate a sitemap for all the news records. For that I tried the dd_googlesitemap_dmf extention. The dd_googlesitemap works (it creates a sitemap for all the typo3 pages - but not for extensions). I filled in the basic infos into the configuration and called the url...

how to configure eclipse(pydev) to run with external executable

I have a test framework where all my tests have to be kicked off using a particular executable(say M). All my tests are written in python(I have eclipse configured with pydev) . Currently I run my tests are run thru cmdline like: $ M -test <test_file_name>.<testcase_name> How do I configure...

How do I turn sendfile off in a docker instance

I have a nginx docker instance running. In the docker instance there is a file called /etc/nginx/nginx.conf It has the following settings http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" access_log /var/log/nginx/access.log main; sendfile on; .... } I run the docker instance by running with...

Tree configuration to turn on/off the features in java

I have many features in Tree format and want to control the using configuration. Assume below tree, each node is one feature A --- root A1 & A2 --- are child of A A1a, A1b and A1c --- are child of A1 A2a, A2b and A2c --- are child of...

Akka default vs runtime configuration

I read the Akka v2.3.11 docs (Java, not Scala) and am still a bit confused about how configuration works. In section 2.9.2 ("Akka and JAR bundling") it states: Akka’s configuration approach relies heavily on the notion of every module/jar having its own reference.conf file, all of these will be discovered...

log4j2 equivalent for log4j.defaultInitOverride

Is there any way to tell log4j2 not to automatically load the log4j.configurationFile? It was possible with log4j1 with "log4j.defaultInitOverride"...

Router with DDNS, unable to update ip in noip

I have a D-Link DWR-512 router, which i need to create a dynamic dns, so i can access to the router throught the dns instead of the ip. The router is only connected to solar inverter panels, so i can't use the noIp dynamic update client software to update the...

Replace URLs in Typo3 DB

So I have a Site created with Typo3. I also have a domain which is linked to the folder of the Typo3 Installation. I created a Subdomain and linked it to the same folder and used the Main Domain for something else. But now everything on the Subdomain still...

How to disable cache for a image carousel in TYPO3

My TYPO3 extension has a lib that generates random 5 images from the total stock, for example out of the 100 images. This is done randomly every time the page is loaded. Only default the TYPO3 cache is enabled so every time the same 5 images are showed. As the...

how to reinitialize log4j2 configuration?

After an initial configuration of log4j2 with: Configurator.initialize(null, configLocation); I would like to reinitialize it with a different URL Configurator.initialize(null, configLocation2); The problem is that the second call is ignored. I believe that once the LoggerContext is STARTED it will ignore reconfigurations. Is there a way to do this? ...

How do I access the service provider when registering using typescript class

The following service provider registers successfully. Other controllers can use the service without trouble. My question is how to access the provider in order to configure it before the service is instantiated by the $injector service? module apiService{ export interface IBaseService{ leagueID: number; } export interface IApiBaseServiceProvider extends ng.IServiceProvider{ setLeagueID(leagueID:...

PyCharm automatically change script

In PyCharm, is there a way to automatically change the script in Run/Debug Configurations to the file I am currently editing? Currently, when I create a new file, I manually edit the Script in Configurations to the one I want to run.

How to get typo3 settings in the utility files?

plugin.tx_xxx { setting { storagePid = 23 } } I want this typo3 settings in utility file. Please help me....

Apache won't serve pages on my Raspberry Pi

I've installed PHP 5.6 on my Raspberry Pi (from the Jessie repo), as well as Apache2. When I access (the Pi's IP-address) it's not serving the index.php or index.html file in ~/var/www/. Just an hour ago I was running PHP 5.4 from the Wheezy repo, this was working fine....

htaccess and authentication for multiple domains

I am running a mutlisite TYPO3-Site. For the pre-live process, I want to add a htaccess with a htpasswd for 3 / 4 sites. How can I configure the htaccess-file to trigger the authentication only for specific urls? For example: shouldn't get a password-protection, while should. Both sites...

Could not install rpy2 correctly

I try to install rpy2 on my computer with R 3.1.1 using the command: pip install rpy2 --user It output success, but when I try to test it using python -m rpy2.tests It give me the following error File "/mnt/work1/software/python/2.7/lib/python2.7/", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/mnt/work1/software/python/2.7/lib/python2.7/",...

Spring: @NestedConfigurationProperty List in @ConfigurationProperties

Hi I am trying to get the following configuration up and running. @ConfigurationProperties(prefix="my") public class Config { @NestedConfigurationProperty private List<ServerConfiguration> servers = new ArrayList<ServerConfiguration>(); public List<ServerConfiguration> getServers() { return this.servers; } } @ConfigurationProperties(prefix = "server") public class ServerConfiguration { private String name; private String description; } So, I want to...

why spring 4 recommend annotation rather than configuration file? [closed]

Recently I'm learning the spring framework of java. I am curious that why spring 4 recommend annotation to set up spring rather using configuration file? Some people said that the spring configuration file is too complicated. But I think using annotation is going to the opposite direction of purpose of...

Why is my custom php.ini file not loaded site wide while placed in /public_hml? [duplicate]

This question already has an answer here: Custom php.ini per-directory (for testing sites) 2 answers I created a custom php.ini ... it's located in /public_html. Shouldn't it be valid and used for the whole site and directories under public_html ? It seems not to be loaded e.g. in /public_html/cms/usr...

Nginx: setting the error page to a static file

I have the following nginx configuration: server { listen 80; server_name default; location / { proxy_set_header Host $host; proxy_pass; } } When the internal service at is not responding nginx return a 502 Bad Gatway error. My question: how can I configure nginx to returning a static html...

What does the dot mean in Symfony service names?

Look at this documentation page, for instance. Several service names are dotted, and I wanted to know if it means we are searching an object's method or if it is nothing. Note I am talking about service names in YAML format....

Chef Configuration Constructs by Example

I am trying to wrap my head around Chef and its many configuration constructs: So we have: Nodes Run Lists Roles Recipes Attributes Environments Cookbooks Templates and even 1 more thing not on that diagram: Data Bags This is a bit overwhelming. After reading pretty deep into the Chef docs,...

tt_news single view with static news_id

I am using Typo3 Version 6.2 with the plugin tt_news. All I want to do is: Have a simple page on my website On that page I want to have a tt_news single view the news_id of this view should be static (set by me) and NOT by GET variables...

Where are TYPO3 constants from constant editor stored?

In Typo3 Backend -> Template -> Constants there is a constant editor. Where does TYPO3 saving the constants? Tried an fgrep -ri for an existing pattern, in case of saving to filesystem - no matches. Tried an MySQL search for an existing pattern, in case of saving to DB -...

How to stop visual studio generate typescript js and files while publishing

I set up my project that combine javascript output into file to $(ProjectDir)dist\output.js and uncheck generate source maps. Tools -> Options -> Text Editor -> Typescript -> Project -> Automatically compile Typescript files which are not part of a project is unchecked as well. While building and running project from...

File url [tmp_name] after upload via Typo3 backend

I'm building a typo3 extension and in a backend plugin I want to build a image upload form. I seem not to get the correct $_Files url. The following fluid form is used: <f:form action="customerSliderImages" id="customerSliderImages"> <f:form.upload name="custSlider[sliderimage]" /> <f:form.submit value="Upload" /> </f:form> I want to have the [name] and...

How to programmatically access Mongoid's config?

Specifically, I want to read the hosts value of the current Mongoid config. Is that possible? I'm using Mongoid with Ruby on Rails....

How to use Hook “processDatamap_postProcFieldArray” in TYPO3 6.x

Use case: When saving an object (in backend, maybe in frontend too later) I want to manipulate values before saving to database. Problem: The file seems to get included (shows an error on save if I choose a wrong file path) but the function does not seem to be executed...

How to assign variable in fluid?

I want viewhelper that can be helpful to assign variable in fluid, I dont want variable to be passed from controller.

asm version compatible with hibernate 4.3.1

I've been working on a project and using hibernate 4.3.1. an error popped up and after searching for what it means, i found out that its caused by incompatible versions between hibernate and asm. what version of asm is compatible with hibernate 4.3.1?

How to get Query object to felogin repository?

i need Query object of TYPO3\CMS\Felogin\Controller\FrontendLoginController in my extention repository so i can create my own query conditions.

How to manage configuration data in large projects?

As software projects grow they inevitably pile up a lot of configuration data. Each new module, library or framework can have some. Data can have many form such as XML, properties etc. But they usually can be located at in-code defined places. Is there any good practice saying how the...

All CPAN mirrors are not working in CPAN configuration?

I am trying to install CPAN and configure it on Centos 6. I am getting this message in configuration: requires configuration, but most of it can be done automatically. If you answer 'no' below, you will enter an interactive dialog for each configuration option instead. Would you like to...

Language detection not working in Typo3 6.2.12

I've a website which has 2 languages: German (de) as default and English (en) as translated. I am trying to implement language detection functionality in the website using the extension "rlmp_language_detection" version 7.0.0. What I want to achieve is, for the countries Austria (at), Switzerland (ch) and Germany (de), the...

How to check if log4j2 has been configured or not

We're all familiar with this message when you don't provide a configuration for log4j2: ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. How can I check if log4j2 is not yet configured so that I can initialize with a default configuration if...

How does my frontend usergroup list get lost between Extbase action controller and Fluid template partial in TYPO3 6.2?

I'm using TYPO3 CMS 6.2.12 and Extension Builder 6.2.0 to model a Report class and build an extension to manage it. One of the domain driven design requirements is that a report author be a logged-in front end user. A second requirement is that the author choose a single group...

Progress messages not appearing with cabal install for some users

I'm working on a team project using Haskell and whenever I compile our project using 'cabal install' I start seeing the following: $ cabal clean && cabal install cleaning... Resolving dependencies... Configuring hackathon-0.1... Building hackathon-0.1... Preprocessing executable 'hackathon' for hackathon-0.1... [ 1 of 65] Compiling Data.MaybeUtil ( src/Data/MaybeUtil.hs, dist/dist-sandbox-52369b17/build/hackathon/hackathon-tmp/Data/MaybeUtil.o )...

Typo3 6.2: “Could not find a suitable type converter for ”String“ ” exeption after update

Typo3 was from a very old version updated to Typo3 6.2. The most things are working now, but I have one own written extension that give me the following error: Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1297759968: Exception while property mapping at property path "":Could not find a suitable...

What is the correct way to use app.config for my plugin when using MEF?

So I have my host program that is going to load in my plugins using a MEF DirectoryCatalogue So currently I have: Host.exe and Plugin1.dll Plugin1.dll has a config setting set in its own config (Plugin1.dll.Config): <applicationSettings> <Plugin1.Settings> <setting name="MyString" serializeAs="String"> <value>Hello</value> </setting> </Plugin1.Settings> </applicationSettings> Which is accessed in Plugin1...