• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

ShareX does not work on v4 with v1 api

Simply_Corbett

Chevereto Member
Tested against a directadmin debian installation & the VPS setup method on ubuntu 20.04. The following bug is from the vps setup method.

▶ Reproduction steps

1) Attempt to upload image from sharex using https://url.com/api/1/upload (or http) and the API key.

2) Get an error.

😢 Unexpected result

ShareX errors out.

📃 Error log message


(not sure if the below error is related)

[Sun Jan 30 12:23:41.876006 2022] [core:notice] [pid 39283] AH00094: Command line: '/usr/sbin/apache2'
OutOfBoundsException thrown in /var/www/html/app/vendor/php-ds/php-ds/src/Map.php:501

# Message


# Incident ID:61f6ca0709678

# Time
2022-01-30T17:25:27+00:00 [1643563527]

# Stack trace
------------------------------------------------------------
#0 /var/www/html/app/legacy/load/web.php:378
Ds\Map->remove()
------------------------------------------------------------
#1 /var/www/html/app/src/Components/Legacy/G/Handler.php:140
{closure}()
------------------------------------------------------------
#2 /var/www/html/app/legacy/load/web.php:396
Chevereto\Components\Legacy\G\Handler->__construct()
------------------------------------------------------------
#3 /var/www/html/app/legacy/load/loader.php:292
require_once()
------------------------------------------------------------
#4 /var/www/html/app/legacy/entrypoints/index.php:15
require_once()
------------------------------------------------------------
#5 /var/www/html/index.php:14
require_once()
------------------------------------------------------------

# Server
Linux localhost 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64
OutOfBoundsException thrown in /var/www/html/app/vendor/php-ds/php-ds/src/Map.php:501

# Message


# Incident ID:61f6ca09010a6

# Time
2022-01-30T17:25:29+00:00 [1643563529]

# Stack trace
------------------------------------------------------------
#0 /var/www/html/app/legacy/load/web.php:378
Ds\Map->remove()
------------------------------------------------------------
#1 /var/www/html/app/src/Components/Legacy/G/Handler.php:140
{closure}()
------------------------------------------------------------
#2 /var/www/html/app/legacy/load/web.php:396
Chevereto\Components\Legacy\G\Handler->__construct()
------------------------------------------------------------
#3 /var/www/html/app/legacy/load/loader.php:292
require_once()
------------------------------------------------------------
#4 /var/www/html/app/legacy/entrypoints/index.php:15
require_once()
------------------------------------------------------------
#5 /var/www/html/index.php:14
require_once()
------------------------------------------------------------

# Server
Linux localhost 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64
 
Last edited:
I have finished coding the api for create-user, create album, edit image info (album, category). Anyone who needs it can contact me to get the file route.api.php to override
 
Back
Top