×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Request Failed

Request Failed 15 years 6 months ago #4041

  • bruno
  • bruno's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Hello, It is impossible to send Request. I tried all the previous post advises but the same.
In firefox I have ;Request failed. and in IE I have: Invalid at the top level of the document. contact support and send the following informations: error is line 1 position 1>> can't send the comment, Echec Global.


http://www.crete-et-vacances.com/index.php?option=com_content&task=view&id=252&Itemid=325
If you have any Idea! It will be Great. Thank you very much
Bruno from crete Greece

Request Failed 15 years 6 months ago #4047

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Would you update to 3.26? Also did you make changes to the language or template file?

Request Failed 15 years 6 months ago #4050

  • bruno
  • bruno's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Dear Daniel,

Thank you very much for you answer.
To answer I didn't change template
For the language I was in automatic and English but was not working.
I uninstal 6.23, but in the ftp I can't delete the file "century.ttf" (777)
so I can't make new installation with 6.26.

Request Failed 15 years 6 months ago #4072

  • bruno
  • bruno's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Dear Daniel,

Finally my hoster deleted the file ;-)
And then I made new installation with 3.26.
I have progress! Now I can send request only if I enable in front end "notify".
If I disable in back end "Enable users notification" is not working.
Do you have an Idea?

Request Failed 15 years 6 months ago #4073

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Failed saving comment is the message that appears when we fail to save the comment (LOL)
        $database->SetQuery("
            INSERT INTO jos_comment
            (contentid,component,ip,userid,usertype,date,name,email,website,notify,title,comment,published,voting_yes,voting_no,parentid)
            VALUES(
            '$this->_content_id',
            '$com', 
            '$ip',
            '$userid',
            '',
            '$datenow',
            '$name',
            '$email',
            '$website',
            '$notify',
            '$title',
            '$comment',
            '$published',
            '0',
            '0',
            '$parent_id'
            )");
        $result=$database->Query() or die(_JOOMLACOMMENT_SAVINGFAILED); 
 

Would you check if you have the jos_comment table and if it has the following fields:
contentid,component,ip,userid,usertype,date,name,email,website,notify,title,
comment,published,voting_yes,voting_no,parentid

Request Failed 15 years 6 months ago #4074

  • bruno
  • bruno's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Hello,

I don't know if I explain well: when in front end I want to make a comment, I have to put notify on the mail line. If not I can't send the request. Also when I put notify, I don't receive any mail even when I deleted the comment in back end with "Delete (notify-writer)".
If in backend security I disable : Enable users notification then I can't send the form "failed".
I jos_comment it is :contentid,component,ip,userid,usertype,date,name,email,website,notify,title,comment,published,voting_yes,voting_no,parentid

Thank you for helping

Request Failed 15 years 6 months ago #4075

  • bruno
  • bruno's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
You can try here if you like:
www.crete-et-vacances.com/index.php?opti...d=252&Itemid=325

Thank you

Request Failed 15 years 6 months ago #4076

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
LOL, that is really a strange problem.
Are you willing to provide me with ftp access so I can debug it?

Request Failed 15 years 6 months ago #4077

  • bruno
  • bruno's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
ok, I send you everythings

Request Failed 15 years 6 months ago #4078

  • bruno
  • bruno's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
I send I by admin?

Request Failed 15 years 6 months ago #4079

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ok, I got them. I will start to look for the problem, so if something strange happens don't worry it is me :)

Request Failed 15 years 6 months ago #4080

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
It must be working now. That was a very strange thing.
normally the notify variable returns true or false (if the users choose to be notified - the variable is true and ...)

But on your configuration if the variable is false, then the save function brakes. So I changed
        $notify = JOSC_utils::mysql_escape_string(strip_tags($this->_tnotify)) ? true : false ;
to
        $notify = JOSC_utils::mysql_escape_string(strip_tags($this->_tnotify)) ? 1 : 0 ;

hope that everything is fine now.

Request Failed 15 years 6 months ago #4081

  • bruno
  • bruno's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Yes is fine!!!!!!!!
Super Daniel!
I'm very Glad!
But why brake the save fonction in false?
You did fast and Great job!

Bravo!
And if you come in Crete one day, come to say hello ;-)

Request Failed 15 years 6 months ago #4090

  • bruno
  • bruno's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Dear Daniel,

I don't know if you have seen in you privates message the backend logins.

Thank you

Bruno

Request Failed 15 years 6 months ago #4091

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Bruno,
Yea, I saw them, but after I asked you I found the bug and I didn't need them anymore. You can disable my backend account!
Cheers!
  • Page:
  • 1
Time to create page: 0.139 seconds