Typogento problem
| Autor | Nachricht |
|---|---|
|
Verfasst am: 26. 09. 2010 [08:37]
|
|
|
reginaldo
Themenersteller
Dabei seit: 26.09.2010
Beiträge: 13
|
Hallo Allerseits, ich habe folgendes Problem: Ich habe auf meinem localen XAMPP Server Typo3 4.4, Magento 1.4.1.1 und die neuste Typogento Version installiert. Ich habe mich bei der Typogento Installation an die docu von typogento.com gehalten. Allerdings passiert folgendes: Wenn ich den code includeLibs.user_tx_fbmagento_pi1 = EXT:fb_magento/pi1/class.tx_fbmagento_pi1.php page.headerData.30 = USER_INT page.headerData.30 { userFunc = tx_fbmagento_pi1->main block=typo3header } im Base TS eintrage und dann meine Seite aufrufe, kommt nichts. Nur eine weiße Seite. Ich habe ein Magento Plugin (Productvorschau) auf einer Unterseite eingefügt. Wenn ich den Code einfach weg lasse, dann wird die Seite normal angezeigt, allerdings nicht die Unterseite mit dem Magento Plugin, die ist dann nach wie vor weiß. Ich habe natürlich vorher ein Product im Magento Backend erstellt. Allerdings keine Seite im Magento CMS, muss ich das machen, damit das Plugin in Typo3 frontend angezeigt wird? Außerdem habe ich die RealURL Extension in Version 1.9.3. Im Extension Manager wird bei code warnings folgendes angezeigt: It seems like there is a backend module in "mod1/conf.php" which is not configured in ext_emconf.php. No XCLASS inclusion code found in file "class.tx_realurl_userfunctest.php". Hat das etwas mit Typogento zu tun? Wenn ja, was und wie kann ich es beheben? Ich habe außerdem im Estension Manager in der fb_magento Extension "enable Realurl Funktions" eingestellt bzw ausgewählt. Es ändert sich aber nichts, wenn ich das abwähle oder Realurl ganz ausschalte. Hat irgendjemand das gleiche Problem? Für eine Lösung wäre ich tausendfach dankbar! Gruß, Reginaldo |
|
Verfasst am: 26. 09. 2010 [08:47]
|
|
|
Norman2k
Dabei seit: 01.09.2004
Beiträge: 939
|
Hallo und Willkommen hier im Forum! Eine weiße Seite deutet meist auf einen PHP-Fehler hin, guck mal in die Apache Error-Logs. Und da du ja lokal bist, könntest du die Ausgabe der Errors im Frontend aktivieren, das stellt man in der php.ini ein |
|
Verfasst am: 26. 09. 2010 [09:33]
|
|
|
reginaldo
Themenersteller
Dabei seit: 26.09.2010
Beiträge: 13
|
Hallo Norman2k, danke für die schnelle Antwort. Ich hab in der php.ini eingestellt, dass ich Errors angezeigt bekomme, aber es werden keine angezeigt. Nach wie vor bekomme ich eine leere Seite zu sehen. Ausschnitt php.ini: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Error handling and logging ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; error_reporting is a bit-field. Or each number up to get desired error ; reporting level ; E_ALL - All errors and warnings (doesn't include E_STRICT) ; E_ERROR - fatal run-time errors ; E_WARNING - run-time warnings (non-fatal errors) ; E_PARSE - compile-time parse errors ; E_NOTICE - run-time notices (these are warnings which often result ; from a bug in your code, but it's possible that it was ; intentional (e.g., using an uninitialized variable and ; relying on the fact it's automatically initialized to an ; empty string) ; E_STRICT - run-time notices, enable to have PHP suggest changes ; to your code which will ensure the best interoperability ; and forward compatibility of your code ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's ; initial startup ; E_COMPILE_ERROR - fatal compile-time errors ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors) ; E_USER_ERROR - user-generated error message ; E_USER_WARNING - user-generated warning message ; E_USER_NOTICE - user-generated notice message ; ; Examples: ; ; - Show all errors, except for notices and coding standards warnings ; ;error_reporting = E_ALL & ~E_NOTICE ; ; - Show all errors, except for notices ; ;error_reporting = E_ALL & ~E_NOTICE | E_STRICT ; ; - Show only errors ; ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR ; ; - Show all errors except for notices and coding standards warnings ; error_reporting = E_ALL ; Print out errors (as a part of the output). For production web sites, ; you're strongly encouraged to turn this feature off, and use error logging ; instead (see below). Keeping display_errors enabled on a production web site ; may reveal security information to end users, such as file paths on your Web ; server, your database schema or other information. display_errors = On ; Even when display_errors is on, errors that occur during PHP's startup ; sequence are not displayed. It's strongly recommended to keep ; display_startup_errors off, except for when debugging. display_startup_errors = On ; Log errors into a log file (server-specific log, stderr, or error_log (below)) ; As stated above, you're strongly advised to use error logging in place of ; error displaying on production web sites. log_errors = On ; Set maximum length of log_errors. In error_log information about the source is ; added. The default is 1024 and 0 allows to not apply any maximum length at all. log_errors_max_len = 1024 ; Do not log repeated messages. Repeated errors must occur in same file on same ; line until ignore_repeated_source is set true. ignore_repeated_errors = Off ; Ignore source of message when ignoring repeated messages. When this setting ; is On you will not log errors with repeated messages from different files or ; sourcelines. ignore_repeated_source = Off ; If this parameter is set to Off, then memory leaks will not be shown (on ; stdout or in the log). This has only effect in a debug compile, and if ; error reporting includes E_WARNING in the allowed list report_memleaks = On ; Store the last error/warning message in $php_errormsg (boolean). track_errors = Off ; Disable the inclusion of HTML tags in error messages. ; Note: Never use this feature for production boxes. html_errors = On ; If html_errors is set On PHP produces clickable error messages that direct ; to a page describing the error or function causing the error in detail. ; You can download a copy of the PHP manual from http://www.php.net/docs.php ; and change docref_root to the base URL of your local copy including the ; leading '/'. You must also specify the file extension being used including ; the dot. ; Note: Never use this feature for production boxes. ;docref_root = "/phpmanual/" ;docref_ext = .html ; String to output before an error message. error_prepend_string = "<font color=ff0000>" ; String to output after an error message. error_append_string = "</font>" ; Log errors to specified file. error_log = "C:\xampp\apache\logs\phperror.log" ; Log errors to syslog (Event Log on NT, not valid in Windows 95). ;error_log = syslog In den Error Logs unter xampp\apache\logs steht folgendes für heute: [Sun Sep 26 08:44:57 2010] [warn] pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Sun Sep 26 08:44:57 2010] [notice] Digest: generating secret for digest authentication ... [Sun Sep 26 08:44:57 2010] [notice] Digest: done PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\xampp\\php\\ext\\php_imagick.dll' - The specified module could not be found. in Unknown on line 0 [Sun Sep 26 08:45:06 2010] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9 configured -- resuming normal operations [Sun Sep 26 08:45:06 2010] [notice] Server built: Dec 10 2008 00:10:06 [Sun Sep 26 08:45:06 2010] [notice] Parent: Created child process 3500 [Sun Sep 26 08:45:13 2010] [notice] Digest: generating secret for digest authentication ... [Sun Sep 26 08:45:13 2010] [notice] Digest: done PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\xampp\\php\\ext\\php_imagick.dll' - The specified module could not be found. in Unknown on line 0 [Sun Sep 26 08:45:18 2010] [notice] Child 3500: Child process is running [Sun Sep 26 08:45:18 2010] [notice] Child 3500: Acquired the start mutex. [Sun Sep 26 08:45:18 2010] [notice] Child 3500: Starting 250 worker threads. [Sun Sep 26 08:45:18 2010] [notice] Child 3500: Starting thread to listen on port 80. [Sun Sep 26 08:45:18 2010] [notice] Child 3500: Starting thread to listen on port 443. [Sun Sep 26 10:18:05 2010] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/7xampp Woher nimmt der das hier: C:/xampp/htdocs/7xampp ? Ich habe im Magento Plugin jetzt die Usergroup zugelassen, die ich im Typo3 Connector im Magento Backend unter "Group uid TYPO3 Frontend Users" angegeben habe. Wenn ich jetzt den Code mit "includeLibs.user_tx_fbmagento_pi1 =..." einfüge, dann wird mir nichts angezeigt, also weiß. Ohne diesen Code wird mir allerdings die Unterseite angezeigt, allerdings ohne das Magento Plugin. So weit war ich noch nie, hehe. Ich denke also, dass es etwas mit dem Typoskript Code ("includeLibs.user_tx_fbmagento_pi1 =..." Hast du eine Idee was es sein könnte? |
|
Verfasst am: 26. 09. 2010 [17:56]
|
|
|
reginaldo
Themenersteller
Dabei seit: 26.09.2010
Beiträge: 13
|
Da bin ich wieder, entschuldigt bitte die langen Posts. Ich habe nicht erwähnt, dass ich das busy noggin templavoila framework benutze. Bis jetzt hatte ich keine Ahnung, wo genau ich den includeLibs.user_tx_fbmagento_pi1 = EXT:fb_magento/pi1/class.tx_fbmagento_pi1.php headerData.10 = USER_INT headerData.10 { userFunc = tx_fbmagento_pi1->main block=typo3header } Code einfügen sollte. Dies hier ist der Core-Code des Frameworks: ################################ ### Defines the page object and uses TemplaVoila to render the page ### page = PAGE page { typeNum = 0 config { # Set up XHTML Transitional output xmlprologue = none doctype = xhtml_trans # Get rid of extra comments in the XHTML output. disablePrefixComment = 1 # Turn off the page title since we'll manually add it later. noPageTitle = 2 # Enabled indexed search indexing. index_enable = 1 # Clear the cache at midnight so that scheduled content appears on time. cache_clearAtMidnight = 1 # Shorten email links using MD5 Hash. notification_email_urlmode = 76 # Add the URL in front of local anchors to account for base URL. prefixLocalAnchors = all } headerData { # Set the new page title 1 = COA 1 { wrap = <title> | </title> 1 = TEXT 1.data = TSFE:page|title 1.htmlSpecialChars = 1 # Don't repeat the same title twice. 2 = TEXT 2.noTrimWrap = | | {$siteTitle} | 2.if { value.data = TSFE:page|title equals = {$siteTitle} negate = 1 } } 2 < additionalDocHeadCode } includeCSS.tf_skin_main = {$templavoila_framework.skinPath}css/mainstyles.css includeCSS.tf_skin_rte = {$templavoila_framework.skinPath}css/rte.css includeJS.tf_skin = {$templavoila_framework.skinPath}js/skin.js } [globalVar = LIT:1 = {$enableJQuery}] page { includeJSlibs.tf_jquery = {$templavoila_framework.corePath}js/jquery-1.4.2.min.js includeJSlibs.tf_jquery.forceOnTop = 1 includeJS.tf_core = {$templavoila_framework.corePath}js/core.js jsInline { 1 = TEXT 1.dataWrap = jQuery.noConflict(); } } [global] # Let TemplaVoila render the page content. page.10 = USER page.10.userFunc = tx_templavoila_pi1->main_page page.10.disableExplosivePreview = 1 plugin.tx_templavoila_pi1.disableExplosivePreview = 1 ############################# Ich vermute, dass ich den Typogento Code da irgendwie einfriemeln muss. Kann mir jemand erklären wie ich das machen kann? Ich wäre echt dankbar, versuche nun schon seit über einer Woche Typogento ans Laufen zu bekommen. Grüße aus Shanghai, Reginaldo |
|
Verfasst am: 25. 01. 2011 [01:17]
|
|
|
wnuk
Dabei seit: 23.01.2010
Beiträge: 6
|
Bist du weiter gekommen? |
|
Verfasst am: 23. 03. 2011 [10:39]
|
|
|
Cocopapa
Dabei seit: 09.10.2005
Beiträge: 24
|
Hi Gruss nach China reginaldo schrieb: Da bin ich wieder, entschuldigt bitte die langen Posts. Ich habe nicht erwähnt, dass ich das busy noggin templavoila framework benutze. Bis jetzt hatte ich keine Ahnung, wo genau ich den includeLibs.user_tx_fbmagento_pi1 = EXT:fb_magento/pi1/class.tx_fbmagento_pi1.php headerData.10 = USER_INT headerData.10 { userFunc = tx_fbmagento_pi1->main block=typo3header } Der Code kommt ganz einfach in das maintemplate setup - copy/paste TYPOSCRIPT # Magento #################################### //page.includeCSS.fb_magento = fileadmin/config/extensions/fb_magento includeLibs.user_tx_fbmagento_pi1 = EXT:fb_magento/pi1/class.tx_fbmagento_pi1.php page.headerData.30 = USER_INT page.headerData.30 { userFunc = tx_fbmagento_pi1->main block=typo3header } No special Magic needed! Gruss vom ICT Innovation Paradise Phuket Andi LisAndi.com - The future is within us!
TYPO3, Magento Webdesign, Development und Training http://lisandi.com http://t3pack.com |



