SeanM Posted June 1, 2020 Report Posted June 1, 2020 Got everything installed. 2 problems when trying to upload a avatar it gives me an error "PHP Fileinfo extension must be installed/enabled to use Intervention Image." which I assume is installed as I am using VMS hosing. I am using php 7.3. Secondly the cron job is doing my head in, "There was a problem running the cron; make sure it's setup and check logs at storage/logs/cron.log. See the docs" Mind you there is no log there. I assume this is the correct format when creating it in cpanel: blusquar php /blusquar/phpvms/artisan schedule:run >> /dev/null 2>&1 Quote
Administrators Nabeel Posted June 1, 2020 Administrators Report Posted June 1, 2020 There's no log because it's not running the cronjob. You have to ask your host the correct path to PHP for setting it up. I try to guess what that path is in the cronjob page. It would look something like: php /blusquar/phpvms/artisan schedule:run >> /dev/null 2>&1 Quote
SeanM Posted June 1, 2020 Author Report Posted June 1, 2020 Yeah, tried that one no luck... I can create a ticket... using your hosting so was avoiding a ticket if possible. Quote
Administrators Nabeel Posted June 1, 2020 Administrators Report Posted June 1, 2020 On 6/1/2020 at 7:50 PM, SeanM said: Yeah, tried that one no luck... I can create a ticket... using your hosting so was avoiding a ticket if possible. Expand Ah, yeah, create a ticket. You've switched to PHP 7.4 already in cPanel? What's the command line that phpvms shows? Quote
SeanM Posted June 1, 2020 Author Report Posted June 1, 2020 On 6/1/2020 at 9:31 PM, Nabeel said: Ah, yeah, create a ticket. You've switched to PHP 7.4 already in cPanel? What's the command line that phpvms shows? Expand Only 7.3 is avail... not sure if that matters... Command line: * * * * * cd /home/blusquar/phpvms && /opt/cpanel/ea-php73/root/usr/bin/php-cgi -d register_argc_argv=On artisan schedule:run >> /dev/null 2>&1 thos what your referring to? Quote
Administrators Nabeel Posted June 1, 2020 Administrators Report Posted June 1, 2020 On 6/1/2020 at 9:36 PM, SeanM said: Only 7.3 is avail... not sure if that matters... Command line: * * * * * cd /home/blusquar/phpvms && /opt/cpanel/ea-php73/root/usr/bin/php-cgi -d register_argc_argv=On artisan schedule:run >> /dev/null 2>&1 thos what your referring to? Expand Ah yes, 7.3 is fine. Try using this for the cron: cd /home/blusquar/phpvms && /opt/cpanel/ea-php73/root/usr/bin/php-cgi -d register_argc_argv=On artisan schedule:run Quote
SeanM Posted June 1, 2020 Author Report Posted June 1, 2020 Awesome, that worked. Any idea on Intervention\Image\Exception\MissingDependencyException PHP Fileinfo extension must be installed/enabled to use Intervention Image. I am pretty sure all dependencies are working. Quote
Administrators Nabeel Posted June 1, 2020 Administrators Report Posted June 1, 2020 That looks like a problem on my end, let me fix that. Didn't know that was a required dep for Intervention Quote
Administrators Nabeel Posted June 1, 2020 Administrators Report Posted June 1, 2020 Ok, give it a try now. I made a bug report to add fileinfo as a required PHP extension Quote
SeanM Posted June 1, 2020 Author Report Posted June 1, 2020 (edited) That did it, pictures are not loading but that could be any number of things on my side. Thanks for the help on all that. Edited June 1, 2020 by SeanM Quote
Administrators Nabeel Posted June 1, 2020 Administrators Report Posted June 1, 2020 On 6/1/2020 at 10:24 PM, SeanM said: That did it, pictures are not loading but that could be any number of things on my side. Thanks for the help on all that. Expand Awesome, no problem. Quote
Cloudpanda Posted June 2, 2020 Report Posted June 2, 2020 For what it maybe worth, I have been dealing with this for hours and finally got it to work. My host is Hostgator and this is what worked for me in the cron command /opt/cpanel/ea-php73/root/usr/bin/php /home1/username/public_html/artisan schedule:run >> /dev/null 2>&1 Quote
Administrators Nabeel Posted June 2, 2020 Administrators Report Posted June 2, 2020 On 6/2/2020 at 1:55 AM, Cloudpanda said: For what it maybe worth, I have been dealing with this for hours and finally got it to work. My host is Hostgator and this is what worked for me in the cron command /opt/cpanel/ea-php73/root/usr/bin/php /home1/username/public_html/artisan schedule:run >> /dev/null 2>&1 Expand What did the maintenance page in the admin recommend for the command? Quote
Cloudpanda Posted June 2, 2020 Report Posted June 2, 2020 On 6/2/2020 at 11:41 AM, Nabeel said: What did the maintenance page in the admin recommend for the command? Expand This is what it shows - * * * * * cd /home1/panda/public_html && /opt/cpanel/ea-php72/root/usr/bin/php-cgi -d register_argc_argv=On artisan schedule:run >> /dev/null 2>&1 Quote
Administrators Nabeel Posted June 3, 2020 Administrators Report Posted June 3, 2020 On 6/2/2020 at 4:45 PM, Cloudpanda said: This is what it shows - * * * * * cd /home1/panda/public_html && /opt/cpanel/ea-php72/root/usr/bin/php-cgi -d register_argc_argv=On artisan schedule:run >> /dev/null 2>&1 Expand Interesting... but the command line you're using is PHP 7.3? I think I need to change how it's launched there (without the cd) Quote
Cloudpanda Posted June 3, 2020 Report Posted June 3, 2020 On 6/3/2020 at 12:12 AM, Nabeel said: Interesting... but the command line you're using is PHP 7.3? I think I need to change how it's launched there (without the cd) Expand Yes 7.3. the host doesnt offer 7.3 unless someone ask for it and they were able to update. They did advise 7.4 was coming soon. I tried it with the added (cd) along with the other text in the line just to try and it accepted that too. I am very new to doing any of this. Lots and trial and error. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.