Closed (fixed)
Project:
Short URL
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
7 May 2010 at 13:44 UTC
Updated:
3 Jul 2010 at 10:10 UTC
If I try to edit a CCK Field of a certain content type, i get the WSOD.
I found out why:
$indx = shorturl_decode_url($token);
$orig_url = db_result(db_query('SELECT orig_url FROM {shorturl_link} WHERE lid=%d ', $indx));
$indx will return numbers with E+103 and this large number seams to be to big for query with WHERE lid=%d.
My URL was admin/content/node-type/person/fields/field_person_hobbies (didn't work) while admin/content/node-type/person/fields works.
This appeared in actual BETA1
Comments
Comment #1
irakli commented$indx should not be a large number.
Can you please have the code print $token (e.g. with error_log() or by commenting out db_result) when you are getting WSOD and post it here?
Comment #2
irakli commentedComment #3
manuelBS commentedSorry, this seams to be fixed with the newest releast.
Thanks!
Comment #4
irakli commentedAwesome! Thank you.