Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Tinymce 4.9.8 upload image
Post: RE: Tinymce 4.9.8 upload image

By looking at your code, most probably the image location returned in the JSON object does not exist, because you are building it from $imageFolder, which uses a relative path.  To the point, inste...
4,472 Views
5 Replies
08-27-2020, 02:10 PM
anturom
    Thread: Cron job returns "Undefined index: REQUEST_METHOD"
Post: RE: Cron job returns "Undefined index: REQUES...

The problem has now been solved, by calling PHP with Code: -- /usr/bin/php-cli -- instead of just Code: -- /usr/bin/php -- Thank you everyone for interest in this issue!
6,198 Views
8 Replies
03-23-2019, 03:42 AM
anturom
    Thread: Cron job returns "Undefined index: REQUEST_METHOD"
Post: RE: Cron job returns "Undefined index: REQUES...

@php_rocs, Code: -- /usr/bin/php -f /home///index.php cronjobs statistics -- File permissions on index.php are "0644".
6,198 Views
8 Replies
03-20-2019, 10:02 PM
anturom
    Thread: Cron job returns "Undefined index: REQUEST_METHOD"
Post: RE: Cron job returns "Undefined index: REQUES...

@php_rocs, Yes, to be more accurate, on Windows I can run this job successfully from the command line manually (not actually as a cron), like this: Code: -- php index.php cronjobs statistics -- Fr...
6,198 Views
8 Replies
03-20-2019, 11:36 AM
anturom
    Thread: Cron job returns "Undefined index: REQUEST_METHOD"
Post: RE: Cron job returns "Undefined index: REQUES...

CSRF protection is enabled. Windows machine is running PHP 7.1.17. Linux server is running PHP 7.1.27. My CPanel cronjob has the form: Code: -- /usr/bin/php -f /home///index.php cronjobs statistic...
6,198 Views
8 Replies
03-20-2019, 01:23 AM
anturom
    Thread: Cron job returns "Undefined index: REQUEST_METHOD"
Post: Cron job returns "Undefined index: REQUEST_METHOD"

Hi, I'm attempting to run a cron job using CodeIgniter 3.1.8. The cron job works fine locally from the Windows command line, but when I run it on a Linux server as a CPanel cron, I get this in the ...
6,198 Views
8 Replies
03-19-2019, 12:35 PM
anturom

Theme © iAndrew 2016 - Forum software by © MyBB