Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-09-20 01:21:09

richtestani
Plugin Author
Registered: 2009-11-08
Posts: 128

Cannot upload - Cannot diagnose issue

Hi,

My TXP setup all of sudden stopped allowing uploads. I am not sure what the cause.
When I run the diagnostics, there is no mention of issues regarding uploading.
When I do upload an image, it runs as if all is ok – even with a ‘your image uploaded’ message – yet
I see a broken image in the images list.

I cannot figure out what the issue is. Permissions are set for tmp & images, upload file size is set large enough.

Here is my diagnosis output

http://paste.ofcode.org/37QGRMBNb8fTBRhWuNAM2Ck

Thanks
Rich

Offline

#2 2016-09-20 02:22:41

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,075
Website Mastodon

Re: Cannot upload - Cannot diagnose issue

richtestani wrote #301623:

Hi,

My TXP setup all of sudden stopped allowing uploads. I am not sure what the cause.
When I run the diagnostics, there is no mention of issues regarding uploading.
When I do upload an image, it runs as if all is ok – even with a ‘your image uploaded’ message – yet
I see a broken image in the images list.

I cannot figure out what the issue is. Permissions are set for tmp & images, upload file size is set large enough.

can you post an URL to the image?
e.g from my site i have this image that i uploaded.
http://bicilogic.com/images/157.png


…. texted postive

Offline

#3 2016-09-20 10:56:15

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

Re: Cannot upload - Cannot diagnose issue

Unrelated: remove /textpattern/setup/ from your install ASAP.

You’re running 4.6-dev. Update to 4.6.0 when you can, then try uploading again.

What are the permissions and ownership for /files/ and /images/ in your web root?

Last edited by gaekwad (2016-09-20 10:57:47)

Offline

#4 2016-09-20 11:26:00

richtestani
Plugin Author
Registered: 2009-11-08
Posts: 128

Re: Cannot upload - Cannot diagnose issue

The permissions for the folder:

drwxrwxr-x 2 forge forge 4096 Sep 18 12:30 files
drwxrwxrwx 4 forge forge 61440 Sep 18 12:30 images

Ther server is running nginx. It’s been running this version of TXP for I’d 3-4 months without issue. I know its the dev version, but it’s the one before the public release and everything that I needed was working. Something changed and I cant figure out what.

A url copied from the images tab:
http://shopcoobie.com/images/1245.jpg
One that works:
http://shopcoobie.com/images/1242t.jpg?1474049669

You can see the ids are close, so something recent changed. Is there a log file I can check that would indicate something TXP would not?

Thanks
Rich

Offline

#5 2016-09-20 11:31:41

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

Re: Cannot upload - Cannot diagnose issue

richtestani wrote #301634:

Ther server is running nginx. It’s been running this version of TXP for I’d 3-4 months without issue. I know its the dev version, but it’s the one before the public release and everything that I needed was working. Something changed and I cant figure out what.

Have you run multiple dev versions on this site? If so, was it working with a prior dev version and broke after a newer dev version? If Textpattern hasn’t changed, and I can’t think of anything that’s tweakable in the admin-side that prevents image uploads, then I wonder if something server-based has changed. You’re on Linode – perhaps a library update broke something, maybe? What happens if you disable rlt_article_image_selector – does the upload work?

Offline

#6 2016-09-20 13:23:21

richtestani
Plugin Author
Registered: 2009-11-08
Posts: 128

Re: Cannot upload - Cannot diagnose issue

Yes I have a few dev sites all running the same version of TXP, which had not had issues prior.
All versions are showing the same symptoms.
I will see what disabling some plugins does.

I should try the site locally as well and see the same issues arise.

Offline

Board footer

Powered by FluxBB