Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2016-08-25 12:44:43

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,263
GitHub

Re: RFC: Improving the Textpattern demo site

hcgtv wrote #300782:

Hi,

Decided to try out 4.6 on the demo site, and the admin side is stuck on the languages section.

These errors are on the top of the page:

Thanks, Bert – I did some upgrading last night (Ubuntu 14.04.something to 16.04.1) and all went well in staging and testing, clearly something broke. I will rebuild.

Offline

#14 2016-08-25 12:52:16

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,263
GitHub

Re: RFC: Improving the Textpattern demo site

hcgtv wrote #300786:

Whenever the demo gets working, can this thread be bumped, thanks.

Rebuilding from scratch now. ETA: less than two hours.

Offline

#15 2016-08-25 14:23:41

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: RFC: Improving the Textpattern demo site

gaekwad wrote #300794:

Rebuilding from scratch now. ETA: less than two hours.

The 4.6 demo is looking good, just these errors:
Image directory is not writable: /var/www/vhosts/textpattern.co/beta-demo/live/images
File directory path is not writable: /var/www/vhosts/textpattern.co/beta-demo/www/files

Thanks Pete.

Offline

#16 2016-08-25 14:24:29

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,263
GitHub

Re: RFC: Improving the Textpattern demo site

OK, moved a fresh server in a new datacenter.

4.5.7 and 4.6.0-beta.2 in place. Same URLs as before.

DNS zone changes are propagating to reflect new server, the new (correct) server IP is 138.68.62.55. TTL on DNS was/is 10800 (3 hours), so by 1700UTC today the new server should be mostly active.

I’ll update the old server to indicate that it’s, erm, an old server, and there will be a short delay while DNS sorts itself out.

There’s currently a language update required after the first login, I’ll patch the database so that doesn’t happen.

Offline

#17 2016-08-25 14:25:39

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,263
GitHub

Re: RFC: Improving the Textpattern demo site

hcgtv wrote #300798:

The 4.6 demo is looking good, just these errors:
Image directory is not writable: /var/www/vhosts/textpattern.co/beta-demo/live/images
File directory path is not writable: /var/www/vhosts/textpattern.co/beta-demo/www/files

Yep, that’s intentional – I don’t want stuff uploaded. I will add some demo images and files per the release demo so you can get an idea of how things work.

Offline

#18 2016-08-25 15:30:09

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,263
GitHub

Re: RFC: Improving the Textpattern demo site

hcgtv wrote #300798:

The 4.6 demo is looking good, just these errors:
Image directory is not writable: /var/www/vhosts/textpattern.co/beta-demo/live/images
File directory path is not writable: /var/www/vhosts/textpattern.co/beta-demo/www/files

Beta demo now has a selection of images and files to futz around with. Yay!

Offline

#19 2016-08-25 15:57:04

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,263
GitHub

Re: RFC: Improving the Textpattern demo site

…and SSL (https) is enabled for both release and demo sites.

Last edited by gaekwad (2016-08-25 15:57:37)

Offline

#20 2016-08-25 16:00:51

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: RFC: Improving the Textpattern demo site

gaekwad wrote #300806:

Beta demo now has a selection of images and files to futz around with. Yay!

Even though the image directory is not writable, it let’s me go through the process of replacing the image. Which in turn screws up the original image’s properties.

Offline

#21 2016-08-25 16:04:33

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,263
GitHub

Re: RFC: Improving the Textpattern demo site

hcgtv wrote #300811:

Even though the image directory is not writable, it let’s me go through the process of replacing the image. Which in turn screws up the original image’s properties.

I don’t get that here – if I attempt to upload a replacement image, the filename field gets replaced but the original image remains, along with this error:

/var/www/vhosts/textpattern.co/beta-demo/live/images/10.jpg directory permissions need to be checked.

Offline

#22 2016-08-25 16:07:13

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: RFC: Improving the Textpattern demo site

gaekwad wrote #300812:

I don’t get that here – if I attempt to upload a replacement image, the filename field gets replaced but the original image remains, along with this error:

Killed your pussy, check out the images.

Offline

#23 2016-08-25 16:18:03

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,263
GitHub

Re: RFC: Improving the Textpattern demo site

hcgtv wrote #300813:

Killed your pussy, check out the images.

Huh. So you did. Here’s something – when I replace your .png replacement with a .jpg replacement, the pussy returns.

I wonder…

The image is 9.jpg. You are attempting to replace it with something that will end up with a .png extension. That won’t overwrite the image, but will attempt a new file write (to 9.png, presumably). That fails (yay directory permissions) and throws the 404 question mark. When I replace your 9.png with another replacement of the .jpg variety, the cat comes back…because even though the image didn’t upload, the original 9.jpg is still there.

Edge case, but explains why it’s happening.

Offline

#24 2016-08-25 16:22:59

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: RFC: Improving the Textpattern demo site

gaekwad wrote #300814:

Huh. So you did. Here’s something – when I replace your .png replacement with a .jpg replacement, the pussy returns.

Maybe make txp_file and txp_image read only?

Offline

Board footer

Powered by FluxBB