Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Addons/Mods Graveyard (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=41)
-   -   Adopts News (http://www.mysidiaadoptables.com/forum/showthread.php?t=881)

Bloodrun 06-01-2009 08:31 AM

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 =/

Saphira 06-01-2009 09:00 AM

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.

Bloodrun 06-01-2009 09:12 AM

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 =/

Saphira 06-01-2009 09:56 AM

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.

Bloodrun 06-01-2009 09:57 AM

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

Saphira 06-01-2009 10:15 AM

RE: Adopts News
 
Exactly the same. If you want I can link you to the test site where I'm trying to fix this.

BMR777 06-01-2009 10:33 AM

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.

Bloodrun 06-01-2009 10:35 AM

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

Saphira 06-01-2009 10:52 AM

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?

BMR777 06-01-2009 11:12 AM

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.


All times are GMT -5. The time now is 09:00 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.