Backup and Kraken issues
Hi, I am getting this error from Cron for my backup (runway) which is not running correctly. I have set it up to run every 23 hrs but nothing happens.
Parse error: syntax error, unexpected '[' in /home4/digitale/public_html/perch/core/runway/lib/PerchRouter.class.php on line 8
I have set up Kraken but I just get a list of images with each one having the same output which is Status (PENDING) original size 0 new size 0 saved 0
Can you post your Diagnostic Report, please?
Rachel,
I have added the long version.
I think perhaps the CLI version of PHP that cron is using is PHP < 5.4.
You should be able to check with
Yes, my default on the server is 5.3.29 but I run 5.4 by adding it to my .htaccess file AddHandler application/x-httpd-php54 .php. I guess this does not work in this case?
.htaccess
is used by Apache for web requests. Cron doesn't go via the web server at all - it runs the command line version of PHP, so.htaccess
has no effect.Yes the CLI would be 5.3.29.
It needs to be 5.4 minimum.
Ok, I have updated that to 5.4.
Is there any reason this is not working?
I have set up Kraken but I just get a list of images with each one having the same output which is Status (PENDING) original size 0 new size 0 saved 0?
I think the URL in settings should be:
Ok thanks. I will try that.
That just gives me a 404 in the URL and I have not seen any change in the backend?
What do you mean by "a 404 in the URL" ?
It goes to a 404 page.
Right, but it won't when the image file name is appended to it, correct?
Yes, correct. When you add an image file name to the end it shows the image.
Ok, that should be what's needed for Kraken then.
So why then to I get no change with any image, nothing has changed since the site has been live (only a couple of weeks)?
Status (PENDING) original size 0 new size 0 saved 0?
Does that happen for new jobs on the queue now that you've fixed the settings?
If you mean new images. I have not added any since then.
Yes, new images or new sizes of existing images.