Not signed in ( Sign In)

Categories

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthorjpneok
    • CommentTimeApr 26th 2009
     permalink
    The following is my FP site with my custom theme or whatever.

    <a href="http://pwse.zanysite.com">http://pwse.zanysite.com/</a>

    I typed an entry and included a couple of pics with [IMG and WIDTH], some links and other normal BBCODE - I didn't try to get fancy or do anything unusual, and when I post, preview or save, I get the two division by zero errors you see above and for the life of me I cannot figure out what is wrong. I even have gone into the fp-content/content/04 folder and viewed the entry files in a text editor and just can't see anything apparent.

    I can make other new entries that don't error so it has got to be something in my actual entry but damned if I know what it is.

    I have upgraded to the newest version .812.1and everything.

    On a side note, my old content in fp-content/content then all the years and months, won't load in the new version, so I've lost all my posts =(
    •  
      CommentAuthorjpneok
    • CommentTimeApr 26th 2009
     permalink
    After testing out different bbcode, it turns out Flatpress doesn't like the addition of the WIDTH=N argument, whether you enclose it in quotes or anything - when I took it out and just left an [img=image.jpg] instead of [img=image.jpg width=200] the errors disappeared. =(

    Apparently the code that parses the bbcode including the img tag happens first, before echoing the entry itself to the page, so the errors appear before the entry.

    But otherwise FlatPress is looking really, really slick!
    •  
      CommentAuthorNoWhereMan
    • CommentTimeApr 26th 2009
     permalink
    that happens only if the image is not local IIRC; by the way there is a fix on this forum, just search for it
    •  
      CommentAuthorjpneok
    • CommentTimeApr 27th 2009
     permalink
    Well I can't find that fix in all the searches for "fix" and "img" and "images" and such, but that's ok I can use [HTML] and code it with AHREF so I guess it's not too hard to workaround, and yes it is a remote image so I guess you explained all that.

    Thank you for your quick response, though I know you have precious little free time lately.
    •  
      CommentAuthorNoWhereMan
    • CommentTimeApr 27th 2009
     permalink
    you have to replace the old file with the one linked here http://www.flatpress.org/forums/comments.php?DiscussionID=542#Item_17
    •  
      CommentAuthorjpneok
    • CommentTimeNov 19th 2009
     permalink
    Hi, just wanted to restate that there is still an error in even this new version of FP that gives a division by zero error if you post two [ img= ] codes in the same entry - one is fine, but two or more and although it still displays them, at the top is the division by zero code error. Again, if I use the [ html ] code to allow <img src> HTML, then I can add any number of images fine. Just letting you know.
    •  
      CommentAuthorrafaelx
    • CommentTimeApr 2nd 2010
     permalink
    I had the same problem, I set width and height this fixed the error.

    [ESP] Yo tuve el mismo problema, se arregló al definir los argumentos width y height de la imagen.