Cannot configure widgets - the pop up doesnt work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Miss T
    Member
    • Sep 2008
    • 82
    • 3.7.x

    [CMS] Cannot configure widgets - the pop up doesnt work

    I have found a similar thread but it doesnt offe a solution and i still have the problem

    I have tried this:

    Originally posted by digitalpoint
    I had the same issue, and it turned out it was because I had a CMS URL specified in the settings. Check your vBulletin settings under "Content Management" and see if you have "CMS URL" set to something other than blank (the default).

    The problem is the Configure link is actually an AJAX request, and AJAX can't make requests to domains (or sub-domains) other than the domain it was started from. Since I had the CMS URL set to http://articles.digitalpoint.com, the underlying AJAX request was going to http://articles.digitalpoint.com/widget.php, which is illegal (as far as AJAX is concerned) since the AJAX request started from http://forums.digitalpoint.com

    It's related to this bug report: http://tracker.vbulletin.com/browse/VBIV-6332

    Ideally the vB_Route::getCurrentURL() method should not be forcing an absolute URL when it's using the call to build a URL for an AJAX request (maybe it needs a $aboslute_url = true) option in the function or something.

    As a work-around, open up your admincp/cms_admin.php file, way down at the bottom, change this line:
    PHP Code:
    $config_url vB_Route::create('vBCms_Route_Widget''config/' $widget->getID() . '/0')->getCurrentURL(); 
    to this:
    PHP Code:
    $config_url str_replace(vB::$vbulletin->options['vbcms_url'], ''vB_Route::create('vBCms_Route_Widget''config/' $widget->getID() . '/0')->getCurrentURL()); 
    That will just strip whatever you have set in your CMS URL from the AJAX request URL.
    only my code doest say

    PHP Code:
    $config_url vB_Route::create('vBCms_Route_Widget''config/' $widget->getID() . '/0')->getCurrentURL(); 
    it says

    PHP Code:
    $config_url vBCms_Route_Widget::getUrl(array('action' =>'config' ,'widget' => $widget->getID()), nulltrue); 

    but i tried it just the same - and it didnt make a difference... i still cant configure widgets and i have no idea where to find the htacces and add the rewrite rules - i know i have seen the file somewhere before... but havent a clue where

    a little help please - i have been able to configure them without problems before - but now sudenly i cannot

    Thanks
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    What do you have set in AdminCP > Settings > Options > Forum Name/URL/etc > Forum URL? Do you have www.yoursite.com or just yoursite.com? Make sure you access your admincp using that same URL (with or without the www).

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment

    • Miss T
      Member
      • Sep 2008
      • 82
      • 3.7.x

      #3
      Originally posted by Lynne
      What do you have set in AdminCP > Settings > Options > Forum Name/URL/etc > Forum URL? Do you have www.yoursite.com or just yoursite.com? Make sure you access your admincp using that same URL (with or without the www).
      i have http://www.kattegale.dk/forum

      what do i have to make sure ? im not quite sure i know what to align ?

      Comment

      • Trevor Hannant
        vBulletin Support
        • Aug 2002
        • 24325
        • 5.7.X

        #4
        Go to http://www.kattegale.dk/forum/admincp/, not http://kattegale.dk/forum/admincp/
        Vote for:

        - Admin Settable Paid Subscription Reminder Timeframe (vB6)
        - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

        Comment

        • Miss T
          Member
          • Sep 2008
          • 82
          • 3.7.x

          #5
          Originally posted by Trevor Hannant
          i dont understand what you mean

          here are my settings - what is wrong with them ?

          ]

          Comment

          • Fready
            Senior Member
            • Nov 2010
            • 137
            • 4.0.x

            #6
            I have the same problem, it shows an error box and when i close the error box the black sinning box just keeps on spinning.
            I have 2 forums set up the same in the Admin CP and one works fine and the other doesn't

            Comment

            • Trevor Hannant
              vBulletin Support
              • Aug 2002
              • 24325
              • 5.7.X

              #7
              Originally posted by Miss T
              i dont understand what you mean

              here are my settings - what is wrong with them ?
              Nothing's wrong with your settings but sometimes if you don't use the exact same URL to access the AdminCP as you have entered in the Forum URLvalue, the AJAX calls won't work. You have this as your Forum URL:

              http://www.kattegale.dk/forum

              So when accessing AdminCP, always use that version, not:

              http://kattegale.dk/forum

              (Note the www/non-www difference)>
              Vote for:

              - Admin Settable Paid Subscription Reminder Timeframe (vB6)
              - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

              Comment

              • Miss T
                Member
                • Sep 2008
                • 82
                • 3.7.x

                #8
                but i do that by defáult and still no luck with the widgets...

                i still get a black screen for a moment and then nothing..

                i have been able to before...

                what is wrong ?

                Comment

                • Miss T
                  Member
                  • Sep 2008
                  • 82
                  • 3.7.x

                  #9
                  please advise:

                  i always access adminCP WITH www - never without...

                  what else can i do?

                  what table in the DB houses the content of the widgets - so i can change them manually if all else fails... i HAVE to be able to change them by 29 of this month

                  Comment

                  • Lynne
                    Former vBulletin Support
                    • Oct 2004
                    • 26255

                    #10
                    I'd suggest putting in a support ticket and have us take a look.

                    Please don't PM or VM me for support - I only help out in the threads.
                    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                    Want help modifying your vbulletin forum? Head on over to vbulletin.org
                    If I post CSS and you don't know where it goes, throw it into the additional.css template.

                    W3Schools <- awesome site for html/css help

                    Comment

                    • Miss T
                      Member
                      • Sep 2008
                      • 82
                      • 3.7.x

                      #11
                      well i did - but you guys just closed it as a duplicate

                      olky problem is - the specified solution doesnt work with my problem...

                      even though i delete the CMS url - it STILL doesn work

                      Comment

                      • Lynne
                        Former vBulletin Support
                        • Oct 2004
                        • 26255

                        #12
                        Originally posted by Miss T
                        well i did - but you guys just closed it as a duplicate
                        The last support ticket you put in was in May. I do not see any support ticket that you put in about this issue.

                        Please don't PM or VM me for support - I only help out in the threads.
                        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                        Want help modifying your vbulletin forum? Head on over to vbulletin.org
                        If I post CSS and you don't know where it goes, throw it into the additional.css template.

                        W3Schools <- awesome site for html/css help

                        Comment

                        • Miss T
                          Member
                          • Sep 2008
                          • 82
                          • 3.7.x

                          #13
                          Originally posted by Lynne
                          The last support ticket you put in was in May. I do not see any support ticket that you put in about this issue.
                          its right here

                          Comment

                          • Wayne Luke
                            vBulletin Technical Support Lead
                            • Aug 2000
                            • 73981

                            #14
                            Originally posted by Miss T
                            That is a bug report, not a support ticket.

                            According to the duplicate issue you're links to, it can be an issue with CMS entry page. What do you have entered under Settings -> Options -> Content Management -> Default Page?
                            Translations provided by Google.

                            Wayne Luke
                            The Rabid Badger - a vBulletin Cloud demonstration site.
                            vBulletin 5 API

                            Comment

                            • Miss T
                              Member
                              • Sep 2008
                              • 82
                              • 3.7.x

                              #15
                              Originally posted by Wayne Luke
                              That is a bug report, not a support ticket.

                              According to the duplicate issue you're links to, it can be an issue with CMS entry page. What do you have entered under Settings -> Options -> Content Management -> Default Page?

                              it says 1-Index i dont remember ever changing that one..

                              ill try the support ticket then... see if i can get it riight this time

                              Comment

                              Related Topics

                              Collapse

                              Working...