hi Forum,
I am having issues with the latest YouTube script. every YouTube link that is posted I get [YouTube] This video does not exist.
I have confirmed the website url dir is correct, required PHP files are where they need to go.
If I paste the YouTube link 3 times, on the third post I get a result
Back tracking, i had a server failure about a week or so ago and I had to rebuild, and I haven't been able to get this script functioning properly like it was previously prior to rebuilding.
php -v output
PHP 8.0.13 (cli) (built: Nov 22 2021 0943) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.13, Copyright (c) Zend Technologies
with Zend OPcache v8.0.13, Copyright (c), by Zend Technologies
PHP-Curl is installed
Output of php index.php
PHP Warning: Undefined array key 1 in /var/www/html/index.php on line 7
any ideas?
Update: Have tested on an older version of ubuntu (14.04)
Installed apache2/php/php-curl
Updated updated website in the script + rehashed. Still getting error above. Have the PHP source files been updated? Do I need to purchase again to get updated files?
hello, i just updated the source, just replace the index.php. You can download it again from "Purchase History"
HI Daniel,
I just downloaded the files again and placed in the root dir /var/www/html
Now I am not getting anything, I can see it is going out via the apache access log.
Got a error below.
php index.php
PHP Warning: Undefined array key "link" in /var/www/html/index.php on line 3
PHP Warning: Undefined array key "search" in /var/www/html/index.php on line 4
PHP Warning: Undefined array key 1 in /var/www/html/index.php on line 6
I have rebooted my server too just in case as it had updates it needed, still no luck.
Edut
Tested on another server running php 7.4.3
php index.php
PHP Notice: A non well formed numeric value encountered in /var/www/html/counter.php on line 5
PHP Notice: Undefined index: link in /var/www/html/index.php on line 3
PHP Notice: Undefined index: search in /var/www/html/index.php on line 4
PHP Notice: Undefined offset: 1 in /var/www/html/index.php on line 6
If you try another server put All the Files from the archive.
Edit:
Download it again, made some other modification for the rest of warnings that may appear.
Okay give me a moment, I will download again and upload to the web server for testing
Edit: Working now - Not sure what happend there, was the script updated?