AVDBAPI Error Fixes

  • 58views

đź”§ Common Errors & Fixes

1. Manual Movie Upload

  • Always upload new movies under “Movies” or “Series”.

  • ⚠️ Do not upload to Blog, Page, or Article — this may cause slug errors.


2. Cannot Crawl Movies

  • If crawling fails, press F12 (Developer Tools) to check errors.

  • If you see:
    “This request has been blocked; the content must be served over HTTPS”
    → Add https:// to the website URL.


3. Homepage Doesn’t Update

  • If the homepage doesn’t refresh after crawling:

    • Clear website cache

    • Clear VPS cache

    • Clear all other caching layers


4. Edit Footer & Language

  • Footer Menu:
    Edit directly in:

    \application\views\theme\missav\footer
  • Change Language:

    1. Copy the en language file

    2. Rename it to vn

    3. Edit content into Vietnamese

    4. Add vn to the language section in the website settings


5. Website 404 Error (Nginx Users)

If you get 404 errors, add this rewrite rule in Nginx config:

location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; # Adjust if needed
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTP_AUTHORIZATION $http_authorization;
fastcgi_index index.php;
}

6. Error When Reinstalling

If you see:
“Looks like this app has already been installed! You can’t reinstall it again.”

→ Go to:

/application/config/database.php

and edit line 79:

'hostname' => 'enter_hostname'

7. Sitemap Update Error

  • If you click Update Sitemap and get HTTP ERROR 500 → Increase your PHP memory limit.


8. Player Hidden / Error Code

This can have multiple causes:

  1. Clear web cache & browser cache

  2. Try a different device or browser

  3. Press F12 to check error logs

  4. Send logs/screenshots to Telegram Support

⚠️ If you see an error like the image below, it means you used a restricted m3u8 link.
👉 Remove unauthorized links and use the official embed link.

Player Error


9. Change Embed URL

To update embed URLs in database, run this SQL:

UPDATE your_table_name
SET your_column_name = REPLACE(
REPLACE(your_column_name, 'hls.jav1x.com', 'avdb.avtortv.com'),
'hls1.jav1x.com', 'avdb.avtortv.com'
)
WHERE your_column_name LIKE '%hls.jav1x.com%'
OR your_column_name LIKE '%hls1.jav1x.com%';

10. Crawl display “Status: Server connection error!

The reason is that setting the batch height (500-1000) causes server overload. You need to reduce the batch size, for example: 10-50.

đź’¬ Need help? Contact support on Telegram:
👉 @Avdb Support