Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Addons/Mods Graveyard

Notices

Reply
 
Thread Tools Display Modes
  #41  
Old 06-01-2009, 08:31 AM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 28,674
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: Adopts News

Quote:
Originally Posted by Saphira
Yeah it is weird. I just tried uploading a fresh add_news.php, to see if it would change anything, and nada. Still nothing. The problem was posting articles with single quotes in lol.
Yeah that's making no sense to make o.0 I have even test it out on mine, with nothing but single quotes, no problem =/
Reply With Quote
  #42  
Old 06-01-2009, 09:00 AM
Saphira Saphira is offline
Member
 
Join Date: Jan 2009
Posts: 89
Credits: 5,758
Saphira
Default RE: Adopts News

I don't get a problem posting articles with just ''''''''''''''' in, they go in fine. It's when I use stuff like "I'm, I'll, Bloodrun's, Saphira's, BMR's" etc.
Reply With Quote
  #43  
Old 06-01-2009, 09:12 AM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 28,674
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: Adopts News

Quote:
Originally Posted by Saphira
I don't get a problem posting articles with just ''''''''''''''' in, they go in fine. It's when I use stuff like "I'm, I'll, Bloodrun's, Saphira's, BMR's" etc.
That doesnt make since though, because the stripsplash should take care of that =/
Reply With Quote
  #44  
Old 06-01-2009, 09:56 AM
Saphira Saphira is offline
Member
 
Join Date: Jan 2009
Posts: 89
Credits: 5,758
Saphira
Default RE: Adopts News

I've just done a completely fresh install of both the adoptables script, and of the news script. I'm getting the exact same error. The only thing I've changed in the whole thing is the detail section in the database from varchar to LONGTEXT.
Reply With Quote
  #45  
Old 06-01-2009, 09:57 AM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 28,674
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: Adopts News

Quote:
Originally Posted by Saphira
I've just done a completely fresh install of both the adoptables script, and of the news script. I'm getting the exact same error. The only thing I've changed in the whole thing is the detail section in the database from varchar to LONGTEXT.
Try just making it varchar, and make it a really number like, 10,000
Reply With Quote
  #46  
Old 06-01-2009, 10:15 AM
Saphira Saphira is offline
Member
 
Join Date: Jan 2009
Posts: 89
Credits: 5,758
Saphira
Default RE: Adopts News

Exactly the same. If you want I can link you to the test site where I'm trying to fix this.
Reply With Quote
  #47  
Old 06-01-2009, 10:33 AM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,722
BMR777 is on a distinguished road
Default RE: Adopts News

Bloodrun, are you running the secure function twice on the data? That could potentially add two sets of quotes.

Also, is PHP Magic Quotes enabled on the server having this error? That may also cause issues as that automatically tries to escape data in some situations, which secure() takes care of.
Reply With Quote
  #48  
Old 06-01-2009, 10:35 AM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 28,674
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: Adopts News

Quote:
Originally Posted by BMR777
Bloodrun, are you running the secure function twice on the data? That could potentially add two sets of quotes.

Also, is PHP Magic Quotes enabled on the server having this error? That may also cause issues as that automatically tries to escape data in some situations, which secure() takes care of.
Twice for the same function?
It might be possible Ill check.

The second thing, I believe your talking to Saphira, so yeah.. lol
Reply With Quote
  #49  
Old 06-01-2009, 10:52 AM
Saphira Saphira is offline
Member
 
Join Date: Jan 2009
Posts: 89
Credits: 5,758
Saphira
Default RE: Adopts News

I used
PHP Code:
<?
if(get_magic_quotes_gpc())
    echo 
"Magic quotes are on";
else
    echo 
"Magic quotes are off";
?>
To see if magic quotes were enabled or not on http://jonalicious.com/magic.php. Apparently they are off. Is this a problem?
Reply With Quote
  #50  
Old 06-01-2009, 11:12 AM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,722
BMR777 is on a distinguished road
Default RE: Adopts News

No, if magic quotes are off that's fine. If they were on, which they are on by default on some real old PHP installs, that could account for double slashes on ' marks and thus why the single quotes would not appear correctly.

Since they are off though the single quotes not appearing correctly is not caused by what I thought it might be.
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mys v1.3.4 News System IntoRain Mys v1.3.x Mods 66 02-27-2018 05:35 PM
Female Adopts can breed; male adopts only have 1. Phoeniix Questions and Supports 2 11-09-2013 01:56 AM
News Feed Yuki Night Suggestions and Feature Requests 0 01-30-2013 12:04 AM
Implementing A News Feed Yuki Night Questions and Supports 0 01-29-2013 05:25 PM
News 12345 Questions and Supports 9 05-10-2009 03:13 PM


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

Currently Active Users: 9724 (0 members and 9724 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