The Quickedit function of the AJAX Mod is not working

Allgemeiner Support zum phpBB 2 Board und phpBB 2 Modifikationen
Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
Antworten
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

The Quickedit function of the AJAX Mod is not working

Beitrag von mariokaz »

Hello oxpus, :)

The Quickedit of my Ajax Mod is not working my friend, when I want to edit any post with the Quickedit I can't do it, when I clicked Save the changes in the post that I want to edit, the changes in the post doesn't appears. :(

Also If I want to use the Quickedit in some posts that aren't the last ones in the topic when I clicked in the link of Quickedit in the post that I want to edit, it send me directly to the complete edit page not appears the Quickedit field. ¦9

I put here my files and thanx in advance. :p
Zuletzt geändert von mariokaz am Fr 25.Aug, 2006 05:57, insgesamt 2-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Will the changes just not be saved or the window do not close for it?
On both check the version of your webserver. It may be to old...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

The window close it and the changes not be saved.

I tested it in IE 6 and also I installed yesterday Firefox and tested also with it and the same problem in both cases, so I think that is not the problem, also I think if that is the problem I can't use the Quickedit here in your forum and I am using it and works perfect.

Also in all the posts except the last one of the topic, when I clicked in the Quickedit link it send me directly to the complete edit page and not appears the Quickedit window in that posts, so only appears in the last post of the topic.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

So I think, the webserver which you uses could not send back the responce to finish the request.
Check it and (lets) update the webserver, if possible.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

MMM I don't understan very well that. ^6

And also I don't understand why before I updated my AJAX Mod, this works fine in my webserver of always (Internet Explorer 6) and now updated is not working, neither with IE and also with Firefox. ¦4
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Do you have empty the browser cache?
Its recommended after updating AJAX tools!
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

No my friend.

Let me do that and tell you in the moment the results.

------------------

Well I deleted cookies and cache in my browsers and I am still having the same problems in the Quickedit function. :(

If you want to see this, enter with this account:

Username: tester
Password: test

And test it in my Forum for tests:

http://www.all-reefs.com/inicio/test-vf72.html


Cheers.
Zuletzt geändert von mariokaz am Sa 26.Aug, 2006 02:34, insgesamt 1-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Which webserver (Name and release) do you use?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

Hi Oxpus,

Did you tested and it works fine ? :eek:

I am using Internet Explorer Version 6 and also I downloaded this week the Firefox Version I think is 1.5.0.6 downloaded from www.mozilla.com :eek:
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

I wrote webserver, not browser ;)
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

Jajajajaja you are right my friend!!

And how can I check that ?, you mean the PHP version ?, sorry!!

Also is not working for all my users and here in your forum I used the Quickedit function and is working perfectly in my computer.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

NO!
I mean the webserver, like Apache, IlS, etc.!
You can find it in the phpinfo...

The name of the webserver and release I wants to know.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

I find this "Apache/1.3.37" here:

http://www.all-reefs.com/phpinfo.php

Thanx again my friend. ;)
Zuletzt geändert von mariokaz am So 27.Aug, 2006 18:05, insgesamt 1-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Okay, the webserer itself can handle AJAX requests.

Please enable the AJAX debug mode:
Find in the ajax_core.js the lines

Code: Alles auswählen

var AJAX_DEBUG_RESULTS = 0;
var AJAX_DEBUG_REQUEST_ERRORS = 0;
var AJAX_DEBUG_HTML_ERRORS = 0;
and replace each 0 with 1.
After saving and closing this file, empty the browser cache and retry to use the quickedit.
If the responce will work, you will get one or more javascript alerts. Please post the content of them (screenshot) to check them out.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

Ok let me try that.

-----------------

I did that and I am getting this errors: (first the AjaxError.jpg and when I clicked OK(Aceptar) then appears the AjaxError2.jpg)
Zuletzt geändert von mariokaz am So 27.Aug, 2006 18:32, insgesamt 5-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Okay. Only one part of the ajax.php can produce this error:

Code: Alles auswählen

	$sql = 'UPDATE '. POSTS_TEXT_TABLE ." 
	        SET post_text = '$message', bbcode_uid = '$bbcode_uid' 
	        WHERE post_id = $post_id";
	if %u28!$db->sql_query%u28$sql%u29%u29
	%u7b
		$result_ar = array%u28
			'result' => AJAX_ERROR,
			'postid' => $post_id,
			'error_msg' => 'Could not update post'
		%u29;
		AJAX_message_die%u28$result_ar%u29;
	%u7d
Please change the line

Code: Alles auswählen

			'error_msg' => 'Could not update post'
into

Code: Alles auswählen

			'error_msg' => 'Could not update post'.$sql
and post the result (screenshot)...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

Ok here are the results (screenshots): (first AjaxError3 and then AjaxError4)
Zuletzt geändert von mariokaz am So 27.Aug, 2006 19:11, insgesamt 1-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Okay, wrong ajax.php.
Download the AJAX Features from here and replace the ajax.php.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

Ok my friend, the problem is I uploaded the ajax.php file that is in the Contrib/Post_Move_Instead_Delete Folder of the Mod, because I have that mod instaled too in my forum.

Now I uploaded the ajax.php file that is in the Root Folder of the Mod and yes now is working. :D

But I am still having this problem:

In all the posts "except" the last one of the topic, when I clicked in the Quickedit link it send me directly to the complete edit page and don't appears the Quickedit window in that posts, so only appears in the last post of the topic. ¦4
Antworten