Announcement

  •  » Themes
  •  » GreyDragon Theme - Data truncated for column

#1 2017-03-31 23:02:30

MikeTheKID
Member
2016-12-30
27

GreyDragon Theme - Data truncated for column

I think the GreyDragon theme has a problem in it's column mappings.

When I enable the 'Root Page' option I'm getting the following error from mysql:

Code:

Warning:  [mysql error 1265] Data truncated for column 'standalone' at row 1
UPDATE additionalpages SET content = "\n\n
\n  
Click to Enter
\n  
\n    \n      
\n[slider album=1 nb_images=10 random=yes size=M speed=10 title=no effect=fade arrows=false control=false elastic=false]      \n      
\n    \n  
\n
"  , standalone = FALSE WHERE (id = 12) AND (content <> "\n\n
\n  
.....public_html/include/dblayer/functions_mysqli.inc.php on line 845

It appears as if it's trying to set standalone = FALSE when I look at the database the enumeration is enum('true', 'false') so the uppercase FALSE isn't valid??

I found the file [/themes/greydragon/include/greydragon.class.php] on line #337 I think is the offending piece of code but I couldn't figure out how to modify it to make it work.

Offline

 
  •  » Themes
  •  » GreyDragon Theme - Data truncated for column

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact