Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-06-21 15:32:04
- flint0131
- New Member
- Registered: 2009-06-21
- Posts: 4
[resolved] Warning after Installation. :-(
Halp! What’s the problem? It’s so not cool.
on my /textpattern/index.php I always get this warning message everytime I login.
Warning: sleep() has been disabled for security reasons in /home/vol4/byethost32.com/b32_3599485/lxix.co.cc/htdocs/textpattern/include/txp_auth.php on line 177
and on my main page, I also have these lines.
Warning: Unknown column ‘load_order’ in ‘order clause’ select name, code, version from txp_plugin where status = 1 AND type IN (0,1) order by load_order in /home/vol4/byethost32.com/b32_3599485/lxix.co.cc/htdocs/textpattern/lib/txplib_db.php on line 82
Tag error: <txp:article_custom section=’<txp:section />’ wraptag=“ul” break=“li”> -> Textpattern Warning: Unknown column ‘Expires’ in ‘field list’
select *, unix_timestamp(Posted) as uPosted, unix_timestamp(Expires) as uExpires, unix_timestamp(LastMod) as uLastMod from textpattern where 1=1 and Status = 4 and Posted <= now() and (now() <= Expires or Expires = ’0000-00-00 00:00:00’) and Section IN (‘default’) order by Posted desc limit 0, 10 on line 82Tag error: <txp:article limit=“5” /> -> Textpattern Warning: Unknown column ‘Expires’ in ‘where clause’
select count(*) from textpattern where 1=1 and Status = 4 and Posted <= now() and (now() <= Expires or Expires = ’0000-00-00 00:00:00’) and Section != ‘about’ on line 82Tag error: <txp:article limit=“5” /> -> Textpattern Warning: Unknown column ‘Expires’ in ‘field list’
select *, unix_timestamp(Posted) as uPosted, unix_timestamp(Expires) as uExpires, unix_timestamp(LastMod) as uLastMod from textpattern where 1=1 and Status = 4 and Posted <= now() and (now() <= Expires or Expires = ’0000-00-00 00:00:00’) and Section != ‘about’ order by Posted desc limit 0, 5 on line 82
Offline
Re: [resolved] Warning after Installation. :-(
Hi flint0131
Can you post your diagnostics here?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#3 2009-06-22 00:37:38
- flint0131
- New Member
- Registered: 2009-06-21
- Posts: 4
Re: [resolved] Warning after Installation. :-(
I can’t produce any diagnosis. I’m just noob. :(
Do I need to reinstall it? :|
Offline
Offline
#5 2009-06-22 15:21:53
- flint0131
- New Member
- Registered: 2009-06-21
- Posts: 4
Re: [resolved] Warning after Installation. :-(
Are there any other way beside changing my host? You know, changing PHP Stuffs.. ( Codes )
Please, I need to use textpattern before Niburu pwns Earth. :(
Offline
#6 2009-06-22 22:03:03
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [resolved] Warning after Installation. :-(
flint0131 wrote:
I can’t produce any diagnosis. I’m just noob. :(
Can you go to Admin > Diagnostics and post what you see there?
Offline
#7 2009-06-23 06:44:12
- flint0131
- New Member
- Registered: 2009-06-21
- Posts: 4
Re: [resolved] Warning after Installation. :-(
^ I can’t..
Everytime I log in, I always get this message :
Warning: sleep() has been disabled for security reasons in /home/vol4/byethost32.com/b32_3599485/lxix.co.cc/htdocs/textpattern/include/txp_auth.php on line 177
Offline
Re: [resolved] Warning after Installation. :-(
flint0131 wrote:
^ I can’t..
Yes, sir, of course you can’t. You need a setup where sleep()
is enabled and not blocked by safe mode or security module. Texpattern calls sleep()
upon login page, so you can’t login via it.
You kinda could remove all instances of sleep()
from Textpattern core (not recommended tho).
Start with the ones that are on the login page /textpattern/include/txp_auth.php @ lines: 177
, 216
and 228
.
Last edited by Gocom (2009-06-23 07:02:10)
Offline
Re: [resolved] Warning after Installation. :-(
Try this:
- Open /textpattern/include/txp_auth.php
- Go to line #177. It should read “sleep(3);”.
- Replace this line with “@sleep(3);”
- Try to login.
Then post your diagnostics.
Offline