Invalid characters passed

Post

Posted
Rating:
#6446 (In Topic #1647)
Avatar
Standard member
Terry is in the usergroup ‘Well-settled’

Very low priority issues with the introduction of new PHP

This is not an issue that needs attention because it's probably going to be solved with newer Composr versions, but we have a Member that posts in the Forums. Those Forum posts often contain pictures. Those pictures have filenames with things like ` and ' and " in them. The post does save to the database, but Composr deletes the IMG tag because of the unusual characters. I usually go in and download the pics, rename them, and create the post for them again, so it's not a high level issue. A similar issue exists with the same Member when attempting to send Private messages/Topics to other members. That's because (probably) their nickname has a ' in it.

Invalid characters passed for attempted conversion, these have been ignored in /sources/misc_scripts.php on line 132

and

PS STILL unable to start NEW Private Topic - in Email system
Just tells me "Error accured" followed by:
Either you (“'Light'”) have lost access between the time of the link you clicked appearing and now, you have found a bug, or you are jumping into URLs.


I have offered to try to change their nickname to remove the ' mark as a fix.

 
Online now: No Back to the top

Post

Posted
Rating:
#6449
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
The last bit about "lost access between" seems to be some kind of subtle bug where we're not applying permissions consistently, rather than something username-related. I have just finished scouring the code to make it more consistent applying permissions, as it's very complex and subtle.
There's a hot fix in…

0004135: Inconsistencies applying forum permissions - Composr CMS feature tracker

Likely there is something the user lacks to create a PT. Check they have the "Create Private Topics" privilege. Check whoever they are trying to talk to hasn't set limited access to who they allow PTs from.

I'll reply to the rest separately.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#6450
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Invalid characters passed for attempted conversion, these have been ignored in /sources/misc_scripts.php on line 132

This is 0004136: Problem in vertical text generation - Composr CMS feature tracker


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Important!
Posted
Rating:
#6451
Avatar
Site director
admin is in the usergroup ‘Administrators’

Automated fix message

Terry said

This is not an issue that needs attention because it's probably going to be solved with newer Composr versions, but we have a Member that posts in the Forums. Those Forum posts often contain pictures. Those pictures have filenames with things like ` and ' and " in them. The post does save to the database, but Composr deletes the IMG tag because of the unusual characters. I usually go in and download the pics, rename them, and create the post for them again, so it's not a high level issue. A similar issue exists with the same Member when attempting to send Private messages/Topics to other members. That's because (probably) their nickname has a ' in it.

Invalid characters passed for attempted conversion, these have been ignored in /sources/misc_scripts.php on line 132

and

PS STILL unable to start NEW Private Topic - in Email system
Just tells me "Error accured" followed by:
Either you (“'Light'”) have lost access between the time of the link you clicked appearing and now, you have found a bug, or you are jumping into URLs.


I have offered to try to change their nickname to remove the ' mark as a fix.

 
This issue has now been filed on the tracker as issue #4137, with a fix.
Important!
1 guest and 0 members have just viewed this.

Statistics

Users online:

LowfareMart, 86 guests

Usergroups: 

Forum statistics:
  • 2,052 topics, 7,195 posts, 10,827 members
  • Our newest member is LowfareMart
Birthdays:
Back to Top