[kwlug-disc] KWLUG error and security issue

Khalid Baheyeldin kb at 2bits.com
Tue Mar 2 10:56:08 EST 2010


Regarding error visibility to end users, there is a setting here that can be
toggled.

http://kwlug.org/admin/settings/error-reporting

I set it to Log only and the errors do not show on the page to end users.

The table still needs to be repaired.

On Tue, Mar 2, 2010 at 10:35 AM, Khalid Baheyeldin <kb at 2bits.com> wrote:

> Paul or someone with ssh access. Do this:
>
> # mysql dbname
> mysql > repair table accesslog;
>
> That should fix this problem.
>
>
> On Tue, Mar 2, 2010 at 10:30 AM, Raul Suarez <rarsa at yahoo.com> wrote:
>
>> I went to the KWLUG to grab John's slides and I got this error
>>
>> "user warning: Table 'accesslog' is marked as crashed and should be
>> repaired query: INSERT INTO accesslog (title, path, url, hostname, uid, sid,
>> timer, timestamp) values('Regular Expressions', 'node/664', '
>> http://ca.mc309.mail.yahoo.com/mc/welcome?.gx=1&.tm=1266956662&.rand=6jcgksvfkpv75',
>> '167.92.122.10', 0, '31f8b864f91890c64154c911ba129032', 332, 1267543646) in
>> /u2/home/kwlugor/public_html/includes/database.mysql.inc on line 172."
>>
>> 1. This is not a "user readable" error
>> 2. This seems to give a lot of information about the internals of the
>> website.
>>
>> Is this a Drupal framework issue or each Drupal site should handle
>> exceptions on their own?
>>
>> Raul Suarez
>>
>> Technology consultant
>> Software, Hardware and Practices
>> _________________
>> http://rarsa.blogspot.com/
>> An eclectic collection of random thoughts
>>
>>
>>
>>
>>      __________________________________________________________________
>> The new Internet Explorer® 8 - Faster, safer, easier.  Optimized for
>> Yahoo!  Get it Now for Free! at
>> http://downloads.yahoo.com/ca/internetexplorer/
>>
>> _______________________________________________
>> kwlug-disc_kwlug.org mailing list
>> kwlug-disc_kwlug.org at kwlug.org
>> http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org
>>
>
>
>
> --
> Khalid M. Baheyeldin
> 2bits.com, Inc.
> http://2bits.com
> Drupal optimization, development, customization and consulting.
> Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
> Simplicity is the ultimate sophistication. --   Leonardo da Vinci
>



-- 
Khalid M. Baheyeldin
2bits.com, Inc.
http://2bits.com
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
Simplicity is the ultimate sophistication. --   Leonardo da Vinci
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://astoria.ccjclearline.com/pipermail/kwlug-disc_kwlug.org/attachments/20100302/587fbe20/attachment.html>


More information about the kwlug-disc_kwlug.org mailing list