• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • 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

some error after upload file.

Status
Not open for further replies.

rongdede

Chevereto Member
🎯Description of the issue

some error after upload file.

▶🚶‍Reproduction steps
  1. upload file
  2. page refer to https://91yuntu.org/image, and show page not file
  3. but I found the image has uploded complete in image folder in server
😢Unexpected result

  • page refer to https://91yuntu.org/image, and show page not file.but I found the image has uploded complete in image folder in server

📃Error log message

*279 FastCGI sent in stderr: "PHP message: PHP Warning: The use statement with non-compound name 'Exception' has no effect in /home/wwwroot/www.91yuntu.org/app/routes/route.json.php on line 18" while reading response header from upstream, client: 112.120.111.1, server: www.91yuntu.org, request: "POST /json HTTP/2.0", upstream: "fastcgi://172.23.0.3:9000", host: "91yuntu.org", referrer: "https://91yuntu.org/91yun"
 

Attachments

  • 27B96CCD-D218-4ACB-B682-219CEF39DA86.jpg
    27B96CCD-D218-4ACB-B682-219CEF39DA86.jpg
    88.4 KB · Views: 11
  • 5D7553AF-4534-4EB7-86CC-1700B90E3D0A.jpg
    5D7553AF-4534-4EB7-86CC-1700B90E3D0A.jpg
    113.9 KB · Views: 11
No matter what you upload, your website throws this response

1578179643889.png

Which is very odd for 3 reasons:
  • It returns an image without id (which explain the redirect to /image) which shouldn't happen. All images have ID.
  • It returns a PNG file (I uploaded a JPG) in fact, it is a completely different file.
  • It reports that the image was uploaded 2 weeks ago (it is a just-now upload).
I suspect that your installation is modified, or that cache is messing everything. I can't think in anything else causing such behavior.

I believed that the update may fix the situation, but now I'm getting that the system isn't storing the cookie. The cookie requirements in 3.14.0 are strict and that could be also failing in your installation.

At this point I need server access to your installation to try to detect why the login cookie is not being sent to the client. Send access to REDACTED (I just need to access the system files at app/lib).
 
The problem is that your DB driver is not returning the value for lastInsertId. The following two queries executed, but the id values doesn't reflect the last row just inserted.

1578313746388.png

The issue here is due to incorrect DB auto_increment:

1578315699487.png

Most likely you imported these rows or handled them in such way that you lost the value of the auto_increment. You also have broken keys in your database structure:

1578316042288.png
^ You may note that the structure is OK, but not the indexes which should be:

1578316115615.png

I'm afraid that the problem is the entire database, there are issues on all tables. Keys are missing, structure is incomplete and this will requiere to manually fix the data because the records are corrupt. As you don't have that much content, I suggest you to re-install everything.
 
Unfortunately, this ticket has more than seven days without a reply or feedback from the original poster. We will now consider this ticket abandoned and its now closed.

Don't hesitate to create a new ticket if this matter is still causing you issues.

Ticket closed.
 
Status
Not open for further replies.
Back
Top