Hi I'm new to TYPO3 and have followed the installation instructions and my installation is stuck at the following point;
CMS 8.7.0 Thank you for downloading TYPO3
To proceed with the installation, create the file FIRST_INSTALL in
your root directory. The filename is case-sensitive but the file
itself can be empty.
Note: The file will be deleted once you proceed with the installation.
I have added the file and till the installation shows the same message, please check my server directory included as an image.
thank you.
[]
enter image description here
You need to set the file FIRST_INSTALL into your DocRoot folder, which seems to be one folder up.
The file shouldn't be situated in the typo3 folder.
Set chmod 777 or r+w+x on FIRST_INSTALL and sometimes you have to write something in this file, because in some cases empty files are ignored.
Some TYPO3 CMS Installation steps might be help you.
make sure your root directory has complete access right.
Basice configuration for the php.
Create FIRST_INSTALL (must be empty. in your case it seems not empty.) as well as typo3_src file in the root of directory.
That is enogh for typo3. But, if you field installation please use fresh TYPO3 package for re-installation.
Your fresher file structure should be something like this:
Url: http://localhost/typo/
- typo
|--- Vendor
|--- typo3
|--- typo3_src
|--- FIRST_INSTALL
|--- index.php
|--- _htaccess
|--- composer.lock
|--- composer.json
|--- CONTRIBUTING.md
|--- CONTRIBUTING.md
|--- INSTALL.md
|--- LICENSE.txt
This is the simple ready to install setup directory. here, 'typo' is the name of root directory. Hope this will help you.
Ref. link for TYPO3 Installation: https://www.pagemachine.de/blog/install-typo3-7-lts-local-test-system-windows-tutorial/
Related
I am getting an error 404enter image description here
I have mostly tried everything with my reserach but nothing is working. need help.
Copy files index.php and .htaccess from pub/static file to root folder.
I've recently started developing in Ionic, and I find that once I've made changes to the index.html file and run it (ionic serve), it resets the index.html file.
I think I might be missing a step somewhere, any ideas?
Found the error. I was editing the file in the www folder and not the one in the src folder. Once I updated the index.html file in the src folder, the changes appear in the file in the www folder.
However, I find that when I update the controllers in the src/js folder, they are not updated in the www/js folder, so I have to make updates to the files in the www/js folder.
Not really sure of what's going on.
src folder is true development folder.
When ionic builds the app for you it automatically copies all the required files from src/ to www/.
If its not happening there might be something wrong with project, try removing and adding platform again.
I downloaded a theme containing the following file:
In the media files there are these files:
In the theme files there are these files:
All these files are very confusing. How can I make this theme work in my Magento installation.
This is my where i have my Magento installed:
To install the theme in magento 2 manually you must need to know about directory structure of magento2.
like for design you need to put files in app/design folder
like for modules you need to put files in app/code folder
also for sql file you need to import that sql file in your database
For images you need to put your images file in pub/media folder
This is one of the best tutorial to learn how to install theme maually in magento2 - https://www.ubertheme.com/docs/crafts-magento-2-theme/
You can also refer below link
http://www.venustheme.com/magento-2-install-theme-quickstart/
http://blog.landofcoder.com/magento-2-install-theme-manually/
https://www.mageplaza.com/kb/how-to-install-a-new-theme-magento-2.html
I have PHPStorm 8.0.1.
PHPUnit is installed via PHAR archive like:
wget https://phar.phpunit.de/phpunit.phar
chmod +x phpunit.phar
sudo mv phpunit.phar /usr/bin/phpunit
PHPUnit works via cli:
user#pc:/usr/bin$ cd ~
user#pc:~$ phpunit --version
PHPUnit 4.3.5 by Sebastian Bergmann.
I followed the instructions from JetBrains website https://www.jetbrains.com/phpstorm/webhelp/enabling-phpunit-support.html#d298258e897
In PHPStorm File->Settings tab PHP/PHPUnit
the radio button Path to phpunit.phar is checked
and value is set to /usr/bin/phpunit
I have a file with a test defined like:
class MyTest extends PHPUnit_Framework_TestCase {
...
At this point PHPStorm marks Undefined class PHPUnit_Framework_TestCase
I've restarted PHPStorm and Computer, but still have the same problem.
I've also tried adding /usr/bin to include path (right click on external libraries in project view, and choose option Configure PHP include paths) without success.
Here's the config for PHPStorm Settings, tab PHP (if it matters):
PHP Language level: 5.5 (finally, generators, etc.)
Interpreter: PHP 5.5 (5.5.9-1ubuntu4.5)
Include path is empty
In order to have a PHAR archive indexed by the IDE it has to have a .phar extension (that's a requirement).
The easiest solution is to place phpunit.phar somewhere in your project (usually it would be PROJECT_ROOT/vendor/ folder).
If having local copy inside the project folder is not desired (for whatever reason; although Composer and other similar kind of tools (bower/npm/etc) are primarily aimed at keeping dependency stuff/packages locally), you may use symbolic links:
either create a symbolic link to that file locally (e.g. PROJECT_ROOT/phpunit.phar --> /usr/bin/phpunit)
or place a full copy (or such symbolic link) in a separate folder outside of the project and then reference it via PhpStorm's Settings | PHP | Include Paths functionality.
The above fix by Calin worked for me too on PhpStorm 2019.1.1, so I'll post it as an answer for easier visibility:
Try right clicking on the .phar and clicking "Exclude phar from project", then clicking "Include phar into project" to refresh it.
In my case, both the .phar file and my .idea folder were pulled from a git commit. I guess PhpStorm didnt realise that the file needed reimporting.
I noticed even though PHP itself can find and run phar that is in its include path, PHPStorm having trouble finding and parsing them.
LazyOne's explanation is correct, however, I didn't need to put it in project folder to be recognized, you can put them in any path as long as its path is introduced to IDE. In my case, I put all phar files in PHP folder, so I just needed to add PHP folder to Include Path list in IDE
Include Path for PHP is under Settings -> Language & Frameworks -> PHP screen (that tiny + at the bottom of screen).
I just downloaded Eclipse Juno release a couple of days ago. I started a new PHP project. When I create a new file, it makes me select the root folder of the project as the source... Is there any way that I could select sub-directories within the project's root folder as the file's source folder?
You have to create a new PHP project if you don't want the files you're creating in that folder. There is no such thing as sub-directories in Eclipse. It creates seperate directories and you just go to wherever you're storing the files and transfer them to your server by going into your htdocs and dragging the folder and placing the folder into the one on your server that you want it to be in. I hope this has helped you.