Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
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
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
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.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
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
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.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
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
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?
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: RFC: Improving the Textpattern demo site
hcgtv wrote #300815:
Maybe make txp_file and txp_image read only?
Possibly. Locking the tables would prevent other valid stuff happening (change thumbnail dimensions, names, descriptions etc), and this is (in my mind) an edge case. A bad actor could find a way in (I can think of some already that I can’t protect against) and cause a stink for a few hours before the auto-reset kicks in and splats everything.
Offline
Re: RFC: Improving the Textpattern demo site
gaekwad wrote #300814:
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 (to9.png, presumably).
I know this is a locked-down scenario, but I think it’s actually a valid edge case in regular Txp. Replacing any image with the same ID and different extension will trigger some undesirable behaviour. Is there anything we can do in core to help mitigate this situation?
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: RFC: Improving the Textpattern demo site
Bloke wrote #300822:
I know this is a locked-down scenario, but I think it’s actually a valid edge case in regular Txp. Replacing any image with the same ID and different extension will trigger some undesirable behaviour. Is there anything we can do in core to help mitigate this situation?
Make the bad stuff go away, Cap’n Stef.
Offline
Re: RFC: Improving the Textpattern demo site
re demo:
发表时间 2 小时 之前
评论 1
…. texted postive
Offline
Re: RFC: Improving the Textpattern demo site
bici wrote #300826:
re demo:
发表时间 2 小时 之前
评论 1
Published 10 hours ago
Comments 1
I assume someone changed the UI language. The reset (every three hours) appears to have taken care of it, and it’s back to English — for now.
Offline
Re: RFC: Improving the Textpattern demo site
On the demo site, accessing the admin side takes you the language page if you’re the first one after a reset.
Anyway to avoid that, so that users go straight to the default Write panel?
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline