Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-03-2013, 05:47 PM
Clessidra Clessidra is offline
Member
 
Join Date: Dec 2012
Location: Oregon, USA
Posts: 39
Gender: Female
Credits: 6,025
Clessidra is on a distinguished road
Default Backslashes everywhere O_O;

So, everytime I enter an apostrophe a [wild] backslash appears!
Also, if I put an apostrophe in a shop title, I can no longer access the category with the shop with the apostrophe.





Is there anyway to fix this?

Last edited by Clessidra; 06-03-2013 at 06:22 PM.
Reply With Quote
  #2  
Old 06-03-2013, 09:49 PM
River cat River cat is offline
Member
 
Join Date: May 2013
Location: Russia, Siberia (Omsk sity)
Posts: 18
Gender: Female
Credits: 3,335
River cat is on a distinguished road
Default

Oh, that's weird. And seems this splash is only before '. Are you absolutely sure, that you didn't do thay accidantly, some sort of typo?
Also, I think you should try to make new shop without using this sign '

*checked this on my site. You should never use this ' , it will add splaches (I got three, lol) and then you loose access to the all shops in the category where is the wrong shop.
You should delete this, and cerate new.
Reply With Quote
  #3  
Old 06-03-2013, 10:04 PM
Clessidra Clessidra is offline
Member
 
Join Date: Dec 2012
Location: Oregon, USA
Posts: 39
Gender: Female
Credits: 6,025
Clessidra is on a distinguished road
Default

I appreciate you trying to helping, but I already know that it occurs when using an apostrophe.

Quote:
So, everytime I enter an apostrophe a [wild] backslash appears!
  • It occurs when using an apostrophe
  • It occurs in several places.
  • Editting the post with the backslashes will only create more.
  • It will make shop categories inaccessible if used in the shop name.

^Is what I know so far.
I removed it from my shop's name, but I'd still like to know how to fix it, if it's at all possible.

EasyRPG, another pet creator, had this issue when creating shop names with apostrophes, and it is still not fixed (Doug, why you no log on?). It was fixed from the forum though, which makes me hopeful that it can be fixed on this creator.
Reply With Quote
  #4  
Old 06-03-2013, 10:09 PM
River cat River cat is offline
Member
 
Join Date: May 2013
Location: Russia, Siberia (Omsk sity)
Posts: 18
Gender: Female
Credits: 3,335
River cat is on a distinguished road
Default

Clessidra, aw, sorry, I missed several words, because of morning and damn english ^^"
Reply With Quote
  #5  
Old 06-03-2013, 10:12 PM
Clessidra Clessidra is offline
Member
 
Join Date: Dec 2012
Location: Oregon, USA
Posts: 39
Gender: Female
Credits: 6,025
Clessidra is on a distinguished road
Default

It's fine xD Thank you for the suggestions and help, either way
Reply With Quote
  #6  
Old 06-04-2013, 10:53 AM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 48,658
Nemesis is on a distinguished road
Default

back slash is an escape character. Meaning its telling the computer to treat your apostrophes as literals (literally an apostrophe), rather than code.

for example the string 'don't touch me'

could be misinterpreted by a computer as just 'don' while everything else after me could then be reinterpreted as a string even though it is code. so you escape it to get the right string length.

like this 'don/'t touch me'

This is probably caused by php having a certain setting on. I think its called magic quotes.

I am guessing all that data you entered was via text boxes on your website. so when you entered the data the first thing php does is escape code characters, like apostrophes and dollar signs. so that users can not inject code into your site.

It is a security measure though and usually after the data has been cleansed and scanned it should then strip the slashes. Also if the input data is already protected by admin password, all the incoming data should be treated as safe and not need to be checked.

Easiest fix I can think of right now is to go into your database or php files and manually take out the back slashes.

also in your php files that collect the data there should be a line of coding saying add_magic_quotes(); You would want to remove that.
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote
  #7  
Old 06-04-2013, 11:43 AM
Clessidra Clessidra is offline
Member
 
Join Date: Dec 2012
Location: Oregon, USA
Posts: 39
Gender: Female
Credits: 6,025
Clessidra is on a distinguished road
Default

Thank you for the help!
I'll have my slav- I mean, Nieth, edit it in a bit.
Reply With Quote
  #8  
Old 06-04-2013, 04:30 PM
Nieth's Avatar
Nieth Nieth is offline
Aspiring
 
Join Date: Dec 2012
Location: North Carolina
Posts: 154
Gender: Male
Credits: 10,990
Nieth is on a distinguished road
Send a message via MSN to Nieth
Default

Thanks Nemesis. I can't seem to find that bit of code that you mentioned, so I'll just do everything manually for now.

Thanks again for the help.
Reply With Quote
  #9  
Old 06-05-2013, 01:37 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 48,658
Nemesis is on a distinguished road
Default

could also be called add_slashes() since magic quotes is deprecated. But some hosts have magic quotes set to on so it happens even if you don't explicitly use the code.
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote
  #10  
Old 06-05-2013, 07:27 PM
Nieth's Avatar
Nieth Nieth is offline
Aspiring
 
Join Date: Dec 2012
Location: North Carolina
Posts: 154
Gender: Male
Credits: 10,990
Nieth is on a distinguished road
Send a message via MSN to Nieth
Default

Thanks Nemesis, would you happen to know which file it may been in? I'm having trouble locating that one little piece of code. Even with the find feature.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:38 PM.

Currently Active Users: 330 (0 members and 330 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636