Graphic not created - Data too long for column
rhylos - May 26, 2009 - 01:16
| Project: | Facelift Image Replacement Integration |
| Version: | 5.x-1.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Any help for the following situation is greatly appreaciated.
After chosing and applying a font to a text element I receive the following error message:
Data too long for column 'path' at row 1 query: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values('Ajax Page', 'flir/generate/Contact the Author/24/125/{\"mode\":\"\",\"output\":\"auto\",\"cSize\":\"12\",\"cColor\":\"rgb(255, 155, 16)\",\"cFont\":\"fh_obscene.otf\",\"realFontHeight\":\"false\",\"dpi\":\"96\",\"cBackground\":\"rgb(47, 47, 47)\",\"cSpacing\":\"\",\"cLine\":\"1\",\"cAlign\":\"start\",\"cTransform\":\"none\"}', 'http://www.novemberpain.com/', '97.77.245.38', 0, '2borgdj49aevi8bmacql7squ63', 1061, 1243298734) in C:\site-path\includes\database.mysql.inc on line 174.Drupal 5.16
IIS6
Win 2003
PHP 5.2.8
MySQL 5.0.51a
Url rewrite

#1
It appears that the Global Redirect module is causing this issue. From what I can see the Facelift module calls or creates the image font by using a drupal non clean url method. Global Redirect has a option to force all non-clean urls to a clean url counterpart which seems to make an invalid path call for image creation. Setting the Global Redirect option to disabled seems to correct this, however I recommend that the Facelift module looks for both paths or allows for a clean path.
Your take?
Global Redirect:
Non-clean to Clean:
Off
On
If enabled, this option will redirect from non-clean to clean URL (if Clean URL's are enabled). This will stop, for example, node 1 existing on both example.com/node/1 AND example.com?q=node/1.