Jump to content

[SOLVED] Glich in the board software.


Recommended Posts

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

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.