p3aul Posted October 9, 2008 Share Posted October 9, 2008 Hi! I really love PHP and I love this board! HOWEVER, I don't like the board software. In my last question for the board, I had occasion to upload a PHP file and a GIF image. The board software gave me an error and said I had already uploaded the file and to try again. Only it wouldn't let me try to upload the files again! I had to load my topic again and click on reply again. It didn't matter though, because I could never upload the files! even under different file names, it wouldn't let me. This is besides the fact that I had never uploaded either file before. I use PHPbb on my own board and I've never been unhappy with it. While this forum software is easyon the eyes, PHPbb is much better! Thanks, Paul Quote Link to comment https://forums.phpfreaks.com/topic/127780-solved-glich-in-the-board-software/ Share on other sites More sharing options...
Zane Posted October 10, 2008 Share Posted October 10, 2008 Not sure why it was restricted rh-hmd.txt 1.18KB p3aul Yesterday at 09:50:27 PM in if not expression 0 This is the only file we have for you though We'll look into the it. Quote Link to comment https://forums.phpfreaks.com/topic/127780-solved-glich-in-the-board-software/#findComment-661453 Share on other sites More sharing options...
ober Posted October 10, 2008 Share Posted October 10, 2008 There is a glitch of sorts but I don't think it's related to the software necessarily. Give the file a really off-the-wall name and try again. Quote Link to comment https://forums.phpfreaks.com/topic/127780-solved-glich-in-the-board-software/#findComment-661468 Share on other sites More sharing options...
.josh Posted October 10, 2008 Share Posted October 10, 2008 If the filename already exists, it won't let you upload it. I do think there is a bug - or rather, lack of feature would be more accurate - that if you do reach that point, there's no way to remove that file from the list of files to be uploaded, so you have to refresh and start all over. Quote Link to comment https://forums.phpfreaks.com/topic/127780-solved-glich-in-the-board-software/#findComment-661880 Share on other sites More sharing options...
ober Posted October 10, 2008 Share Posted October 10, 2008 It must be a problem only with this board or something because I know how they store the files and there is no way you could get a duplicate name. And that seems to simple to screw up, IMO. Quote Link to comment https://forums.phpfreaks.com/topic/127780-solved-glich-in-the-board-software/#findComment-661884 Share on other sites More sharing options...
Daniel0 Posted October 10, 2008 Share Posted October 10, 2008 test Hmm... mysql> SELECT filename FROM phpfreaks_smf.smf_attachments WHERE id_attach = 5390; +---------------+ | filename | +---------------+ | test12345.txt | +---------------+ 1 row in set (0.00 sec) [root@phpfreaks attachments]# ls -l | grep test12345.txt -rw-r--r-- 1 apache apache 14 Oct 10 09:15 test12345.txt It doesn't change the filenames... [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/127780-solved-glich-in-the-board-software/#findComment-661886 Share on other sites More sharing options...
Daniel0 Posted October 10, 2008 Share Posted October 10, 2008 Let's try again. I changed a setting... Seems to work now: mysql> SELECT * FROM phpfreaks_smf.smf_attachments WHERE filename = 'test12345.txt'; +-----------+----------+---------+-----------+-----------------+---------------+------+-----------+-------+--------+---------+-----------+-----------+----------+ | id_attach | id_thumb | id_msg | id_member | attachment_type | filename | size | downloads | width | height | fileext | mime_type | id_folder | approved | +-----------+----------+---------+-----------+-----------------+---------------+------+-----------+-------+--------+---------+-----------+-----------+----------+ | 5390 | 0 | 1011052 | 0 | 0 | test12345.txt | 14 | 2 | 0 | 0 | txt | | 1 | 1 | | 5391 | 0 | 1011058 | 0 | 0 | test12345.txt | 14 | 0 | 0 | 0 | txt | | 1 | 1 | +-----------+----------+---------+-----------+-----------------+---------------+------+-----------+-------+--------+---------+-----------+-----------+----------+ 2 rows in set (0.00 sec) [root@phpfreaks attachments]# ls -l | grep test12345.txt -rw-r--r-- 1 apache apache 14 Oct 10 09:22 5391_test12345_txtfa44e97a6f62559dc499e4c2b7700bdf -rw-r--r-- 1 apache apache 14 Oct 10 09:15 test12345.txt For the record, the setting "Encrypt stored filenames" under "Attachment settings" must be checked. [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/127780-solved-glich-in-the-board-software/#findComment-661892 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.