Error while submit a message

patleo - September 26, 2007 - 21:47
Project:Drupal ajaxIM
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Pedrindg
Status:active
Description

hy buds,

i want to use this great module but only (re)action i see after submit a message is the error report "An error occured while sending your message." (ajax_im.js code line 406). are there things to adjust/check before using ajaxim?

in the ajaxim block any buddy is shown. while installing this module there were no errors and the right 3 tables are quite in the database.

what have i done wrong?

thanks.

greetings, Patleo

#1

hansln - October 1, 2007 - 14:34

i have the same problem.

Any ideas? What is wrong?

Greetings Hans

#2

RaRi - October 7, 2007 - 11:38

Same here...

Are temp. DB tables used somewhere in the code?

#3

mschlanser - October 9, 2007 - 17:34

I am also getting an error message. I do see that no rows are getting inserted into the database at all. after looking at the httpd error logs i found this entry :

[Tue Oct 09 13:10:17 2007] [error] [client ***.***.***.***] File does not exist: /var/www/html/ajaxim_server, referer: http://www.************.com/?q=admin/build/block

Any ideas anyone ?!?! This is an important piece for the website.

Thanks in advance,
Mike

#4

bwv - October 12, 2007 - 10:56

Make sure you use the correct version: ajaxim-5.x-1.x-dev.tar.gz

This is error free and works great. Regards.

#5

rexselin - October 25, 2007 - 09:04

I am also getting the same error. The script is trying to call ajaxim_server and the file doesn't exist. Is the version drupal4.7.x broken? Could anyone please let me know?

#6

Kirishita - November 14, 2007 - 15:35

Hey everybody

it is trying to call the ajax_server module which doesn't exist in the latest release. It was replaced by a Deamon which I'm unable to configure.

I beg the developers to release a php ajax_server module again so that I'm able to us this fabolous and best IM module for drupal and provide it to my 1000+ users.

Thank you

#7

RaRi - December 26, 2007 - 00:47

Any news here?

I am using the latest 5.x-1.x-dev but still getting the error.

#8

Kirishita - January 10, 2008 - 07:09

Is this Module still being maintained?

#9

mr.andrey - January 21, 2008 - 02:22

subscribing

#10

Pedrindg - February 27, 2008 - 21:54
Priority:normal» critical
Assigned to:patleo» Anonymous

I have the same problem. When I submit a message i see an error report: "error occured while sending your message." i've checked the code in ajaxim.js and i saw that the system searches the ajaxim_server module wich i already got. Pls if someone can tell me what's the problem i would really appreciatte it! thanks!

#11

Pedrindg - February 28, 2008 - 13:44
Priority:critical» normal
Assigned to:Anonymous» Pedrindg

I've found a solution for the problem when i submit a message. I think it could be because the default path for the url that searches the ajaxim_server file is like: localhost/myweb/ajaxim_server... and in my server i have the configuration path like this localhost/myweb/?q=ajaxim_server.

I changed the code on ajaxim.module file at line 39:
Before:
35 $vars .= "" .
36 "var username='$user->name';" .
37 "var fstatus='$status';".
38 "var fcurstatus='". db_escape_string($stmsg) ."';".
39 "var pingTo = '". url(null, null, null, true) ."ajaxim_server';" .
40 "";

After:
35 $vars .= "" .
36 "var username='$user->name';" .
37 "var fstatus='$status';".
38 "var fcurstatus='". db_escape_string($stmsg) ."';".
39 "var pingTo = '". url(null, null, null, true) ."?q=ajaxim_server';" .
40 "";
By the way i'm using the version 2.0 of the ajaxim for Drupal.
Pls Let me know if someone have solved the problem!

#12

jasmine - April 18, 2008 - 20:29

Hello, I've the same problem, and have look around, could this message been generated by the cause that anyone of my buddylist is not online? I just feel this looking at the dependencies of this module ... I like it very muche and would like to use it :)
Jasmine

#13

nimzie - July 10, 2008 - 12:55

I am having the same error as everyone else on here. I did the install by just enabling modules. It's all working well. When testing with one user on Firefox and one on I.E, I am not able to send messages. I get the same error as reported. I've tried the solution Pedrindg, but it didn't work. I didn't suspect it would as I'm using Drupal 5.7 w/ Clean URLs.
Is this module still being supported at all? It's an extremely valuable one for many sites I'm sure...

Thanks for the great work on this so far :)

#14

metazoid - August 31, 2008 - 17:43

So has anyone been able to get this to work? I would really like to use this script but this "error while submitting message" dialog is broken the module. Apparently it is not submitting any of the messages to the mysql database. I've tried looking through the script for the solution but I can't figure it out. So is this module still being supported?

BTW I'm running t he 5.x-2.x-dev version. Thank you to anyone that can solve this problem.

#15

njehlen - November 3, 2008 - 20:34

subscribing

#16

vishun - November 14, 2008 - 14:26

I was having the exact same problem! Until i had a realization... earlier on in this thread someone mentions using a specific version of this module.. i paid no mind originally, figuring that the version of the module available from the main page was the best one to use...

wrong... BWV pointed out that the specific version "ajaxim-5.x-1.x" WORKS and is ERROR FREE where as the current version that they have posted on the main modules page DOES NOT WORK... the WORKING version is under "View All Release"

heres is the direct download for the actual working version of this module.. i havnt noticed any differences visually, only difference ive noticed is -- IT WORKS -- promise -- no send error wheeee -- i just verified and clarified this issue.. hope i made some peoples days :)

http://ftp.drupal.org/files/projects/ajaxim-5.x-1.x-dev.tar.gz

 
 

Drupal is a registered trademark of Dries Buytaert.