Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » block code bug?

#1 2007-01-25 21:14:32

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

block code bug?

I tried to use the notextile. bc.. textile coding on an article. (txp 4.04)

and it produced the following error. Does tag trace work with admin side? I forgot to check or set anything to debug.

I posted an article with no event info, but with the use of bc.. (blockcode textile) and got the following errors returned.

Notice: Undefined index: Status in /home/.emperior/artiswork/txp.squaredeye.com/textpattern/include/txp_article.php on line 147

Notice: Undefined index: Status in /home/.emperior/artiswork/txp.squaredeye.com/textpattern/include/txp_article.php on line 148

Notice: Undefined index: Status in /home/.emperior/artiswork/txp.squaredeye.com/textpattern/include/txp_article.php on line 149

Warning:

Error: ‘’ is not an integer

assert_int()
textpattern/include/txp_article.php:161 array_map()
textpattern/include/txp_article.php:51 article_save()
textpattern/index.php:104 include(/home/.emperior/artiswork/txp.squaredeye.com/textpattern/include/txp_article.php)

in /home/.emperior/artiswork/txp.squaredeye.com/textpattern/lib/txplib_misc.php on line 1843

Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘’ at line 30 update textpattern set Title = ‘Large Calendar’, Body = ‘Page Template:\r\n\r\nbc..\r\n\r\n \r\n
\r\n txp”]\r\n
Return to Events List
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n’, Body_html = ‘

Page Template:
\n\n

[!—body ID lets me specify a particular CSS for the large calendar—]\n[body id=“calendar”]\n [!—Header and Calendar navigation—]\n [div id=“calendar_nav”]\n [a id=“l in /home/.emperior/artiswork/txp.squaredeye.com/textpattern/lib/txplib_db.php on line 84

Notice: Undefined index: Status in /home/.emperior/artiswork/txp.squaredeye.com/textpattern/include/txp_article.php on line 222

Warning:

Error: ‘’ is not an integer

textpattern/include/txp_article.php:742 assert_int()
textpattern/include/txp_article.php:313 checkIfNeighbour()
textpattern/include/txp_article.php:230 article_edit()
textpattern/include/txp_article.php:51 article_save()
textpattern/index.php:104 include(/home/.emperior/artiswork/txp.squaredeye.com/textpattern/include/txp_article.php)

in /home/.emperior/artiswork/txp.squaredeye.com/textpattern/lib/txplib_misc.php on line 1843

Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘) order by Posted desc limit 1’ at line 1
select ID from textpattern where Posted [ from_unixtime() order by Posted desc limit 1 in /home/.emperior/artiswork/txp.squaredeye.com/textpattern/lib/txplib_db.php on line 84

Warning:

Error: ‘’ is not an integer

textpattern/include/txp_article.php:742 assert_int()
textpattern/include/txp_article.php:316 checkIfNeighbour()
textpattern/include/txp_article.php:230 article_edit()
textpattern/include/txp_article.php:51 article_save()
textpattern/index.php:104 include(/home/.emperior/artiswork/txp.squaredeye.com/textpattern/include/txp_article.php)

in /home/.emperior/artiswork/txp.squaredeye.com/textpattern/lib/txplib_misc.php on line 1843

Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘) order by Posted asc limit 1’ at line 1
select ID from textpattern where Posted ] from_unixtime() order by Posted asc limit 1 in /home/.emperior/artiswork/txp.squaredeye.com/textpattern/lib/txplib_db.php on line 84


Offline

#2 2007-02-13 19:40:42

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: block code bug?

I can’t replicate this.

Can you provide a sample of the offending text? Stick it in a text file and email it to me (so that original formatting is preserved).

Last edited by Mary (2008-04-05 05:24:08)

Offline

#3 2007-02-13 21:50:15

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: block code bug?

Mary,
Alex thought this might have had to do with the some “preview” bugs you all have been seeing. I was also not able to replicate this. However, I had previewed the article several times trying to get the bc (block code) to work properly when it failed.


Offline

  1. Index
  2. » Archives
  3. » block code bug?

Board footer

Powered by FluxBB