Closed sukhysall closed 1 year ago
Sorry for the messy way the command line output has presented itself.
Also had this issue, changing 'data0
' to 'data0[]
' on line 162 of UploadToShimmie.php did make the command not crash and stopped Shimmie from spitting out PHP errors related to the upload process. The image still doesn't get uploaded.
I also tried to do an upload using Postman which did work (image got an ID on Shimmie) but still didn't appear in the post lists, even as an Admin. Going straight to the ID did make the uploaded image appear.
Files below are the values I used in Postman
php_error.log & apache access.log files when trying to upload using the original UploadToShimmie.php file with 'data0
' on line 162
php_error.log --> Uncaught TypeError: count()
access.log
and php_error.log & apache access.log files when trying to upload using the modified UploadToShimmie.php file with 'data0[]
' on line 162
php_error.log --> No errors
access.log
I am running Shimmie on an windows 10 desktop using WAMP
shimmie: "2.9.1+" schema: 21 php: "8.0.14" db: "mysql 10.6.5-MariaDB" os: "Windows NT DEVILS-SERVER 10.0 build 19044 (Windows 10) AMD64" server: "Apache/2.4.52 (Win64) PHP/8.0.14"
@shish - hi. any chance to take a look?
This is also affecting our site.
Upgraded from shimmie2 2.8.4 to 2.9.2 and can't upload nothing.
Did a fresh install of shimmie2 2.9.2 on a nother site and that can't upload anything either.
No errors displayed to user and no errors in server logs.
Upgraded site is running on CentOS 7.9.2009 (64bit), Apache2, PHP 8.1, MariaDB 10.5.18 (even switched back to PHP 7.4 and still can't upload).
Test site is running on Debian 11.6 (64bit), Apache2, PHP 8.1, MariaDB 10.5.18 (even switched back to PHP 7.4 and still can't upload).
No idea why I didn't get any notifications for this :S
If uploading via Shimmie's built-in upload form works, but upload via third-party tools doesn't, then I'd file a bug with the third-party tools...
@Daveo7 are you talking about uploading via third-party tools (which seems to be what the rest of the commenters are talking about) or using the built-in form (which should probably be a separate issue)?
@shish built-in and multi-upload... neither work
Sorry for not making it a separate issue, as I thought it was the same issue.
No progress. Closing.
So I have a Synology DS1511+ running:
I'm running MariaDB locally on the NAS because I had a couple problems with running the docker instance of it. Once this issue is resolved, I can revisit running the DB on a docker too but for now I can confirm that Shimmie2 is successfully connected to it's MariaDB database so far so good.
ISSUE:
Having configured the "uploadtoshimmie.php" file (attached) into the root of the Grabber installation and entered the string into the "commands > image" section as per the guide in the above URL, I attempted to download an image expecting it to upload into my own instance of Shimmie. It failed. However, I have provided the Grabber output and also the output when running the command manually from command prompt:
GRABBER LOG OUTPUT:
[17:45:27.329][Info] Execution of ""C:\Users\sukhy>"C:\wamp64\bin\php\php5.6.40\php.exe" "C:\Program Files\Grabber\UploadToShimmie.php" -h="69284baf1cb50ebda18fe98746167325" -f="C:\Users\sukhy\Desktop\Grabber\test\69284baf1cb50ebda18fe98746167325.jpg" -t="general:testtag" -s="safebooru.org" -r="safe""
[17:45:27.331][Error] Command execution timeout
COMMAND LINE OUTPUT:
"C:\Users\sukhy>"C:\wamp64\bin\php\php5.6.40\php.exe" "C:\Program Files\Grabber\UploadToShimmie.php" -h="69284baf1cb50ebda18fe98746167325" -f="C:\Users\sukhy\Desktop\Grabber\test\69284baf1cb50ebda18fe98746167325.jpg" -t="general:testtag" -s="safebooru.org" -r="safe"
Something went wrong! Aborting.string(2214)
"<!doctype html>
Shimmie
Explanation
UploadToShimmie.txt "