Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-04-17 07:17:47

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 805
Website

I can't upload images ... getting errors ... !?

I could upload images, but after installing <txp:smd_thumbnail> (0.31) I can’t anymore … !?

First popup > SAFE MODE restriction

Second popup > Invalid filename

Server diagnose is ok … prefs on folders are ok … what does this mean?

Offline

#2 2015-04-17 07:48:43

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

Re: I can't upload images ... getting errors ... !?

The first error can probably be fixed by switching to a more recent (less ancient) PHP version.

Offline

#3 2015-04-17 07:52:37

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 805
Website

Re: I can't upload images ... getting errors ... !?

ruud wrote #290049:

The first error can probably be fixed by switching to a more recent (less ancient) PHP version.

PHP versie: 5.2.3
MySQL: 5.0.27

Offline

#4 2015-04-17 16:29:22

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

Re: I can't upload images ... getting errors ... !?

See PHP: unsupported branches
I know TXP requires 5.2.3 and above, but for security reasons it’s not recommended to use an unsupported PHP version.

You could disable safe-mode in PHP if you are allowed to change things like that on the server you’re using.

Offline

#5 2015-04-17 18:40:51

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 805
Website

Re: I can't upload images ... getting errors ... !?

ruud wrote #290085:

You could disable safe-mode in PHP if you are allowed to change things like that on the server you’re using.

Thanks Ruud … somewhere hidden in the admin it was possible to disable safe-mode … everything is working as it should … :)

But … does it make the server (site) more vunrable?

Offline

#6 2015-04-17 22:13:07

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

Re: I can't upload images ... getting errors ... !?

If you use parts/functions of PHP that are vulnerable that could be a problem.

Offline

#7 2015-04-18 04:52:53

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 805
Website

Re: I can't upload images ... getting errors ... !?

BTW … the errors are gone but I still can’t change the permissions of some folders. You’re right Ruud, the 5.3.2 version of PHP is “ancient”.

Offline

#8 2015-04-18 09:21:05

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

Re: I can't upload images ... getting errors ... !?

ruud wrote #290085:

See PHP: unsupported branches

Interesting.

Should there be a caveat in the Textpattern sys reqs to say that the underlying libraries (PHP, MySQL, httpd) should still be vendor-supported?

Offline

Board footer

Powered by FluxBB