[support] Strange characters in source of block

Anthony tony at tony-mac.com
Mon Apr 30 16:15:51 UTC 2012


I got this blurb from Bluehost:

"Some versions of Drupal have begun to display this problem with internal
character escaping functionality. I suggest you contact their support,
community forums or documentation if you wish a final answer as to the
cause. Fixing the issue is very simple, you have two options stop the
escape characters from being inserted:

   1.

   Change to PHP 5.3 and update your Drupal installation to the most recent
   version. This can be done in the PHP Config section of the cPanel. Simply
   click on the radio button to the left of PHP 5.3 or PHP 5.3 Single
   (depending on which php.ini behavior you prefer) and then save the changes.
   2.

   You may also disable magic_quotes_gpc in the php.ini. This is done by
   finding the php.ini that applies to your Drupal installation in the File
   Manager, and Editing it. Once inside, search (the ctrl+f find function is
   recommended) for the line magic_quotes_gpc=On and set this variable to
   magic_quotes_gpc=Off

Note, the magic_quotes_gpc line may exist more than once, if so, duplicates
should be removed."

On Mon, Apr 30, 2012 at 6:59 AM, Joel Willers <joel.willers at sigler.com>wrote:

> BlueHost just redeployed some servers and MagicQuotes seems to be
> everywhere. COMPLAIN TO THEM! (Like I did)
>
> Joel
>
> -----Original Message-----
> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
> Behalf Of Earnie Boyd
> Sent: Monday, April 30, 2012 8:11 AM
> To: support at drupal.org
> Subject: Re: [support] Strange characters in source of block
>
> On Sun, Apr 29, 2012 at 12:26 AM, Anthony <tony at tony-mac.com> wrote:
> > One other thing with this backslash situation:
> >
> > I looked in the log and find some entries I can not explain. I know I
> > was sitting in a pub drinking beer with a buddy on the 26th from 6-9.
> >
> > Yet the log says an anonymous user was running cron at 19:33. Is this
>
> The cron process would run as the anonymous user from the crontab entry, I
> assume you have one setup in your cPanel.
>
> > something automatically run? Then the message about an image not being
> > able to be generated sounds like one of the errors I had when I was
> > trying to fix the backslash problem. I certainly wasn't awake at 2 in
> > the morning. Not having much experience at all with the logging system
> > in Drupal I really don't know how to explain. (yes my time zone
> > settings are set to west
> > coast.)
> > Here just a few of the entries.
> >
> > cron 04/27/2012 - 09:48 Cron run completed. Anonymous (not verified)
>
> Generated by the cron run, which is OK.
>
> > image 04/27/2012 - 06:37 Unable to generate the derived image located
> at...
> > Anonymous (not verified)
>
> Generated by some module, I don't know if it is good or not.
>
> > page not found 04/27/2012 - 02:20 node/7 Anonymous (not verified)
>
> Someone accessed node/7 and it doesn't exist.
>
> > cron 04/27/2012 - 00:52 Cron run completed. Anonymous (not verified)
>
> See above.
>
> > page not found 04/27/2012 - 00:52 node/11 Anonymous (not verified)
>
> Someone accessed node/11 and it doesn't exist.
>
> > image 04/26/2012 - 23:15 Unable to generate the derived image located
> at...
> > Anonymous (not verified)
>
> See above.
>
>
> I don't see anything in the operation here that would cause the &quot; or
> \" entries.  Note that \ is prepended to " before saving it in the DB via
> http://us3.php.net/mysql_real_escape_string and is supposed to be in the
> DB data if that is where you are checking it.
>
> --
> Earnie
> -- https://sites.google.com/site/earnieboyd
> --
> [ Drupal support list | http://lists.drupal.org/ ]
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>



-- 

*Anthony Stefan Maciejowski*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120430/cf805c54/attachment-0001.html 


More information about the support mailing list