TYPO3_MOD_PATH [Gelöst]

  • andres andres
    Jedi-Meister
    0 x
    477 Beiträge
    0 Hilfreiche Beiträge
    24. 03. 2012, 09:39

    also mal ganz konkret gefragt. was bedeutet:

    1. This happens if the last 6 characters of this path, ..../ruthwoodtli.ch/httpdocs/ (end of $temp_path), is NOT "typo3/" for some reason.
    2. You may have a strange server configuration. Or maybe you didn't set constant TYPO3_MOD_PATH in your module?

    -welcher pfad ist gemeint (TYPO3_MOD_PATH), (end of $temp_path)?
    -welches dokument ist gemeint (init.php, config.php)?
    -wo kann ich diese pfadangaben finden?
    -welches modul könnte gemeint sein?

    ich arbeite mit typo3 4.6.6 und php 5.3 und erhalte oben erwähnte fehlermeldung im frontend. wenn ich in init.php die die() funktion auskommentiere, erhalte ich angaben wie im anhang ersichtlich.

    danke für jeden hinweis
    andré

    Anhänge (1)
    phpinfo().html text/html 67,85 KiB 78 heruntergeladen

  • 1
  • thn thn
    Padawan
    0 x
    47 Beiträge
    0 Hilfreiche Beiträge
    25. 03. 2012, 05:43

    Hallo andré,

    [quote="andres"]
    also mal ganz konkret gefragt. was bedeutet:

    1. This happens if the last 6 characters of this path, ..../ruthwoodtli.ch/httpdocs/ (end of $temp_path), is NOT "typo3/" for some reason.
    2. You may have a strange server configuration. Or maybe you didn't set constant TYPO3_MOD_PATH in your module?

    [/quote]

    Deine Ausgabe von der phpinfo sieht m.E, ganz gut aus (naja, Sessions sollten nicht in /tmp gespeichert werden) doch dafuer muesste man auch noch weitere Konfigs sehen. Ich wuerde zuerst mal nachsehen, ob es eine ".htaccess" in Deinem DocRoot gibt und ob diese auch wirklich verarbeitet wird. Koennte naemlich am schnoeden rewrite liegen.

    gruss tom

  • andres andres
    Jedi-Meister
    0 x
    477 Beiträge
    0 Hilfreiche Beiträge
    25. 03. 2012, 09:39

    hallo tom
    danke für deine antwort.im anhang findest du die htaccess und die config datei.kannst du beeurteilen ob da was klemmt?
    besten dank andres.

    1. #####
    2. #
    3. # Example .htaccess file
    4. #
    5. # This file contains a collection of almost everything you will need
    6. # for optimising TYPO3:
    7. #
    8. # - mod_rewrite (used for SimulateStaticDocuments, RealUrl, etc.)
    9. # - PHP optimisation
    10. #
    11. # If you want to use it, you'll need to rename this file to '.htaccess'.
    12. # (To make this work you will need to adjust the 'AllowOverride'
    13. # directive in your Apache configuration file.)
    14. #
    15. # IMPORTANT: You may need to change this file depending on your TYPO3
    16. # installation!
    17. #
    18. # You should change every occurance of TYPO3root/ to the location where you
    19. # have your website in. For example:
    20. # If you have your website located at http://mysite.com/
    21. # then your TYPO3root/ is just empty (remove 'TYPO3root/')
    22. # If you have your website located at http://mysite.com/some/path/
    23. # then your TYPO3root/ is some/path/ (search and replace)
    24. #
    25. # If you have problems with this file, try using the minimal
    26. # mod_rewrite.htaccess which is located in the typo3_src/misc/
    27. # directory of this installation.
    28. #
    29. # You can also use this configuration in your httpd.conf, but you'll have
    30. # to modify some lines, see the comments (search for 'httpd.conf')
    31. #
    32. # Using rewriting in your httpd.conf is much faster, btw.
    33. #
    34. # Questions about this file go to the matching Install mailing list,
    35. # see http://typo3.org/documentation/mailing-lists/
    36. #
    37. ####
    38.  
    39. ### Begin: Rewrite stuff ###
    40.  
    41. # Enable URL rewriting
    42. RewriteEngine On
    43.  
    44. # To assist in debugging rewriting, you could use these lines
    45. # DON'T enable it for production!
    46. # This will only work in httpd.conf, not in .htaccess files
    47. #RewriteLog /var/log/apache/rewrite.log
    48. #RewriteLogLevel 9
    49.  
    50. # If you use the RealUrl extension, then you'll have to enable the next line.
    51. # You will have to change this path if your TYPO3 installation is located
    52. # in a subdirectory of the website root.
    53. #
    54. # If you place this in httpd.conf, you cannot use this directive in any case!
    55. #RewriteBase /
    56.  
    57. # Stop rewrite processing if we are in the typo3/ directory
    58. # For httpd.conf, use this line instead of the next one:
    59. # RewriteRule ^/TYPO3root/(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/ - [L]
    60. RewriteRule ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/ - [L]
    61.  
    62. # Redirect http://mysite/typo3 to http://mysite/typo3/index_re.php
    63. # and stop the rewrite processing
    64. # For httpd.conf, use this line instead of the next one:
    65. # RewriteRule ^/TYPO3root/typo3$ /TYPO3root/typo3/index.php [L]
    66. RewriteRule ^typo3$ typo3/index_re.php [L]
    67.  
    68. # If the file/symlink/directory does not exist => Redirect to index.php
    69. # Important note: If you copy/paste this into httpd.conf instead
    70. # of .htaccess you will need to add '%{DOCUMENT_ROOT}' left to each
    71. # '%{REQUEST_FILENAME}' part.
    72. RewriteCond %{REQUEST_FILENAME} !-f
    73. RewriteCond %{REQUEST_FILENAME} !-d
    74. RewriteCond %{REQUEST_FILENAME} !-l
    75.  
    76. # Main URL rewriting.
    77.  
    78. # If you use Windows and SimulateStaticDocuments do not work, try adding a
    79. # slash (/) right before 'index.php' below.
    80.  
    81. # The example shows how to rewrite only *.html and *.pdf files to index.php
    82. # This may be helpful when using an extension that can generate PDF files
    83. # on the fly.
    84. # Example: RewriteRule .*\.(html|pdf)$ index.php [L]
    85.  
    86. # For httpd.conf, use this line instead of the next one that has no '#':
    87. # RewriteRule .* /TYPO3root/index.php [L]
    88.  
    89. # For use with the RealUrl extension, you might need to remove the
    90. # RewriteBase directive somewhere above and use this line instead of the
    91. # next one:
    92. # RewriteRule .* /index.php [L]
    93.  
    94. RewriteRule .* index.php [L]
    95.  
    96. ### End: Rewrite stuff ###
    97.  
    98. ### Begin: PHP optimisation ###
    99.  
    100. # All features below are left to the default if you don't change this.
    101. # Simply remove the comment marks if you want to use some/all of these
    102. # settings
    103.  
    104. # The PHP developers recommend disabling this feature. Do that.
    105. # It's deprecated and is likely to be unsupported in future versions of PHP.
    106. #php_flag allow_call_time_pass_reference off
    107.  
    108. # TYPO3 works fine with register_globals turned off.
    109. # This is highly recommended!
    110. #php_flag register_globals off
    111.  
    112. # PHP may not declare the argv & argc variables (that would contain the GET
    113. # information).
    114. # TYPO3 doesn't need this, so just turn it off.
    115. #php_flag register_argc_argv off
    116.  
    117. # Magic quotes for runtime-generated data (data from SQL, exec(), etc.)
    118. #php_flag magic_quotes_gpc off
    119.  
    120. # Order in which PHP registers GET, POST, Cookie and Built-in variables
    121. #php_value variables_order GPCS
    122.  
    123. ### End: PHP optimisation ###
    124.  
    125. ### Begin: Miscellaneous ###
    126.  
    127. # Make sure that directory listings are disabled
    128. #Options -Indexes
    129.  
    130. # There is a problem with Internet Explorer and mod_gzip on Apache servers.
    131. # For more information, see
    132. # http://typo3.org/documentation/document-library/rtehtmlarea/Tutorial-79/
    133. #mod_gzip_item_exclude file \.css$
    134. #mod_gzip_item_exclude file \.png$
    135. #mod_gzip_item_exclude file \.gif$
    136. #mod_gzip_item_exclude file \.jpg$
    137. #mod_gzip_item_exclude file \.jpeg$
    138. #mod_gzip_item_exclude file \.js$
    139.  
    140. ### End: Miscellaneous ###
    141.  
    142. # Add your own rules here
    143. # ...
    144. AddHandler php5-fastcgi .php .php5

    1. <?php
    2. $TYPO3_CONF_VARS['SYS']['sitename'] = 'Ruth mustermann';
    3.  
    4. // Default password is "joh316" :
    5. $TYPO3_CONF_VARS['BE']['installToolPassword'] = 'bacb98acf97e0b6112b1d1b650b84971';
    6.  
    7. $TYPO3_CONF_VARS['EXT']['extList'] = 'tsconfig_help,context_help,extra_page_cm_options,impexp,sys_note,tstemplate,tstemplate_ceditor,tstemplate_info,tstemplate_objbrowser,tstemplate_analyzer,func_wizards,wizard_crpages,wizard_sortpages,lowlevel,install,belog,beuser,aboutmodules,setup,taskcenter,info_pagetsconfig,viewpage,rtehtmlarea,css_styled_content,t3skin';
    8.  
    9. $typo_db_extTableDef_script = 'extTables.php';
    10.  
    11. ## INSTALL SCRIPT EDIT POINT TOKEN - all lines after this points may be changed by the install script!
    12.  
    13. $typo_db_username = 'mustermann'; // Modified or inserted by TYPO3 Install Tool.
    14. $typo_db_password = 'muster'; // Modified or inserted by TYPO3 Install Tool.
    15. $typo_db_host = 'localhost'; // Modified or inserted by TYPO3 Install Tool.
    16. $TYPO3_CONF_VARS['GFX']['im_combine_filename'] = 'composite'; // Modified or inserted by TYPO3 Install Tool.
    17. $TYPO3_CONF_VARS['GFX']["im_path"] = '/usr/bin/'; // Modified or inserted by TYPO3 Install Tool.
    18. $TYPO3_CONF_VARS['GFX']['im_version_5'] = 'im6'; // Modified or inserted by TYPO3 Install Tool.
    19. $TYPO3_CONF_VARS['GFX']['TTFdpi'] = '96'; // Modified or inserted by TYPO3 Install Tool.
    20. $typo_db = 'ruthwoo_'; // Modified or inserted by TYPO3 Install Tool.
    21. $TYPO3_CONF_VARS['SYS']['encryptionKey'] = '109a0ca3bc27f3e96597370d5c8cf03d421ae3b96d8654d54aa326c1353a6d73f6b4e259162498822ac47256a01712f3'; // Modified or inserted by TYPO3 Install Tool.
    22. $TYPO3_CONF_VARS['EXT']['allowGlobalInstall'] = '1'; // Modified or inserted by TYPO3 Install Tool.
    23. $TYPO3_CONF_VARS['SYS']['compat_version'] = '4.6'; // Modified or inserted by TYPO3 Install Tool.
    24. $TYPO3_CONF_VARS['BE']['installToolPassword'] = '37fec08a0ba2d5722eb1e6264c0db732'; // Modified or inserted by TYPO3 Install Tool.
    25. // Updated by TYPO3 Install Tool 11-12-07 13:41:38
    26. $TYPO3_CONF_VARS['EXT']['extList'] = 'extbase,css_styled_content,tsconfig_help,context_help,extra_page_cm_options,impexp,sys_note,tstemplate,tstemplate_ceditor,tstemplate_info,tstemplate_objbrowser,tstemplate_analyzer,func_wizards,wizard_crpages,wizard_sortpages,lowlevel,install,belog,beuser,aboutmodules,setup,taskcenter,info_pagetsconfig,viewpage,rtehtmlarea,t3skin,perfectlightbox,info,perm,func,filelist,about,cshmanual,feedit,opendocs,recycler,t3editor,reports,scheduler,fluid,version,workspaces,simulatestatic'; // Modified or inserted by TYPO3 Extension Manager.
    27. $TYPO3_CONF_VARS['EXT']['extConf']['phpmyadmin'] = 'a:2:{s:12:"hideOtherDBs";s:1:"1";s:9:"uploadDir";s:21:"uploads/tx_phpmyadmin";}'; // Modified or inserted by TYPO3 Extension Manager.
    28. // Updated by TYPO3 Extension Manager 04-10-08 08:39:49
    29. $TYPO3_CONF_VARS['SYS']['sitename'] = 'Ruth Woodtli'; // Modified or inserted by TYPO3 Install Tool.
    30. // Updated by TYPO3 Install Tool 30-11-08 10:06:43
    31. // Updated by TYPO3 Extension Manager 30-11-08 14:05:40
    32. // Updated by TYPO3 Install Tool 15-06-10 09:53:38
    33. $TYPO3_CONF_VARS['EXT']['extConf']['rtehtmlarea'] = 'a:13:{s:21:"noSpellCheckLanguages";s:23:"ja,km,ko,lo,th,zh,b5,gb";s:15:"AspellDirectory";s:15:"/usr/bin/aspell";s:17:"defaultDictionary";s:2:"en";s:14:"dictionaryList";s:2:"en";s:20:"defaultConfiguration";s:105:"Typical (Most commonly used features are enabled. Select this option if you are unsure which one to use.)";s:12:"enableImages";s:1:"0";s:20:"enableInlineElements";s:1:"0";s:19:"allowStyleAttribute";s:1:"1";s:24:"enableAccessibilityIcons";s:1:"0";s:16:"enableDAMBrowser";s:1:"0";s:16:"forceCommandMode";s:1:"0";s:15:"enableDebugMode";s:1:"0";s:23:"enableCompressedScripts";s:1:"1";}'; // Modified or inserted by TYPO3 Extension Manager.
    34. $TYPO3_CONF_VARS['EXT']['extConf']['css_styled_content'] = 'a:2:{s:15:"setPageTSconfig";s:1:"1";s:19:"removePositionTypes";s:1:"1";}'; // Modified or inserted by TYPO3 Extension Manager.
    35. // Updated by TYPO3 Extension Manager 15-06-10 09:55:50
    36. $TYPO3_CONF_VARS['SYS']['setDBinit'] = 'SET NAMES utf8;'; // Modified or inserted by TYPO3 Install Tool.
    37. $TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf-8'; // Modified or inserted by TYPO3 Install Tool.
    38. // Updated by TYPO3 Install Tool 21-03-12 12:24:00
    39. $TYPO3_CONF_VARS['EXT']['extList_FE'] = 'extbase,css_styled_content,install,rtehtmlarea,t3skin,perfectlightbox,feedit,fluid,version,workspaces,simulatestatic'; // Modified or inserted by TYPO3 Extension Manager.
    40. // Updated by TYPO3 Extension Manager 21-03-12 12:24:13
    41. $TYPO3_CONF_VARS['INSTALL']['wizardDone']['tx_coreupdates_installsysexts'] = '1'; // Modified or inserted by TYPO3 Upgrade Wizard.
    42. // Updated by TYPO3 Upgrade Wizard 21-03-12 12:24:13
    43. // Updated by TYPO3 Extension Manager 21-03-12 12:24:19
    44. $TYPO3_CONF_VARS['INSTALL']['wizardDone']['tx_coreupdates_installnewsysexts'] = '1'; // Modified or inserted by TYPO3 Upgrade Wizard.
    45. // Updated by TYPO3 Upgrade Wizard 21-03-12 12:24:19
    46. // Updated by TYPO3 Extension Manager 21-03-12 12:24:30
    47. $TYPO3_CONF_VARS['SYS']['curlUse'] = '1'; // Modified or inserted by TYPO3 Install Tool.
    48. $TYPO3_CONF_VARS['BE']['versionNumberInFilename'] = '0'; // Modified or inserted by TYPO3 Install Tool.
    49. // Updated by TYPO3 Install Tool 21-03-12 12:30:31
    50. $TYPO3_CONF_VARS['EXT']['extConf']['em'] = 'a:1:{s:17:"selectedLanguages";s:2:"de";}'; // Modified or inserted by TYPO3 Extension Manager.
    51. // Updated by TYPO3 Extension Manager 21-03-12 12:32:41
    52. $TYPO3_CONF_VARS['SYS']['UTF8filesystem'] = '1'; // Modified or inserted by TYPO3 Install Tool.
    53. $TYPO3_CONF_VARS['BE']['disable_exec_function'] = '0'; // Modified or inserted by TYPO3 Install Tool.
    54. $TYPO3_CONF_VARS['GFX']['gdlib_png'] = '0'; // Modified or inserted by TYPO3 Install Tool.
    55. $TYPO3_CONF_VARS['GFX']['im_path'] = '/usr/local/bin/'; // Modified or inserted by TYPO3 Install Tool.
    56. // Updated by TYPO3 Install Tool 21-03-12 20:56:18
    57. $TYPO3_CONF_VARS['EXT']['extConf']['lang'] = 'a:0:{}'; // Modified or inserted by TYPO3 Extension Manager.
    58. // Updated by TYPO3 Extension Manager 23-03-12 16:23:05
    59. ?>

  • andres andres
    Jedi-Meister
    0 x
    477 Beiträge
    0 Hilfreiche Beiträge
    25. 03. 2012, 20:25

    der fall ist gelöst!
    ein symlink wurde von meinem hoster falsch gesetzt.
    besten dank für eure unterstützung.
    andré

  • 1