Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2009-01-04 12:24:57

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Help us test release candidate 2 (!) for the upcoming 4.0.8 release

Yes I can confirm that Robert/Yiannis. My sites use a modified txplib_head file for my admin style and now a modified taghandlers file both of which show up in the modified files list. What I was originally referring to was the long list I used to get because I was using SVN files rather than those in the download.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#14 2009-01-04 12:40:50

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Help us test release candidate 2 (!) for the upcoming 4.0.8 release

The list of SVN files (newer than checksums.txt) only shows if your production status is ‘live’.

Offline

#15 2009-01-04 12:54:13

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Help us test release candidate 2 (!) for the upcoming 4.0.8 release

As I’m using SVN I keep my sites in “Testing” mode, just in case. I can’t confirm the “live” status as I don’t think you’ve changed anything since the last checksums update.

Does this mean that you will need to constantly keep checksums up-to-date or just do a “round-up” when close to a release?

Last edited by thebombsite (2009-01-04 13:00:15)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#16 2009-01-04 13:10:22

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

Re: Help us test release candidate 2 (!) for the upcoming 4.0.8 release

Checksums are updated for packaged releases, not for every commit.

Offline

#17 2009-01-05 20:06:07

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Help us test release candidate 2 (!) for the upcoming 4.0.8 release

The temporary directory path is set to /path/to/textpattern instead of /path/to/textpattern/tmp, so that diagnostics give this warning:

Temporary directory path and Plugin cache directory path should not match.

It’s easy enough to change, but is this intended?

Also I got this error (on the page that says ‘That went well etcetera’):

Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 10019 is not allowed to access /tmp/txp_i6HKUI owned by uid 48 in /home/httpd/vhosts/domain.com/subdomains/test/httpdocs/textpattern/lib/txplib_misc.php on line 1308

Warning: unlink(/home/httpd/vhosts/domain.com/subdomains/test/httpdocs/textpattern/setup) [function.unlink]: Permission denied in /home/httpd/vhosts/domain.com/subdomains/test/httpdocs/textpattern/lib/txplib_misc.php on line 1310

That went well. Database tables were created and populated.

You should be able to access the main interface with the login and password you chose.

Thank you for your interest in Textpattern.

It was still there when I landed on the languages page, but went away when I went to diagnostics.
I’ve set up many Txp installs on this server, also in subdomains, and never had these errors before.

Last edited by els (2009-01-05 20:07:11)

Offline

#18 2009-01-05 20:16:43

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Help us test release candidate 2 (!) for the upcoming 4.0.8 release

The link to ‘Textbook Wiki’ in the ‘Welcome to your site’ article and the link to ‘TextBook’ in the right column link to different URLs (same content though). This probably was already the case in 4.0.7. I’ll post this in the Textbook forum as well for Destry’s attention.

Offline

#19 2009-01-05 20:17:54

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

Re: Help us test release candidate 2 (!) for the upcoming 4.0.8 release

Warning: unlink(/home/httpd/vhosts/domain.com/subdomains/test/httpdocs/textpattern/setup) [function.unlink]: Permission denied in /home/httpd/vhosts/domain.com/subdomains/test/httpdocs/textpattern/lib/txplib_misc.php on line 1310

Els, this looks like /home/httpd/vhosts/domain.com/subdomains/test/httpdocs/textpattern/tmp wasn’t present during setup. Is this possible?

Offline

#20 2009-01-05 20:23:01

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Help us test release candidate 2 (!) for the upcoming 4.0.8 release

No, it was definitely there, I only had to chmod it to 777 after the install (but I always have to do that on this server).

Offline

#21 2009-01-05 20:31:39

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

Re: Help us test release candidate 2 (!) for the upcoming 4.0.8 release

Els wrote:

No, it was definitely there, I only had to chmod it to 777 after the install (but I always have to do that on this server).

Might be caused by running the web server process as a different user than the one you use for FTP uploads? Then, ../textpattern/tmp would be owned by the uploading user while the setup script acting as the web server process user tries to write a tiny test file to said folder during setup – and fails.

Please confirm.

If this is the case I don’t think we have any opportunity to circumvent these restrictions (a good thing!), and the warning message is ugly but it helps to diagnose the problem. We might shoot for a prettier warning message, though.

Offline

#22 2009-01-05 20:48:17

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Help us test release candidate 2 (!) for the upcoming 4.0.8 release

wet wrote:

Might be caused by running the web server process as a different user than the one you use for FTP uploads? Then, ../textpattern/tmp would be owned by the uploading user while the setup script acting as the web server process user tries to write a tiny test file to said folder during setup – and fails.

I’m not sure I understand what you mean by ‘running the web server process’. It’s a reseller account where I’m hosting several domains, and each domain has it’s own FTP account. But FYI I recently set up a fresh 4.0.7 install in a subdomain (other domain) on that same account, so that must be an identical situation, and I didn’t get those errors. Two days ago I upgraded that install to 4.0.8rc1 and got no errors either.

Offline

#23 2009-01-05 21:46:04

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Help us test release candidate 2 (!) for the upcoming 4.0.8 release

Warning: unlink(/home/httpd/vhosts/domain.com/subdomains/test/httpdocs/textpattern/setup) [function.unlink]: Permission denied in /home/httpd/vhosts/domain.com/subdomains/test/httpdocs/textpattern/lib/txplib_misc.php on line 1310

That’s interesting. Not the permission denied, but the fact that it tries to delete the setup directory, while it should be deleting a temporary file.

Offline

#24 2009-01-05 21:54:08

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

Re: Help us test release candidate 2 (!) for the upcoming 4.0.8 release

Oops. From a quick test, realpath(null) returns the cwd(). Will fix it.

Offline

Board footer

Powered by FluxBB