+ Reply to Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: Issue with Messaging contact form

  1. #11
    Senior Member
    Join Date
    Oct 2014
    Posts
    169
    Thanks Curtis...
    Thanks...QuickRon
    It was great coming here today to see this bug...

    I wouldn't have noticed this one

  2. #12
    Quote Originally Posted by QuickRon View Post
    Fantastic! It works!
    Thank you Curtis!!

    Will Flynax include this fix in the next core update?
    Yes, i've added it to our tasks list.
    Thanks for your attention.
    Thank you, Curtis.
    @Flynax Company

  3. #13
    [QUOTE=Curtis;17788]Hi all,

    1. The problem related with security in webhost. Web-server blocked ajax requests in GET format with special chats in content.
    2. Solution is simple: replace GET to POST


    find method contactOwnerSubmit() in file: \templates\general_modern\js\lib.js



    and changed it:



    also you need changes in php file /includes/classes/rlMessage.class.php in method contactOwner()

    find code:

    PHP Code:
    Only registered members can view the code
    and replace it to:

    PHP Code:
    Only registered members can view the code
    /QUOTE]

    So does this fix the issue Curtis,

    I'm thinking of updating the software to 4.5.2 this weekend?
    Anyone confirm? I read Pete comment on the first page and it seems not working for him but Ron said it worked for him

  4. #14
    Senior Member
    Join Date
    Dec 2014
    Location
    Germany
    Posts
    199
    Yes that resolved the error :-)

  5. #15
    Quote Originally Posted by Stephane Boultgen View Post
    Yes that resolved the error :-)
    Thanks Stephane

  6. #16
    Hello Wei Hong,

    Pete has a mistake in code and after fixing syntax problem it works properly.
    Thank you, Curtis.
    @Flynax Company

  7. #17
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    Quote Originally Posted by Wei Hong View Post
    So does this fix the issue Curtis,

    I'm thinking of updating the software to 4.5.2 this weekend?
    Anyone confirm? I read Pete comment on the first page and it seems not working for him but Ron said it worked for him
    yes the fix is fine I have another unrelated problem with the contact seller

  8. #18
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    I have discovered a further problem with this patch, if a user is logged an and they send a message to another user they end up with unwanted charactures in the resulting email, see example below. there is a series of \n\ placed into the email message where there are line breaks / where you press enter to leave a space.

    this does not happen if it is a visitor leaving a message but if your logged in and send one to another user this is the resulting email.

    how to fix ?

    Dear Fred,

    ozepicker at mysite.com sent you a message.
    Subject: Early Iron - A Biker #192 Supplement

    my test message when logged in to another user.\n\none break here.\n\n\nand two more here.\n\nregards Pete

    You can reply to the message at the link below:
    https://www.mysite.com/my-messages.html?id=3

  9. #19
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello Pete,

    go to ftp > request.ajax.php > case 'contactOwner':

    find:
    PHP Code:
    Only registered members can view the code
    and change to:
    PHP Code:
    Only registered members can view the code

  10. #20
    [QUOTE=Rudi;21919]Hello Pete,

    go to ftp > request.ajax.php > case 'contactOwner':

    find:
    PHP Code:
    Only registered members can view the code
    and change to:
    PHP Code:
    Only registered members can view the code
    /QUOTE]

    Hello Rudi, Does not open the way for abuse or sql injection?

+ Reply to Thread