Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-03 18:01:07

ibilisi
New Member
Registered: 2004-12-03
Posts: 2

File uploads, image uploads not working after upgrade to 4.0.3

Ok, sorry to do this guys. I searched but couldn’t find any answer to my problem. I know, seems impossible since this topic comes up frequently right?

I’m having a problem uploading files and images.
I have a tmp folder 777
I have a files folder 777

On upload of files i get: Undefined index: file in /usr/home/www/gandlil/textpattern/include/txp_file.php on line 306

On upload of images I get: upload_err_tmp_dir

So, I get nothing. The files,images,tmp folders are one directory level up from the textparttern directory or in the same directory as $path_to_site

Thanks for any ideas.
G

DIAG:
Textpattern version: 4.0.3 (r1188)
last_update: 2006-02-03 15:59:07/2006-02-03 17:04:19
Document root: /home/www/gandlil (/usr/home/www/gandlil)
$path_to_site: /usr/home/www/gandlil
Textpattern path: /usr/home/www/gandlil/textpattern
Permanent link mode: section_id_title
Temp folder: /usr/home/www/gandlil/tmp
Site URL: www.gandlil.com
PHP version: 4.4.0
server_time: 2006-02-03 11:55:33
MySQL: 4.0.26
Locale: en_US.ISO_8859-1
Server: Apache/2.0.54 (FreeBSD) PHP/4.4.0
Apache version: Apache/2.0.54 (FreeBSD) PHP/4.4.0
php_sapi_mode: apache2handler
os_version: FreeBSD 4.9-SECURITY

.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php </IfModule>

#php_value register_globals 0

————————————

Offline

#2 2006-02-05 02:39:34

ibilisi
New Member
Registered: 2004-12-03
Posts: 2

Re: File uploads, image uploads not working after upgrade to 4.0.3

Just a quick additonal note, file_uploads is ON in php.ini and I set the limit large. So, I have no idea what is going on. The only plugins I have are rss_superarchive and the zen_nthstep plugins.

I have played with moving the tmp files into the textpattern directory but to no avail.

Any ideas?
Thanks all

Offline

#3 2006-02-05 19:40:40

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: File uploads, image uploads not working after upgrade to 4.0.3

Check phpinfo(); what it says about file uploads.

Offline

Board footer

Powered by FluxBB