Tuesday, May 4, 2010

typo3 No pages are found on the rootlevel!

Part Solution :- This is not a problem. It means that you have not mounted any page as rootlevel.


you have to install another package called the Quickstart package in order to have a site to play around with.



What the above article misses out . Is most of the users do not get a chance to read install.txt  BECAUSE typo3 is automatically installed by fantastico and there is not link to the help files. An experience used needs to put this error message into google to find this wiki document.

update ok yes there is an install.txt file when you go to the cpanel >typo3 folder (if the guy who installed it knows how to reach there)

 To fix this error you must
You must follow these steps:-
1) Create a new template
2) Create a new page
3) Use the new template with the new page
4) Unhide the new page (it is hidden by default, always)
5) Mount the new page as rootlevel

http://www.netenberg.com/forum/index.php?topic=4797.0 (this is the best link which helped )

Typo3 can be a nightmare and if things don’t work out as expected- IT’S NOT YOUR FAULT! I
http://typo3-tutorial.arciris.com/tutorials/installation-of-typo3-part-one/




http://wiki.typo3.org/index.php/Introduction/Matthew (do not go to this document it is a total waste of time to find out what is wrong with your typo3 installation

http://www.mywebstuff.com/index.php?id=52


Most permissions problems can be identified in the Basic Configuration section of the TYPO3 Install Tool.

you can access your TYPO3 Install Tool in the /typo3/install/ folder of your website, http://www.yourwebdomain.com/typo3/install/.

The output i got was

The Install Tool is locked.
Fix: Create a file typo3conf/ENABLE_INSTALL_TOOL
This file may simply be empty.
For security reasons, it is highly recommended to rename
or delete the file after the operation is finished.
If the file is older than 1 hour TYPO3 has automatically deleted it, so it needs to be created again.


solution
Create a blank text file, name it ENABLE_INSTALL_TOOL, place in the
typo3conf folder, and make sure you remove the .txt extension from the file
name. The key for you is probably the .txt extension on the file name.


This is easy to do on ubuntu. On xp/vista you need to first unhide known files extensions then press right click and rename the files. ultraedit makes this easier on windows . The easiest way is to open your cpanel and go to the folder where typo3 is installed

doubleclick and open the folder /typo3conf
click on the new file icon on the top left and enter the name of the file ENABLE_INSTALL_TOOL and click create! done!

NEXT STEP
on going back to http;//mysite/typo3folder/typo3/install i got a pop up
-----------------
SECURITY:
Make sure to protect the Install Tool with another password than "xxxxx".
Better yet you can add a die() function call to typo3/install/index.php after usage. 

IF THE INSTALL TOOL CRASHES...
The Install Tool is checking PHPs support for image formats. However certain versions of PHP (fx. 4.3.0 with bundled GD) will crash when trying to read the PNG test file. If this happens you will see a blank screen or error message.
Workaround: Open the file typo3/sysext/install/mod/class.tx_install.php, go to the line where the function "isPNG()" is defined and make it return "0" hardcoded. PNG is not checked anymore and the rest of the Install Tool will work as expected. The same has been known with the other image formats as well. You can use a similar method to bypass the testing if that is also a problem.
On behalf of PHP we regret this inconvenience.

BTW: This Install Tool will only work if cookies are accepted by your web browser. If this dialog pops up over and over again you didn't enable cookies.
-----------------
[WTFFFF!!! my comment you idiot developer try adn understand the installer are usually NEVER programmers]

This brings up another screen

TYPO3 4.2 Install Tool

[area to enter password given in the popup earlier]
The Install Tool Password is not the admin password of TYPO3.
If you don't know the current password, you can set a new one by setting the value of $TYPO3_CONF_VARS['BE']['installToolPassword'] in typo3conf/localconf.php to the md5() hash value of the password you desire.



to fix this goto file manager in your cpanel
goto  the folder
/typo3conf/localconf.php  and edit this file

find the line
 $TYPO3_CONF_VARS['BE']['installToolPassword'] = 'LONG NUMBER ' ;

now when you go back to http://site/folder/typo3/install/index.php
and type in a password at the bottom you will see a MD5 LONG number copy that to the LONG number in the file you opened for editing /typo3conf/localconf.php

save this file and then try and log in -- SUCCESS wooo hoooooo!!

[do not waste your time on the lines above if you have installed typo3 with fanstastico and cpanel - i was led on a wild goose chase by the typo3 wiki ]


Next step


MORE WARNING


About:
Warning - very important!
This script is a great danger to the security of TYPO3 if you don't secure it somehow.
We suggest one of the following:

