SMF Support > SMF 2.0.x Support

Quick Edit/Quick Responce gets stuck

(1/2) > >>

PLAYBOY:
When i click on edit the message the loading bar appear on the top but it gets stuck. Same thing happens when i try to quick respond and quote also.

 I dont know when this issues has started but I just moved to a VPS with webmin from shared with cpanel.

ziycon:
Sounds like there is an issue with the javascript running the ajax function. Can you list what mods you have installed please?

PLAYBOY:
Is there anyway to like re-install that function?
It may not be a mod issue/conflict because it has been a long time i have installed/updated a mod
Except, about a week ago Aeva didnt open for now reason and i uninstalled and installed it again.

1.    6 Custom buttons / tabs with Sub Menus (4)    0.5    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
2.    Hide SMF Version    1.0.6a    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
3.    AjaxChat Integration    3.2.1 (modified for SMF 2 RC3)    [ Dosyaları Listele ] [ Kaldır ]
4.    SMF Chess    2.1.4    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
5.    Collapsible Categories    2.0.1    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
6.    Spider Images    0.3    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
8.    SMF 2.0.1 Update    1.0    [ Dosyaları Listele ] [ Kaldır ]
9.    Post History    1.02    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
10.    SimplePortal    2.3.3    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
11.    OS & Browser Detection    1.5    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
12.    SMF 2.0.2 Update    1.0    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
13.    Invitation System    1.0.5    [ Dosyaları Listele ] [ Kaldır ]
14.    Simple .htaccess Cache Mod    2.6    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
15.    cb|Emailogin    0.61    [ Dosyaları Listele ] [ Kaldır ]
16.    Advance Facebook Like with OpenGraph    0.2    [ Dosyaları Listele ] [ Kaldır ]
17.    Ad Managment    3.0.1    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
18.    ENotify    2.0.1    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
19.    Invitation System    1.0.6    [ Dosyaları Listele ] [ Kaldır ]
20.    Related Topics    1.4    [ Dosyaları Listele ] [ Kaldır ]
21.    PDF Tag    1.1    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
22.    SMF Archive    2.0    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
23.    Auto Refresh Who Index    1.0    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
24.    Caps_Lock_Detection_on_Login    1.1.0.1    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
25.    Google Analytics Code    1.4    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
26.    Aeva Media    1.4w    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
27.    Invitation Message In Your Face (IMIYF)    0.3.1    [ Kaldır ] [ Dosyaları Listele ] [ Kaldır ]
28.    Automatic Index 2.4    2.4    [ Dosyaları Listele ] [ Kaldır ]

PLAYBOY:
So? I listed all the mods here. Any help?

AngelinaBelle:
Unless some mod has mangled that AJAX function, you do not need to reinstall it. 
SMF and well-written SMF mods handles AJAX functions as follows
1) There is some javascript on the page that does some stuff, and then calls SMF with a action, specifying XML output
2) There is an addition to SMF's list of actions, and a file containing a function for that action, and XML output is specified
3) There is some more javascript on the page to handle the XML document returned by SMF.

So, if this is not working, then there is some problem calling or running the javascript, or executing the custom SMF action.
That means that
a) There is/are some HTML errors preventing the javascript from running.  I believe you have reported, in another topic, some HTML errors on your page which lead to some javascript not being recognized as javascript. 
b) The javascript for this function has been mangled by some customization -- perhaps by a mod
c) Some other javascript is running on the page, interfering with the operation of the javascript you are concerned about
d) Some change to the actions array is causing a problem calling the action.  This could involve a change to the php file where the action array is listed, or else could have been done by the action array hook.  Few mods use the hook for adding a custom action, so the first place to check would be in index.php, where the action array is found
e) Some change to the php file which contains the function(s) for the AJAX function that is giving you problems.

It MIGHT be interesting to try to figure out which of these is most likely, and track them down, but I think it might be quicker and easier to be more pragmatic, especially since you have stated you are not interested in learning HTML, javascript, and php.

Step 0 -- before you do ANYTHING to your forum, backup your database and take a copy of ALL of your files, so you can quickly "roll back" to the current point, where things work almost-ok in case you make any big mistakes along the way.

I) HTML errors -- you have already stated you have HTML errors on your page.  Fix them.  This MIGHT fix the problem, and is something you need to do anyway.
II) Theme.  Does this happen in all themes or only one theme? Do you have the original, out-of-the-box, unadultarated-by-any-subsequent CURVE theme installed? Many mods (including SimplePortal) make changes to the theme.  You could grab the files from the install set and install them as CURVE in a new theme directory without breaking any mods.  Then you could test whether the AJAX function works with that theme.
III) If I and II don't fix it, you can narrow things down.  Uninstall all mods, one at a time, in the reverse order to which you installed them. Test each time, until the feature works again.  At that point, you will know that the last-uninstalled mod is related to the problem. It might be the sole culprit, or (rarely) it might cause the problem only in conjunction with some other mod.
IV) Start from scratch: If III does not fix it, you may simply need to start from scratch.  By now, you will have uninstalled all the mods.  So simply get a fresh copy of all the php, js, and css files for your forum, in every directory -- the root, sources, every theme.
Get rid of any php, js, or css files leftover by any mods.    Then selectively re-download and install mods, one by one, testing for the problem between installs.  Install the highest-priority mods first, and leave the least-important ones for last.

Navigation

[0] Message Index

[#] Next page

Go to full version