• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

All in One Video Downloader Script

All in One Video Downloader Script v2.14.1

No permission to download
[QUOTE = "coeur51, post: 162458, membro: 8676"]
Se você pode configurar a reescrita de URL, pode ser um trabalho. Mas, por padrão, apenas o arquivo .htaccess está incluído.
[/CITAR]
yeh...u understand but the page do not open...i dont know if need directives for nginx...
 
If you can configure URL rewriting it can be work. But by default only .htaccess file included.
im tryin this code :


RewriteEngine On
RewriteRule ^sitemap\.xml$sitemap.php [L]
RewriteCond %{THE_REQUEST}^GET\/index\.php\?page=([\s&]+) [NC]
RewriteRule ^index\.php$/page/% 1? [R=301,L]
RewriteRule ^page/([/] +)/?$/Index.php?page=$1 [NC,L]



but i think its not ok..you can help me....
so thank you.
 
im tryin this code :


RewriteEngine On
RewriteRule ^sitemap\.xml$sitemap.php [L]
RewriteCond %{THE_REQUEST}^GET\/index\.php\?page=([\s&]+) [NC]
RewriteRule ^index\.php$/page/% 1? [R=301,L]
RewriteRule ^page/([/] +)/?$/Index.php?page=$1 [NC,L]



but i think its not ok..you can help me....
so thank you.
Try :

Code:
RewriteEngine On
RewriteRule ^ sitemap \ .xml $ sitemap.php [L]
RewriteCond% {THE_REQUEST} ^ GET \ /index\.php\?page=([\s&]+) [NC]
RewriteRule ^ index \ .php $ / page /% 1? [R = 301, L]
RewriteRule ^ page / ([ /] +) /? $ /Index.php?page=$1 [NC, L]
 
Last edited:
  • Like
Reactions: CMD
Content editing does not work error on line 218 PHP Fatal error: Uncaught PDOException: SQLSTATE [HY093]: Invalid parameter number: parameter was not defined in / var / www / www-root / data / www / site / admin / classes / database. class.php: 218

All extensions are enabled and the server is configured. This is a script error.
 
Last edited:
Content editing does not work error on line 218 PHP Fatal error: Uncaught PDOException: SQLSTATE [HY093]: Invalid parameter number: parameter was not defined in / var / www / www-root / data / www / site / admin / classes / database. class.php: 218

All extensions are enabled and the server is configured. This is a script error.
Edit file : /admin/classes/database.class.php

Line 210, replace :

Code:
$query = self::$db->prepare("UPDATE contents SET content_text=:content_text, content_slug=:content_slug, content_title=:content_title, content_opt=:content_opt, content_description=:content_description WHERE ID=:content_id");

by :

Code:
$query = self::$db->prepare("UPDATE contents SET content_text=:content_text, content_slug=:content_slug, content_title=:content_title, content_opt=:content_opt, content_description=:content_description, content_type=:content_type WHERE ID=:content_id");
 
  • Like
Reactions: CMD and symbianzone
much appreciate for the script. after install, i cant login to admin

PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'xxxxxxx_download.options' doesn't exist in admin/classes/database.class.php:59S

checked in phpmyadmin, all 5 tables are there with content

Any advice?
 
Last edited:
much appreciate for the script. after install, i cant login to admin

PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'xxxxxxx_download.options' doesn't exist in admin/classes/database.class.php:59S

checked in phpmyadmin, all 5 tables are there with content

Any advice?
You are using MariaDB or MySQL because the port is not same

If MySQL, Open file system/db.php and check line 2:

Code:
$ database ["host"] = "localhost";
 
Last edited:
Try :

Code:
RewriteEngine On
RewriteRule ^ sitemap \ .xml $ sitemap.php [L]
RewriteCond% {THE_REQUEST} ^ GET \ /index\.php\?page=([\s&]+) [NC]
RewriteRule ^ index \ .php $ / page /% 1? [R = 301, L]
RewriteRule ^ page / ([ /] +) /? $ /Index.php?page=$1 [NC, L]
ive try but the problem continue with page...i think it some directive to nginx...
 
[QUOTE = "coeur51, должность: 163604, участник: 8676"]
Редактировать файл: /admin/classes/database.class.php

Строка 210, заменить:

Code:
 $ query = self :: $ db-> prepare ("ОБНОВЛЕНИЕ содержимого SET SET content_text =: content_text, content_slug =: content_slug, content_title =: content_title, content_opt =: content_opt, content_description =: content_description WHERE ID =: content_id") ;[/КОД]

по :

[CODE] $ query = self :: $ db-> prepare ("ОБНОВИТЬ содержимое SET SET content_text =: content_text, content_slug =: content_slug, content_title =: content_title, content_opt =: content_opt, content_description =: content_description, content_type =: content_type WHERE ID =: content_id "); [/ КОД]
[/ QUOTE]
Try :

Code:
RewriteEngine On
RewriteRule ^ sitemap \ .xml $ sitemap.php [L]
RewriteCond% {THE_REQUEST} ^ GET \ /index\.php\?page=([\s&]+) [NC]
RewriteRule ^ index \ .php $ / page /% 1? [R = 301, L]
RewriteRule ^ page / ([ /] +) /? $ /Index.php?page=$1 [NC, L]

Yes, thanks for the answer but, all the same, the editor falls off and glitches when adding a picture, it does not appear
 
You are using MariaDB or MySQL because the port is not same

If MySQL, Open file system/db.php and check line 2:

Code:
$ database ["host"] = "localhost";

MySql. I can see localhost no issue. database also createds
 

Attachments

  • aio.PNG
    aio.PNG
    16.7 KB · Views: 32
  • aio 2.PNG
    aio 2.PNG
    65 KB · Views: 32
There is new version out already 1.6.3

About nginx config:

location / {
try_files $uri $uri/ /index.php?$args;
index index.html index.php;
}

location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.php;
include fastcgi_params;
}

This works fine
 
Edit file : /admin/classes/database.class.php

Line 210, replace :

Code:
$query = self::$db->prepare("UPDATE contents SET content_text=:content_text, content_slug=:content_slug, content_title=:content_title, content_opt=:content_opt, content_description=:content_description WHERE ID=:content_id");

by :

Code:
$query = self::$db->prepare("UPDATE contents SET content_text=:content_text, content_slug=:content_slug, content_title=:content_title, content_opt=:content_opt, content_description=:content_description, content_type=:content_type WHERE ID=:content_id");

Thank you, it works!

There is one more issue, when the URL is shared on social media via share buttons on the download page, when anyone opens that shared link, it gives error to download files.
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock