• 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

CHV 3.2.5 & API Issues - The link redirects instead of giving API response ??

Status
Not open for further replies.

AshleyUK

💖 Chevereto Fan
Hi,
I completed the update transition of V 2.3.1 (approx), to V 3.2.5 Using Avasts upgrade tool to keep all User ID's etc.
That went well.

I've just tried to sort out the API, but I can't seem to get it to work?

An example link - that should receive an API response is:

DONT CLICK - NSFW RESULTS

http://www.ultraimg.com/api/1/uploa...13/23-3d-beach-sand-wallpaper.jpg&format=json

However, this doesn't receive an API response? This actually redirects to:

http://ultraimg.com/image/api

(NSFW image on that page!!)

Do you know why this is happening? Or how I can solve this?

Thank You.
 
First of all you should use version 3.3.2 and secondly I will like to know if you are using the default API route or you are using a modified version?
 
I overwrote my old htaccess files which I used with v2.3.1 ? with the ones that were included with the CHV 3.2.5 update. Perhaps one of the htaccess files still remains, and is causing the problems?
I've done a text search for "api" within the root htaccess file, but didn't find anything.
Is there anything in particular that I should be looking for?

I see that the path is www.ultraimg.com/chv3/api/ . . . .

Should I have a folder called 'api' with something inside it?? Because I don't have that folder for some reason?
 
Last edited:
Problem is that you have an image with public id "api" and you have a route which is also "api". This is due to the old way of doing links (somesite.com/<id>) that causes conflict with your installation (and actually with any installation out there). I will add a patch to fix this, in the meanwhile you can delete that /api image and it will work for you.
 
Rodolfo, it annoys me that I didn't even consider deleting that image. lol
That has indeed fixed the problem and the API is now working perfectly fine.
Thank you for your help.
 
Status
Not open for further replies.
Back
Top