Problem with File Attachments [message #6329] |
Tue, 08 October 2002 13:10 |
patrick
Messages: 103 Registered: September 2002
Karma: 0
|
Senior Member |
|
|
I'm not able to perform any file attachments any more.
Yesterday it did work. The only administration activity undertaken since then was to lock the forum files. I've tried to unlock them to see if it made any difference, but it did not.
The upload function seems to do something, but without any result or error message.
The error log viewer from the administration page did not log anything associated.
Any idea what this could be?
|
|
|
|
|
Re: Problem with File Attachments [message #6334 is a reply to message #6333] |
Tue, 08 October 2002 13:25 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
What are the permissions of the files inside theme/default/ or whatever theme you are using?
If the uid of the user is NOT the same as the owner of the files directory, you've got a problem since safe_mode wouldn't prevent copying of files in that case.
FUDforum Core Developer
|
|
|
|
|
|
Re: Problem with File Attachments [message #6347 is a reply to message #6344] |
Tue, 08 October 2002 14:08 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Does your PHP log errors into a file? Try to see if it does, in the event it does check that file for any errors.
FUDforum Core Developer
|
|
|
|
Re: Problem with File Attachments [message #6349 is a reply to message #6348] |
Tue, 08 October 2002 14:10 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
First check phpinfo() to see if this is done, if it is, phpinfo() will also tell you where you can find that file.
FUDforum Core Developer
|
|
|
|
|
|
Re: Problem with File Attachments [message #6355 is a reply to message #6353] |
Tue, 08 October 2002 14:49 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Unlikely if you installed 2.3.2 it would show 2.3.2.
Between version 2.3.2 and 2.3.1 file attachment code was re-written from scratch.
FUDforum Core Developer
|
|
|
|
|
Re: Problem with File Attachments [message #6361 is a reply to message #6360] |
Tue, 08 October 2002 20:23 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Yes it does. In fact it is clearly specified you should NEVER import data dump from 1 version into a forum running on another version.
Upgrades scripts exist for that very reason.
FUDforum Core Developer
|
|
|
|
Re: Problem with File Attachments [message #6363 is a reply to message #6362] |
Tue, 08 October 2002 21:28 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well you are somewhat in an undefined situation right now. The best bet would be to grab an upgrade script and upgrade to version 2.3.2
FUDforum Core Developer
|
|
|
|
|
Re: Problem with File Attachments [message #6367 is a reply to message #6365] |
Tue, 08 October 2002 21:45 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Check the maximum upload limit your host allows the file may too big and PHP is aborting to the upload.
FUDforum Core Developer
|
|
|
|
Re: Problem with File Attachments [message #6370 is a reply to message #6368] |
Tue, 08 October 2002 22:40 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You can generate a compressed version of the installation/upgrade script, read the manual for instructions. The resulting file would be ~800k, so well within your upload limit.
FUDforum Core Developer
|
|
|
|
Re: Problem with File Attachments [message #6386 is a reply to message #6382] |
Wed, 09 October 2002 13:22 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well you can use CVS from your personal computer, even if you use Windows there is WinCVS client avaliable.
you can 'chown' the upgrade.php yourself via a small trick.
<?php
copy('upgrade.php', 'upgrade2.php');
?>
the 'upgrade2.php' will be owned by the webserver.
Given the fact you've installed a 2.3.2 forum and then imported a 2.3.1 datadump I'll say that until you are @ version 2.3.2 the behaviour of your forum falls into the realm of the undefined.
FUDforum Core Developer
|
|
|
|
|
|
Re: Problem with File Attachments [message #6397 is a reply to message #6396] |
Wed, 09 October 2002 18:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
If you have cygwin installed you can use/compile the command line versions. Besides that I only know of WinCVS, try searching on Google, since I only use *nix my knowdledge of Windows CVS clients is rather limited...
FUDforum Core Developer
|
|
|