- change the password as defined by the md5-hash in TYPO3_CONF_VARS[BE][installToolPassword].
- delete the folder 'typo3/install/' with this script in or just insert an 'exit;' line in the script-file there.
- password protect the 'typo3/install/' folder, eg. with a .htaccess file

The TYPO3_CONF_VARS[BE][installToolPassword] is always active, but choosing one of the other options will improve security and is recommended highly.












back to the typo3 admin panel

Important Notice!
  • The Reference Index table is empty which is likely the result of a recent TYPO3 upgrade. Please go to Tools>DB Check and update the reference index.

Update reference index

Click here to update reference index: update now
Click here to test reference index: check now
You can also run the check as a shell script if the processing takes longer than the PHP max_execution_time allows:
/home/xxxx/public_html/xxxxx/typo3/sysext/lowlevel/dbint/cli/refindex_cli.phpsh

Reference Index being Updated

1 records from 15 tables were checked/updated.
Index Integrity was perfect!

BUT AFTER THIS YOU WILL STILL GET THE ERROR MESSAGE!!

The Reference Index table is empty which is likely the result of a recent TYPO3 upgrade. Please go to Tools>DB Check and update the reference index.

 http://bugs.typo3.org/view.php?id=8765 (does not give a solution - zero feedback )


 Possible solution
12 If you get the:
   "Important notice! - The Reference Index table is empty which is
   likely to be the case because you just upgraded your TYPO3 source.
   Please go to Tools>DB Check and update the reference index.
   It is highly recommended that you change this immediately."

   Follow these instructions:

   Go into the Install Tool,
then go to Database Analyser.
Then, go down to the "Dump static data" line and choose "Import". 
Select "Import the    whole file" and  click the "Write to database" button. 
 
Then, go back to your installation and go to Tools>DB Check and 
update the reference  index. 
That should resolve the error.


 http://wiki.typo3.org/index.php/Tgz-INSTALL.txt

 ok found the  database analyzer
typo3/install/index.php?TYPO3_INSTALL[type]=database

Database Analyser:
What is it?
In this section you can get an overview of your currently selected database compared to sql-files. You can also import sql-data directly into the database or upgrade tables from earlier versions of TYPO3.


62 records from 15 tables were checked/updated.
Record static_template:24 had 1 added indexes and 0 deleted indexes
Record static_template:41 had 5 added indexes and 0 deleted indexes
Record static_template:43 had 3 added indexes and 0 deleted indexes
Record static_template:48 had 2 added indexes and 0 deleted indexes
Record static_template:49 had 3 added indexes and 0 deleted indexes
Record static_template:52 had 3 added indexes and 0 deleted indexes
Record static_template:54 had 3 added indexes and 0 deleted indexes
Record static_template:66 had 1 added indexes and 0 deleted indexes
Record static_template:69 had 2 added indexes and 0 deleted indexes
Record static_template:70 had 3 added indexes and 0 deleted indexes
Record static_template:71 had 3 added indexes and 0 deleted indexes
Record static_template:72 had 3 added indexes and 0 deleted indexes
Record static_template:73 had 2 added indexes and 0 deleted indexes
Record static_template:74 had 3 added indexes and 0 deleted indexes
Record static_template:80 had 1 added indexes and 0 deleted indexes
Record static_template:89 had 2 added indexes and 0 deleted indexes



NOWWWWWWWWWW
when you go back to the admin panel you will get another message


WARNING
The Install Tool is still using the default password "xxxx". Update this within the About section of the Install Tool.

1) GOTo /typo3conf/localconf.php  and edit this file


find the line

 $TYPO3_CONF_VARS['BE']['installToolPassword'] = 'LONG NUMBER ' ;



edit the long number remove any of the numbers (my work around )


SOLVED!!

Out of the box Typo3 is a daunting experience - the helpfiles & tutorials are largely written by developers for developers

http://www.legacy.hornfordassociates.com/index.php?id=96






NOW BACK TO CREATING A BASIC PAGE.

Goto the admin panel of typo3
your site / typo3/backend.php

click page
click on the icon with the green +

You will get many options

choose page type > standard
uncheck hide page
Add a page title
Click save and close document (a floppy disc icon with a cross )


Still getting

Error!

No template found!

The HTML web page template file is the starting point for typical websites.
http://wiki.typo3.org/index.php/Introduction/Matthew

This is exactly the sort of template you have been used to writing, in Notepad or VIM, for example.
(WTF you have been used to writing???)

1 comment:

  1. I always wanted to learn more on Typo3 and I think this is one of the best resource to which I will learn more on Typo3 and the issues which I was having will be solved upto some extent.

    ReplyDelete