3.0 attachments

Started by Sir Osis of Liver, June 20, 2024, 04:18:18 PM

Previous topic - Next topic

Sir Osis of Liver

Getting this when attaching images.  Today's github code.

You cannot view this attachment.

Creates a link in post, no thumb, link is 404, file is not in /attachments.

You cannot view this attachment.





When in Emor, do as the Snamors.
                              - D. Lister

Tyrsson

Would be a lot more helpful if you create an issue on github :)
PM at your own risk, some I answer, if they are interesting, some I ignore.

Kindred

Our site here is not the proper place for alpha bug reports, as we already noted when you asked about the alpha in the first place.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sir Osis of Liver

<sigh>  Will see if I can figure out github.  (It's the old dawg thing :( .)
When in Emor, do as the Snamors.
                              - D. Lister

shawnb61

Quote from: Sir Osis of Liver on June 21, 2024, 12:52:55 PM<sigh>  Will see if I can figure out github.  (It's the old dawg thing :( .)

This quick overview for entering bugs up on GitHub may help:
https://www.simplemachines.org/community/index.php?topic=570115.0

If you want to get really dangerous, this is the developer version:
https://www.simplemachines.org/community/index.php?topic=576283.0

These are a little dated, but all the ideas still hold. 
A question worth asking is born in experience & driven by necessity. - Fripp

Sir Osis of Liver

Will have a look, thanks.  My main concern is posting irrelevant/stoopid info on github and wasting devs' time.  Been doing that here for years, but it's a public forum.
When in Emor, do as the Snamors.
                              - D. Lister

zedd151

Quote from: Sir Osis of Liver on June 21, 2024, 01:18:11 PMMy main concern is posting irrelevant/stoopid info on github and wasting devs' time.
Sounds logical to me, Sir Osis...

What is wrong with vetting 'bugs' here first, if only to determine if it is really a bug, instead of a feature that is not yet available?

Kindred

because this is not the place to discuss alpha stuff...... :P

once it goes to Beta - then we will open a board specifically to address 3.0 related questions, concerns, and reports
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Oldiesmann

The important part here is the "Server responded with 500 code" part. Your server error log will have useful details about that, which will help us fix the issue.
Michael Eshom
Christian Metal Fans

Sir Osis of Liver

Today's github download.  Running in php 8.3.8.  Files are uploaded correctly.  No server errors.  The 500 errors in screenshot are from forum.  There are errors in forum log, they occur in pairs -

Today at 10:31 PM
88762acf633f046b6d28d3881ba34351
https://www.thekrashsite.com/smf30/index.php?action=post2;start=0;board=1
/home/thekrash/domains/thekrashsite.com/public_html/smf30/Sources/Attachment.php (Line 1,411)

Type of error: General
Error message Select
2: rename(/home/thekrash/domains/thekrashsite.com/public_html/smf30/attachments/post_tmp_1_c96d88ed19d767749972feef75350b72,/home/thekrash/domains/thekrashsite.com/public_html/smf30/attachments/9_4f6cb83b2794f886a54ad2c22c72946bfc9728eb.dat): No such file or directory

Backtrace information

Type of error
General
Error message
2: rename(/home/thekrash/domains/thekrashsite.com/public_html/smf30/attachments/post_tmp_1_c96d88ed19d767749972feef75350b72,/home/thekrash/domains/thekrashsite.com/public_html/smf30/attachments/9_4f6cb83b2794f886a54ad2c22c72946bfc9728eb.dat): No such file or directory
File
/home/thekrash/domains/thekrashsite.com/public_html/smf30/Sources/Attachment.php
Line
1411
URL of page causing the error
https://www.thekrashsite.com/smf30/index.php?action=post2;start=0;board=1
Backtrace information

    #0: SMF\ErrorHandler->__construct()
    Called from /home/thekrash/domains/thekrashsite.com/public_html/smf30/Sources/ErrorHandler.php on line 141
    #1: SMF\ErrorHandler::call()
    Called from [internal function]
    #2: rename()
    Called from /home/thekrash/domains/thekrashsite.com/public_html/smf30/Sources/Attachment.php on line 1,411
    #3: SMF\Attachment::create()
    Called from /home/thekrash/domains/thekrashsite.com/public_html/smf30/Sources/Actions/Post2.php on line 392
    #4: SMF\Actions\Post2->submit()
    Called from [internal function]
    #5: call_user_func()
    Called from /home/thekrash/domains/thekrashsite.com/public_html/smf30/Sources/Actions/Post2.php on line 124
    #6: SMF\Actions\Post2->execute()
    Called from /home/thekrash/domains/thekrashsite.com/public_html/smf30/Sources/ActionTrait.php on line 55
    #7: SMF\Actions\Post::call()
    Called from [internal function]
    #8: call_user_func()
    Called from /home/thekrash/domains/thekrashsite.com/public_html/smf30/Sources/Forum.php on line 263
    #9: SMF\Forum->execute()
    Called from /home/thekrash/domains/thekrashsite.com/public_html/smf30/index.php on line 146



Today at 10:31 PM
88762acf633f046b6d28d3881ba34351
https://www.thekrashsite.com/smf30/index.php?action=uploadAttach;sa=add;f74da6cbe4=88762acf633f046b6d28d3881ba34351;board=1
/home/thekrash/domains/thekrashsite.com/public_html/smf30/Sources/Graphics/Image.php (Line 316)

Type of error: General
Error message Select
2: exif_thumbnail(7_19f73c25a8015204e292d9dbb5f2324ea94387b7.dat): File not supported

Backtrace information

Type of error
General
Error message
2: exif_thumbnail(7_19f73c25a8015204e292d9dbb5f2324ea94387b7.dat): File not supported
File
/home/thekrash/domains/thekrashsite.com/public_html/smf30/Sources/Graphics/Image.php
Line
316
URL of page causing the error
https://www.thekrashsite.com/smf30/index.php?action=uploadAttach;sa=add;f74da6cbe4=88762acf633f046b6d28d3881ba34351;board=1
Backtrace information

    #0: SMF\ErrorHandler->__construct()
    Called from /home/thekrash/domains/thekrashsite.com/public_html/smf30/Sources/ErrorHandler.php on line 141
    #1: SMF\ErrorHandler::call()
    Called from [internal function]
    #2: exif_thumbnail()
    Called from /home/thekrash/domains/thekrashsite.com/public_html/smf30/Sources/Graphics/Image.php on line 316
    #3: SMF\Graphics\Image->createThumbnail()
    Called from /home/thekrash/domains/thekrashsite.com/public_html/smf30/Sources/Attachment.php on line 1,455
    #4: SMF\Attachment::create()
    Called from /home/thekrash/domains/thekrashsite.com/public_html/smf30/Sources/Actions/AttachmentUpload.php on line 425
    #5: SMF\Actions\AttachmentUpload->createAttach()
    Called from /home/thekrash/domains/thekrashsite.com/public_html/smf30/Sources/Actions/AttachmentUpload.php on line 210
    #6: SMF\Actions\AttachmentUpload->add()
    Called from /home/thekrash/domains/thekrashsite.com/public_html/smf30/Sources/Actions/AttachmentUpload.php on line 142
    #7: SMF\Actions\AttachmentUpload->execute()
    Called from /home/thekrash/domains/thekrashsite.com/public_html/smf30/Sources/ActionTrait.php on line 55




When in Emor, do as the Snamors.
                              - D. Lister

Sir Osis of Liver

Also a bug in ACP, can't get into Server Settings > Session verification failed.

Seems I already have a github account, too tired to deal with it tonight.
When in Emor, do as the Snamors.
                              - D. Lister

shawnb61

The upgrades renames the file...

For them both to be there suggests a file restore took place...
A question worth asking is born in experience & driven by necessity. - Fripp

Sir Osis of Liver

Wrong topic, shawn, but yes, that's a possibility.  People do strange things when stuff goes sideways.
When in Emor, do as the Snamors.
                              - D. Lister

Advertisement: