Failed Successfully!
Posted
#10190
(In Topic #3520)

Standard member

Error screen after successful submit
Ok, I am not 100% sure if this is a bug with the software or just something on my end. I have not had this happen until after updating to beta 5.Here's a run down on what is happening, I go and add an entry into catalogue. It gives me an error message. However, if I go and look the entry was added successfuly. Basically it is an error after a successful submission. Here's the error:
Code
A query has failed [INSERT INTO cms_messages_to_render (r_session_id, r_type, r_time, r_message, r_message__text_parsed, r_message__source_user) VALUES ('y8wh8akdkfn9n', 'inform', 1734238689, 'Your action was successful.', 'return unserialize(\"a:5:{i:0;a:1:{i:0;a:1:{i:0;a:5:{i:0;s:40:\\\"string_attach_675e61e11ed619.92566945_27\\\";i:1;a:0:{}i:2;i:1;i:3;s:0:\\\"\\\";i:4;s:0:\\\"\\\";}}}i:1;a:0:{}i:2;s:10:\\\":container\\\";i:3;b:0;i:4;a:1:{s:40:\\\"string_attach_675e61e11ed619.92566945_27\\\";s:96:\\\"\\$tpl_funcs[\'string_attach_675e61e11ed619.92566945_27\']=\\\"echo \\\\\\\"Your action was successful.\\\\\\\";\\\";\\n\\\";}}\");\n', 2)] [Unknown column 'r_message__text_parsed' in 'field list'] (version: 11 beta5, PHP version: 8.2.24, URL: https://legendsofnorova.cc/cms/index.php?page=cms-catalogues&type=_add&catalogue_name=spells&auto__add_one=1&uploading=1)
So basically it is failing to show the "Your action is successful" screen. Here's the kicker, it does show that if I am adding only a couple things and allowing it to go back to the catalogue page. But I selected the going to add many entries thing which means it should simply show the banner but also the add entry form. It is failing to show that banner and instead giving me the error. But it adds the entry.
I am confused lol. Help?
Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!
"Those who want help should first be willing to give help."
Posted

Site director

0006069: messages_to_render's r_message did not get promoted to a Comcode field in 11.beta5 - Composr CMS feature tracker
Essentially, yes, the action was successful, but there was an error trying to tell you it was successful just like you said.
- Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
- Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
- Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
- Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
- Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
1 guest and 0 members have just viewed this.