Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    Fehler: Objekt-Browser funktioniert in 0.9.4-5 Rev 3753 nicht mehr

    Scheduled Pinned Locked Moved Entwicklung
    16 Posts 3 Posters 2.9k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mg
      last edited by

      Hallo,
        mehr bringt er nicht an URLs:

      GET http://localhost/idoit/index.php?mod=cmdb&popu...=2&viewMode=1006&objID=298&show=details&ajax=1
      
      http://localhost/idoit/index.php?mod=cmdb&popup=browser_object&form_submit=&resultField=C__CATG__ODEP_OBJ&mNavID=2&viewMode=1006&objID=298&show=details&ajax=1
      
      http://localhost/idoit/index.php?mod=cmdb&popup=browser_object&form_submit=&resultField=C__CATG__ODE
      
      

      Wenn was fehlen sollte bitte einfach nachfragen.

      Danke und Gruß
      mg

      1 Reply Last reply Reply Quote 0
      • dsD Offline
        ds
        last edited by

        Merkwürdig.. Er schickt in jedem Fall die richtige URL ab.
        Was bekommst du wenn du auf die Seite gehst:
        http://localhost/idoit/index.php?mod=cmdb&popup=browser_object&form_submit=&resultField=C__CATG__ODEP_OBJ&mNavID=2&viewMode=1006&objID=298&show=details&ajax=1
        ?
        Diese sollte er eigentlich in das Popup laden anstelle der Haupseite.

        1 Reply Last reply Reply Quote 0
        • M Offline
          mg
          last edited by

          Hallo,
            beim manuellen Aufruf dieser URL bekomme ich die richtigen Inhalte angezeigt:

          
          SYS-ID: 	  	RT-12 			Standort: 	  	-
          Einsatzzweck: 	  	- 			Kontakt: 	  	n/a
          Kategorie: 	  	Andere 			Primäre Zugriffs-URL: 	  	-
          
          

          Hmm…? Find ich jetzt auch merkwürdig...

          Noch als Zusatzinfo:
          der IE7 reagiert anders, ich kann hier zwar ein Objekt auswählen, allerdings werden die Objektinformationen nie eingetragen und die Buttons werden auch nie frei (soll heissen bleiben ausgegraut)

          Jetzt kommt wahrscheinlich eine blöde Frage aber... wenn ich die URL von Dir mit der vergleiche die in meinem Post steht dann sehe ich bei mir zusätzlich hinter einigen '&' ein 'amp;' - kann hier was schief laufen, oder resultiert das aus dem Firebug?
          "Meine" URL führt dann nämlich tatsächlich ins Hauptmenü ...

          Danke + Gruß
          mg

          1 Reply Last reply Reply Quote 0
          • dsD Offline
            ds
            last edited by

            Ja die html codes sind mir auch in deiner URL aufgefallen, das ist in der Tat nicht korrekt, kommt auch nicht durch den Firebug. Kann mir aber nicht erklären wodurch das verursacht wird. Da ich das Problem nicht reproduzieren kann müsstest du mir nochmal helfen 😉

            Kannst du einmal mit eingeloggter Session auf folgende URL gehen:
            http://localhost/idoit/index.php?mod=cmdb&popup=browser_object&form_submit=&resultField=C__CATG__ODEP_OBJ&mNavID=2&viewMode=1006&objID=298&SMARTY_DEBUG

            Dann müsste sich ein zusätzliches Popup öffnen, ich bräuchte hieraus die Variable: statusURL
            Wenn hier ebenfalls diese HTML-Codes drin stehen, hab ich zumindest einen Anhaltspunkt 🙂

            1 Reply Last reply Reply Quote 0
            • M Offline
              mg
              last edited by

              Schön dass Dir nie die Ideen ausgehen …

              statusURL kann ich allerdings nicht finden, zur Sicherheit mal die Ausgabe des Debugs:

              Smarty Debug Console
              included templates & config files (load time in seconds)
              file:C:\Programme\xampp\htdocs\idoit\src/themes/default/smarty/templates/main.tpl (0.37041) (total)
                  ./top.tpl (0.03850)
                  ./content/menu_tree_buttons.tpl (0.01558)
                  ./content/main.tpl (0.14786)
                     ./content/navbar/main.tpl (0.04290)
                     ./content/top/main.tpl (0.00918)
                     ./content/bottom/main.tpl (0.07985)
                        ./content/bottom/header/main.tpl (0.01033)
                        ./content/bottom/content/main_de.tpl (0.03178)
              assigned template variables
              {$C__NAVBAR_BUTTON__ARCHIVE} 	"{$C__NAVBAR_BUTTON__BACK} 	"{$C__NAVBAR_BUTTON__DELETE} 	"{$C__NAVBAR_BUTTON__DUPLICATE} 	""
              {$C__NAVBAR_BUTTON__EDIT} 	"{$C__NAVBAR_BUTTON__FORWARD} 	"{$C__NAVBAR_BUTTON__NEW} 	"{$C__NAVBAR_BUTTON__PRINT} 	"{$C__NAVBAR_BUTTON__PURGE} 	"{$C__NAVBAR_BUTTON__RECYCLE} 	"{$C__NAVBAR_BUTTON__UP} 	"{$C__NAVMODE__CANCEL} 	14
              {$C__NAVMODE__SAVE} 	10
              {$bQuickSave} 	"0"
              {$bShowMenuTreeButtons} 	true
              {$b_showLoadingWait} 	"1"
              {$bugreport} 	Array (1)
              referrer => "L2lkb2l0L2luZGV4LnBocD9tb2Q9Y21kYiZhb..."
              {$config} 	Array (14)
              base_dir => "C:\Programme\xampp\htdocs\idoit\"
              www_dir => "/idoit/"
              override_host => false
              sess_time => 600
              theme => "default"
              startpage => "index.php"
              debugging => false
              bugreport => false
              forum => false
              show_proc_time => true
              smarty_debug_host => "localhost"
              encoding => "latin1"
              adminpass => "21232f297a57a5a743894a0e4a801fc3"
              show_barcodes => false
              {$dir_browser} 	"/idoit/src/tools/browser/"
              {$dir_images} 	"/idoit/images/"
              {$dir_theme} 	"/idoit/src/themes/default/"
              {$dir_theme_images} 	"/idoit/src/themes/default/images/"
              {$dir_tools} 	"/idoit/src/tools/"
              {$dir_tree_images} 	"/idoit/images/dtree/"
              {$dirs} 	Array (14)
              css_abs => "C:\Programme\xampp\htdocs\idoit\src/t..."
              js_abs => "C:\Programme\xampp\htdocs\idoit\src/t..."
              temp => "C:\Programme\xampp\htdocs\idoit\temp/"
              class => "C:\Programme\xampp\htdocs\idoit\src/c..."
              temp_www => "/idoit/temp/"
              images => "/idoit/images/"
              import => "C:\Programme\xampp\htdocs\idoit\src/c..."
              theme_images => "/idoit/src/themes/default/images/"
              handler => "C:\Programme\xampp\htdocs\idoit\src/h..."
              fileman => Array (3)
                target_dir => "C:\Programme\xampp\htdocs\idoit\uploa..."
                temp_dir => "C:\Programme\xampp\htdocs\idoit\temp\"
                image_dir => "C:\Programme\xampp\htdocs\idoit\uploa..."
              smarty => "C:\Programme\xampp\htdocs\idoit\src/t..."
              theme => "/idoit/src/themes/default/"
              tools => "/idoit/src/tools/"
              utils => "C:\Programme\xampp\htdocs\idoit\src/u..."
              {$gBrowser} 	Array (2)
              type => "FIREFOX"
              version => "3.0."
              {$gLang} 	"de"
              {$gLoadingPleaseWait} 	"Lade, bitte warten.."
              {$gProductInfo} 	Array (2)
              version => "0.9.5"
              step => ""
              {$g_link__logout} 	"index.php?logout=1"
              {$g_link__settings} 	"index.php?moduleID=8"
              {$g_link__user} 	"index.php?moduleID=9&pID=1"
              {$g_mandant_name} 	"XXXX(DE)"
              {$g_max_workflows} 	7
              {$g_modman} 	isys_module_manager Object (0)
              {$index_includes} 	null
              {$infobox} 	"  <a title="Öffne..." <br="">{$menuTree} 	Array (4)
              objectLink => "window.location='index.php?mod=cmdb&a..."
              locationLink => "window.location='index.php?mod=cmdb&a..."
              objectClass => "buttonActive"
              locationClass => ""
              {$menu_tree} 	"</a> 
              
              1 Reply Last reply Reply Quote 0
              • dsD Offline
                ds
                last edited by

                Das waren nicht die richtigen Debug Meldungen. Hat sich bei dir nicht der Objekt-Browser in dem Fenster geöffnet?
                Versuch mal diese URL: http://localhost/idoit/index.php?mod=cmdb&popup=browser_object&objID=298&SMARTY_DEBUG

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mg
                  last edited by

                  Hallo,
                    mit der neuen URL geht der Objekt-Browser auf (so falsch wie im Post beschrieben: statt der Details kommt das Hauptmenü). Die Debug-Meldungen sind allerdings die selben wie mit der vorigen URL!?

                  Smarty Debug Console
                  included templates & config files (load time in seconds)
                  file:C:\Programme\xampp\htdocs\idoit\src/themes/default/smarty/templates/main.tpl (0.30805) (total)
                      ./top.tpl (0.03816)
                      ./content/menu_tree_buttons.tpl (0.01549)
                      ./content/main.tpl (0.14833)
                         ./content/navbar/main.tpl (0.04319)
                         ./content/top/main.tpl (0.00827)
                         ./content/bottom/main.tpl (0.08113)
                            ./content/bottom/header/main.tpl (0.01028)
                            ./content/bottom/content/main_de.tpl (0.03189)
                  assigned template variables
                  {$C__NAVBAR_BUTTON__ARCHIVE} 	"{$C__NAVBAR_BUTTON__BACK} 	"{$C__NAVBAR_BUTTON__DELETE} 	"{$C__NAVBAR_BUTTON__DUPLICATE} 	""
                  {$C__NAVBAR_BUTTON__EDIT} 	"{$C__NAVBAR_BUTTON__FORWARD} 	"{$C__NAVBAR_BUTTON__NEW} 	"{$C__NAVBAR_BUTTON__PRINT} 	"{$C__NAVBAR_BUTTON__PURGE} 	"{$C__NAVBAR_BUTTON__RECYCLE} 	"{$C__NAVBAR_BUTTON__UP} 	"{$C__NAVMODE__CANCEL} 	14
                  {$C__NAVMODE__SAVE} 	10
                  {$bQuickSave} 	"0"
                  {$bShowMenuTreeButtons} 	true
                  {$b_showLoadingWait} 	"1"
                  {$bugreport} 	Array (1)
                  referrer => "L2lkb2l0L2luZGV4LnBocD9tb2Q9Y21kYiZhb..."
                  {$config} 	Array (14)
                  base_dir => "C:\Programme\xampp\htdocs\idoit\"
                  www_dir => "/idoit/"
                  override_host => false
                  sess_time => 600
                  theme => "default"
                  startpage => "index.php"
                  debugging => false
                  bugreport => false
                  forum => false
                  show_proc_time => true
                  smarty_debug_host => "localhost"
                  encoding => "latin1"
                  adminpass => "21232f297a57a5a743894a0e4a801fc3"
                  show_barcodes => false
                  {$dir_browser} 	"/idoit/src/tools/browser/"
                  {$dir_images} 	"/idoit/images/"
                  {$dir_theme} 	"/idoit/src/themes/default/"
                  {$dir_theme_images} 	"/idoit/src/themes/default/images/"
                  {$dir_tools} 	"/idoit/src/tools/"
                  {$dir_tree_images} 	"/idoit/images/dtree/"
                  {$dirs} 	Array (14)
                  css_abs => "C:\Programme\xampp\htdocs\idoit\src/t..."
                  js_abs => "C:\Programme\xampp\htdocs\idoit\src/t..."
                  temp => "C:\Programme\xampp\htdocs\idoit\temp/"
                  class => "C:\Programme\xampp\htdocs\idoit\src/c..."
                  temp_www => "/idoit/temp/"
                  images => "/idoit/images/"
                  import => "C:\Programme\xampp\htdocs\idoit\src/c..."
                  theme_images => "/idoit/src/themes/default/images/"
                  handler => "C:\Programme\xampp\htdocs\idoit\src/h..."
                  fileman => Array (3)
                    target_dir => "C:\Programme\xampp\htdocs\idoit\uploa..."
                    temp_dir => "C:\Programme\xampp\htdocs\idoit\temp\"
                    image_dir => "C:\Programme\xampp\htdocs\idoit\uploa..."
                  smarty => "C:\Programme\xampp\htdocs\idoit\src/t..."
                  theme => "/idoit/src/themes/default/"
                  tools => "/idoit/src/tools/"
                  utils => "C:\Programme\xampp\htdocs\idoit\src/u..."
                  {$gBrowser} 	Array (2)
                  type => "FIREFOX"
                  version => "3.0."
                  {$gLang} 	"de"
                  {$gLoadingPleaseWait} 	"Lade, bitte warten.."
                  {$gProductInfo} 	Array (2)
                  version => "0.9.5"
                  step => ""
                  {$g_link__logout} 	"index.php?logout=1"
                  {$g_link__settings} 	"index.php?moduleID=8"
                  {$g_link__user} 	"index.php?moduleID=9&pID=1"
                  {$g_mandant_name} 	"XXXX (DE)"
                  {$g_max_workflows} 	7
                  {$g_modman} 	isys_module_manager Object (0)
                  {$index_includes} 	null
                  {$infobox} 	"  <a title="Öffne..." <br="">{$menuTree} 	Array (4)
                  objectLink => "window.location='index.php?mod=cmdb&a..."
                  locationLink => "window.location='index.php?mod=cmdb&a..."
                  objectClass => "buttonActive"
                  locationClass => ""
                  {$menu_tree} 	"</a> 
                  
                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mg
                    last edited by

                    Hallo,
                      Problem ist (so wars zumindest bei mir) der Eintrag:

                    arg_separator.output = "&"
                    

                    in der php.ini. Der wird beim Aufruf der Funktion http_build_query "berücksichtigt".
                    @Entwickler: wurde die früher vielleicht nicht verwendet?

                    Wird der o.g. Parameter mit "&" versorgt funktioniert der Objekt-Browser in i-doit wieder.
                    Ob das an anderer Stelle negative Auswirkungen hat kann ich leider nicht sagen.

                    Gruß
                    mg

                    1 Reply Last reply Reply Quote 0
                    • NehemiasN Offline
                      Nehemias
                      last edited by

                      Hmh - bei mir nutzt diese Änderung in der php.ini (Windows als Basis) überhaupt nichts.

                      Iustitia est constans et perpetua voluntas ius suum

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        mg
                        last edited by

                        Also ich arbeite auch auf Windows - habe xampp in der Version 1.6.8 installiert und die php.ini im apache\bin Pfad geändert. Danach den Apache neu gestartet und das wars.
                        Oder dein Problem ist doch ein anderes …

                        Gruß
                        mg

                        1 Reply Last reply Reply Quote 0
                        • NehemiasN Offline
                          Nehemias
                          last edited by

                          tja - selbe Xamp Version …

                          als ich i-doit v0.9.4-5 installiert hatte, ging's - dann hab ich dass Update auf REv 3760 gemacht (mit de Update Funktion) - seit dem tuts nimmer mehr 😞

                          Iustitia est constans et perpetua voluntas ius suum

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            mg
                            last edited by

                            Hmh, ich bin ja mittlerweile auf der 0.9.5 angelangt. Das Problem war zunächst aber das selbe wie mit der im ursprünglichen Post genannten, Update wird also keine Hilfe bringen.
                            Und bei dir ist es genau das Gleiche Fehlerbild? Ist schon merkwürdig …

                            Gruß
                            mg

                            1 Reply Last reply Reply Quote 0
                            • dsD Offline
                              ds
                              last edited by

                              Komisch, wir überschreiben den arg_separator eigentlich beim Aufruf der Funktion (http_build_query($p_arData, null, "&"))

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post