Textpattern Forum

You are not logged in. Register | Login | Help

#91 2011-04-10 11:57:49

ax
Member
From: Germany
Registered: 2009-08-19
Posts: 91

Re: Feedback for the Textpattern 4.4.0 release

Offline

#92 2011-04-10 19:13:29

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,840
Website

Re: Feedback for the Textpattern 4.4.0 release

merz1 wrote:

Are those security implications maybe still valid for your short url plug-in?

Not as far as I can tell. You can’t short URL to a non-live (or non-sticky) article. Unless I’ve missed something?

Last edited by Bloke (2011-04-10 19:14:04)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

#93 2011-04-11 23:09:38

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,184
Website

Re: Feedback for the Textpattern 4.4.0 release

I am getting a Fatal error: Call to undefined function strftime() error on a 4.0.4 TXP install suddenly. Any ideas where this is called and why the error might appear?

Also get Fatal error: Call to undefined function strftime() on the Users tab while the Prefs tab does not display anything underneath the DST enabled setting. Nothing changed on the web host side (apparently) so trying to track this down.


TXP Tips | @txptips | Me | @jonathanstubbs | Github

TXP Builders – finely-crafted code, design and txp @txpbuilders

Offline

#94 2011-04-12 10:36:00

ruud
Developer emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 4,501
Website

Re: Feedback for the Textpattern 4.4.0 release

4.0.4 or 4.4.0? Please post full diagnostics.

Offline

#95 2011-04-12 10:48:03

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,184
Website

Re: Feedback for the Textpattern 4.4.0 release

Hi Ruud, yes sorry it was 4.4.0. The site is live and not operational by myself, I am just helping out. The owner says they didn’t do anything and the web host says the same, but suddenly the site is down with that error message.

I can’t see diagnostics – only Fatal error: Call to undefined function gmstrftime() in /home/site/public_html/textpattern/include/txp_diag.php on line 480. To be exact, the pre-flight check works and returns:

The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: proc_close, proc_get_status, proc_terminate, myshellexec, shell, system_exec, posix_getpwuid, posix_getgrgid, posix_kill, ssh2_exec, pcntl_exec, ini_restore

Then the error message above and nothing else. Prefs tab returns data up to DST enabled? and nothing more.

Front page of the site returns the error Fatal error: Call to undefined function strftime() in /home/site/public_html/textpattern/lib/txplib_misc.php on line 1375

Not seen this before. Tried replacing the PHP files noted but that did not work.


TXP Tips | @txptips | Me | @jonathanstubbs | Github

TXP Builders – finely-crafted code, design and txp @txpbuilders

Offline

#96 2011-04-12 12:11:58

ruud
Developer emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 4,501
Website

Re: Feedback for the Textpattern 4.4.0 release

Upload a file called test.php with these contents:

<?php
setlocale(LC_TIME, 'en_US');
echo strftime("%b %d %Y %H:%M:%S", mktime(20, 0, 0, 12, 31, 98)) . "\n";
echo gmstrftime("%b %d %Y %H:%M:%S", mktime(20, 0, 0, 12, 31, 98)) . "\n";
?>

If that doesn’t show 2 dates, you contact the webhost.

Offline

#97 2011-04-12 12:20:00

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,184
Website

Re: Feedback for the Textpattern 4.4.0 release

Thanks Ruud. test.php returns the same error: Fatal error: Call to undefined function strftime() in /home/site/public_html/test.php on line 3 so I guess the web host has some answering to do.

I’ll report back in case it is a TXP issue, although I am sure its just a crappy host (not mine!). Thanks.


TXP Tips | @txptips | Me | @jonathanstubbs | Github

TXP Builders – finely-crafted code, design and txp @txpbuilders

Offline

#98 2011-04-13 14:07:31

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

Re: Feedback for the Textpattern 4.4.0 release

ax wrote:

Textile may not be the latest version

I’m getting this also when saving/publishing articles. Also, there seems to be a bug in this version of textile that will not wrap header tags properly. It’s not closing the tags.

h4(some_class). Some text

is now being rendered

<h4 class="some_class">Some text<h4>

Offline

#99 2011-04-13 14:17:58

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,840
Website

Re: Feedback for the Textpattern 4.4.0 release

ecklesroad wrote:

Textile may not be the latest version

Entirely possible. For now you can grab the latest version from the Textile repo.

Also, there seems to be a bug in this version of textile that will not wrap header tags properly.

Are you sure it’s not another plugin interfering with the tags? I can’t replicate this.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

#100 2011-04-13 14:25:33

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

Re: Feedback for the Textpattern 4.4.0 release

It seems to be only happening with h1-6 tags….along with that ugly depreciated error

I’m running joh_admin_markitup, lam_image_uploader, rss_unlimited_categories & upm_savenew on the install were this is noticed.

“source”:view-source:www.mnresortsales.com/listings/agents line line 157 and 159 for example

Bloke wrote:

Entirely possible. For now you can grab the latest version from the Textile repo.

That did the trick I think!

Last edited by ecklesroad (2011-04-13 14:37:55)

Offline

Board footer

Powered by FluxBB