Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-02-21 14:51:59
- eivl
- Member
- Registered: 2009-04-09
- Posts: 20
[Solved]Error when uploading images, win2003server, ISS,PHP and Mysql
Hello i have moved my txp site to a windows2003 server, i installed php form a guide on their site and then mysql.
Everything looks perfect, but i cant upload images.
Warning: getimagesize() [function.getimagesize]: Filename cannot be empty in [Path_to_web_folder]\textpattern\include\txp_image.php on line 843
Can this have something to do with read/write permissions in ISS or PHP?
Last edited by eivl (2010-02-23 17:12:42)
Offline
#2 2010-02-23 17:11:38
- eivl
- Member
- Registered: 2009-04-09
- Posts: 20
Re: [Solved]Error when uploading images, win2003server, ISS,PHP and Mysql
I found a solution. the problem, after looking at the code, was that php didnt have write access to the tmp folder where images where uploaded to, correcting this in php.ini did the trick.
Offline
Re: [Solved]Error when uploading images, win2003server, ISS,PHP and Mysql
Hi eivl
I’m having what might be a similar problem but I can’t figure out how to set the permissions correctly in php.ini.
Would you mind sharing the voodoo?
thanks
Stu
Offline