Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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 82

Tag 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 82

Tag 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

#2 2009-06-21 16:22:14

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

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

#4 2009-06-22 01:03:01

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [resolved] Warning after Installation. :-(

Read this first.


Code is topiary

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

#8 2009-06-23 07:01:45

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

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

#9 2009-06-23 07:01:48

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: [resolved] Warning after Installation. :-(

Try this:

  1. Open /textpattern/include/txp_auth.php
  2. Go to line #177. It should read “sleep(3);”.
  3. Replace this line with “@sleep(3);”
  4. Try to login.

Then post your diagnostics.

Offline

Board footer

Powered by FluxBB