Forums

Error 0 after editing messages

emmexx 19 Nov, 2014
Starting yesterday when somebody edits his own posts an error 0 message gets thrown upon saving:


Oops, you've encountered an error 0
It appears the page you were looking for doesn't exist. Sorry about that.


I suppose I changed some setting but I don't know which one. I tried to go back to the setting that were in place up to yesterday, to no avail. Anyway I changed only the notification for subscribed topics, the like don't like system.

The url of the error page is something like:
http://www.mysite.com/forum/posts/edit/f11/t25/p81

And that is the same address of the edit button.

What happened?

thank you
maxx
Max_admin 21 Nov, 2014
Hi maxx,

Please try to find which setting was changed so I can check that, editing posts work fine in my local install and on the live site here, but its only permitted for super users.

What other settings did you change ?

Please enable the Joomla debug and test this.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
emmexx 21 Nov, 2014



Please try to find which setting was changed so I can check that, editing posts work fine in my local install and on the live site here, but its only permitted for super users.

What other settings did you change ?


Hi Max,
I traced down the error to the send_email_on_post_edit setting.
Settings before (only relevant lines):

"send_email_on_report":"0",
"reports_notify_groups":"",
"send_email_on_reply":"0",
"send_reply_content":"0",
"send_email_on_topic":"1",
"topics_notify_groups":["34","21"],
"send_email_on_post":"1",
"posts_notify_groups":["34","21"],
"send_email_on_post_edit":"0",
"posts_edit_notify_groups":"",


Settings after:

"send_email_on_report":"1",
"reports_notify_groups":["34","21"],
"send_email_on_reply":"1",
"send_reply_content":"1",
"send_email_on_topic":"1",
"topics_notify_groups":["34","21"],
"send_email_on_post":"1",
"posts_notify_groups":["34","21"],
"send_email_on_post_edit":"1",
"posts_edit_notify_groups":["34","21"]


First I set the settings to the previous working values. Afterwards I enabled one setting at a time. When I set send_email_on_post_edit and the 2 groups to be notified (forum moderators & superuser) I got again the error page.

Let me know if you need other info or tests.

Thank you
maxx
Max_admin 21 Nov, 2014
Hi maxx,

Nothing seems wrong in the code here, please send me a message using the "contact us" page to get a patch file and try it!

Did you enable the Joomla debug when testing this again ? maybe it will show something more helpful than error 0

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
emmexx 21 Nov, 2014


Nothing seems wrong in the code here, please send me a message using the "contact us" page to get a patch file and try it!


Ok, thank you.


Did you enable the Joomla debug when testing this again ? maybe it will show something more helpful than error 0


Yes, I did but I'm not a good joomla debugger. I saw only queries, nothing about wrong routes or missing session variables.
If it can be useful I can try again and send you the output.

bye
maxx
Max_admin 21 Nov, 2014
Answer
1 Likes
problem solved in the next update!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.