Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Adding link after search fails
I wanted to see if i added a link already so i did a search that yielded no results … so then tried to add the link from that page and it always fails…. Works fine if I do not do a search. I filled all fields except sort value, i can reproduce every time. I added //-- in between lines because it kept breaking out of code …
Textpattern version: 4.0.4 (r1956)
.
Warning:
//--
Error: '' is not an integer
//--
textpattern/include/txp_link.php:385 assert_int()
textpattern/include/txp_link.php:47 link_save()
textpattern/index.php:104 include(TXP_PATH/textpattern/include/txp_link.php)
//--
TXP_PATH/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 5
update txp_link set category = 'mini-thoughts', url = 'http://www.terrabaltica.lv/en',
linkname = 'Terra Baltica Travel', linksort = 'Terra Baltica Travel', description = 'Love
the color scheme and the raised effect of middle box, subtle but effective ...'
where id = in TXP_PATH/textpattern/lib/txplib_db.php on line 84
dbulli: sorry meant to put this in troubleshooting
Last edited by dbulli (2006-12-15 18:16:05)
nuff-respec ::: dannyb
Offline
#2 2006-12-16 17:35:11
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Adding link after search fails
I think this is/was a known bug.
Offline
Re: Adding link after search fails
Mary wrote:
I think this is/was a known bug.
At rev2156, the error is still there
Error: '' is not an integer
textpattern/include/txp_link.php:385 assert_int()
textpattern/include/txp_link.php:47 link_save()
textpattern/index.php:104 include(/Library/WebServer/Documents/textpattern/include/txp_link.php)
in /Library/WebServer/Documents/textpattern/lib/txplib_misc.php on line 1904
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
#4 2006-12-17 20:19:23
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Adding link after search fails
Exactly. A known bug (not fixed).
Offline
#5 2006-12-17 23:30:12
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Adding link after search fails
…(not fixed).
And now it is. :)
Offline
Re: Adding link after search fails
Mary wrote:
And now it is. :)
Hmm, this does something odd here:
- search for a link
- link found
- TXP shows message ‘link created’
return to Admin > Content > Links
see how a blank link is inserted in the listing (blank as in: empty name, description, etc fields, just an id).
Note:, every action performed from the keyboard: type keyword in search field and hit return.
Last edited by phiw13 (2006-12-18 01:01:56)
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
#7 2006-12-18 15:47:11
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Adding link after search fails
Damn. r2163.
Offline
Re: Adding link after search fails
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Pages: 1