Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

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

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

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 (Gone, but not forgotten)
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: 147
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 (Gone, but not forgotten)
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

Re: G1.17 Released

Mapultoid, did you run the g116 update script?


text*

Offline

#21 2004-03-24 15:45:44

Dean
Founder (Gone, but not forgotten)
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

Re: G1.17 Released

safe_query() is a Textpattern function, and it’s certainly available to the script, so long as the includes worked.

I’ve run this update on three different servers, with three different operating systems, so this is baffling.

Check your email.


text*

Offline

#22 2004-03-24 15:47:28

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

Re: G1.17 Released

Actually I haven’t updated since 1.15. I just made the leap. What do I need to do?

Ben

Offline

#23 2004-03-24 15:49:23

Dean
Founder (Gone, but not forgotten)
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

Re: G1.17 Released

Ben, grab v. g116 from the download page (a slight hack of the url for g117 should get you there).

Upload _g116update.php to your textpattern directory, and run it in a browser. Then run the 117 update, and all should go well.


text*

Offline

#24 2004-03-24 15:50:40

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

Re: G1.17 Released

Arrighty, will give it a shot.

Ben

Offline

#25 2004-03-24 16:12:15

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

Re: G1.17 Released

Dean, that worked fine. Thanks much.

And for the record, hierarchical categories is the feature I wanted more than anything. You rule.

Ben

Offline

#26 2004-03-24 17:34:45

jonas
New Member
Registered: 2004-03-24
Posts: 3

Re: G1.17 Released

> jdueck wrote:

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

Same here, tried to update to g17: Nothing happens after running the update-script (g16-script went fine) – now the only result is an empty html-doc. Tried this several times and switched back to g16.

Offline

#27 2004-03-24 17:37:58

std
Member
From: Germany
Registered: 2004-03-19
Posts: 18

Re: G1.17 Released

Strange Problem:

“Fresh” install. After setup, I can’t login. I repeated the setup 3 times. Nothing.

I made n SQL-Dump and I’m a little surprised that the table “txp_users” contains no data.

Perhaps nobody found this problem before, because it’s only with fresh installs?

Update:

Tried to update another g116-installation. The script _g117update.php just says:

Fatal error: Call to undefined function: safe_query() in /homepages/[…]/_g117update.php on line 6

Update #2

Looks like I was a little bit too fast – so fast that I forgot to run setup.php before _g117update.php”. After setup.php, I could not login on that updated install. But instead of Could not log in with that name/password on the fresh install, it now said something about a “bad cookie”…
Then, I tried _g117update.php again. Message:
<blockquote>Can’t DROP ‘level’. Check that column/key existsDuplicate column name ‘Keywords’updated database for Textpattern g1.17</blockquote>

I give up… :(

Just this: After del my txp cookie of the g116 install, also the updated install says Could not…. I made a SQL-Dump of the database of this install and there is something in the users table. Seems not to be the reason. (?)

Last edited by std (2004-03-24 18:11:00)

Offline

Board footer

Powered by FluxBB