Textpattern Forum

You are not logged in. Register | Login | Help

#11 2004-03-24 15:02:47

jdueck
Plugin Author
From: Minneapolis, MN
Registered: 2004-02-27
Posts: 130
Website

Re: G1.17 Released

OK, after using since g1.13 I’ve had my first real problem :)

I uploaded everything as normal and ran j.com/textpattern/_g117update.php in my browser. I got zero visible output. No errors, no “updated database” message, no nuthin. Hit view source and I see a totally empty html page.

Of course, textpattern gives me errors when I login now, so I know the database was not updated.

I inserted this line just under the include statements:

echo ‘got here anyway’;

still, nothing. What’s going on?

Offline

#12 2004-03-24 15:05:53

Dean
Founder
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

Re: G1.17 Released

Joel – did you run the g116 update last time?

If so, let’s see what errors show up by putting

ERROR_REPORTING(E_ALL);

near the top of _g117update.php


text*

Offline

#13 2004-03-24 15:07:40

nryberg
Member
From: Minneapolis, MN - US
Registered: 2004-02-24
Posts: 20
Website

Re: G1.17 Released

Dean –

Thanks again for the continual stream of updates, feature-adds, bug-fixes and an altogether groovy product.

While I agree that this has the makings of a powerhouse CMS (there, I said it, not a blog in site…oops!), I think it will really hit its stride when you incorporate some sort of workflow control. If you could somehow link it to forum software like the PunBB that this is running on, it’d be a much more complete “CMS”.

As it is now, anyone can post willy-nilly, and while that’s fine for a blog, that’s not okay for a corporate site that has an image to maintain.

I’m looking forward to replacing our Sharepoint installation with Textpattern, but approval of posts is a key item that I’m waiting for…

I didn’t mean this to be faint praise – Textpattern is awesome, and I feel damned lucky to have something like this to work with.

- N

Offline

#14 2004-03-24 15:11:36

nryberg
Member
From: Minneapolis, MN - US
Registered: 2004-02-24
Posts: 20
Website

Re: G1.17 Released

Okay – I LOVE the rewrite on organization. Moving the “Sections” area, and restructuring it in the process, was an excellent idea.

Offline

#15 2004-03-24 15:16:27

jdueck
Plugin Author
From: Minneapolis, MN
Registered: 2004-02-27
Posts: 130
Website

Re: G1.17 Released

Yeah, the g116 update went fine, I ran it right back when I upgraded to 116; it gave me a thumbs up.

It’s something rreeaallyl screwy, ‘cos I moved my echo statement right up to the top and still nothing. (!!) the ERROR_REPORTING statement also does nothing, I put it on the line right after the opening <? .

So I made a test.php file:

<?
ERROR_REPORTING(E_ALL);

include ‘./config.php’;
include ‘./publish.php’;

echo ‘got here anyway’;

echo ‘updated database for Textpattern g1.17’;

?>

Which results in:

got here anywayupdated database for Textpattern g1.17

…which means the includes are fine and php is working…so something is happening in the _g117update code that squelches everything.

Update: running php 4.3.4, mysql client api 3.23.58

Last edited by jdueck (2004-03-24 15:31:15)

Offline

#16 2004-03-24 15:29:54

Ray
Member
Registered: 2004-03-02
Posts: 150

Re: G1.17 Released

nyberg wrote:
>“I?m looking forward to replacing our Sharepoint installation with Textpattern, but approval of posts is a key item that I?m waiting for?”

I agree. Permissions would be usefull. For the time being I’ve set a simple .htaccess on the current CMS I’m using for my <a href=“http://www.blah.com/” target=“foo”>business site</a>. This area of the site has 30+ regular users.

note: once i’m totally comfortable with Txp I’ll be moving five years worth of old data (posts/comments, static content) to Txp.

Last edited by Ray (2007-04-04 21:39:44)

Offline

#17 2004-03-24 15:30:43

Dean
Founder
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

Re: G1.17 Released

Wait a minute, the top of the file should look like this in the g117 update:

<pre>
<?php

include ‘./config.php’;
include $txpcfg[‘txpath’].’/publish.php’;
</pre>

If the error reporting gives nothing, try this instead:

ini_set("display_errors","1");


text*

Offline

#18 2004-03-24 15:40:30

Mapultoid
New Member
From: Canterbury, CT
Registered: 2004-03-04
Posts: 9
Website

Re: G1.17 Released

Tried to run the update script, got this:

Unknown column ‘parent’ in ‘field list’Unknown column ‘parent’ in ‘field list’Unknown column ‘parent’ in ‘field list’Unknown column ‘parent’ in ‘field list’Unknown column ‘parent’ in ‘txp_category’Duplicate column name ‘Keywords’
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/virtual/site54/fst/var/www/html/textpattern/lib/txplib_db.php on line 130

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/virtual/site54/fst/var/www/html/textpattern/lib/txplib_db.php on line 130

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/virtual/site54/fst/var/www/html/textpattern/lib/txplib_db.php on line 130
Unknown column ‘lft’ in ‘field list’updated database for Textpattern g1.17

And now certain aspects of the administration side of things are all wacky and codelike.

Ben

Offline

#19 2004-03-24 15:42:05

jdueck
Plugin Author
From: Minneapolis, MN
Registered: 2004-02-27
Posts: 130
Website

Re: G1.17 Released

<i> > Dean wrote:
Wait a minute, the top of the file should look like this in the g117 update: …</i>

It does look like that. What I don’t understand is why a simple echo statement, at the <i>very top</i> of the file, produces no output. And no, the ini_set call doesn’t affect it at all either.

Is safe_query an “intrinsic” mysql function or was it user-defined like <a href=“http://us4.php.net/function.mysql-query#23596”>in this comment</a> ??

Again, running php 4.3.4, mysql client api 3.23.58

Offline

#20 2004-03-24 15:42:38

Dean
Founder
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

Re: G1.17 Released

Mapultoid, did you run the g116 update script?


text*

Offline

Board footer

Powered by FluxBB