Project:Facelift Image Replacement Integration
Version:5.x-1.2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#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.

#2

Status:active» fixed

I don't believe that this should be an issue anymore in the 2.x branch of flir. The way generate.php is called has been changed, and the complete URL is only created on the fly using javascript. If this issue is still occurring in the latest version of flir please re-open this ticket.

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here