0
This is my URL :- http://pos.aiwebdev.com
Everything was doing okay since yesterday, finish the installation part and today, an error was thrown with a HTTP ERROR 500
.
Can you please help me on this issue?
Thank you!
0
Please check your server error log and let me know the error details so that I can suggest.
0
Hi there,
i've checked all the guidelines as mentioned in the documentation, all is good. All the folders have 755 and my files have the 644 access. And also i've checked the database config and everything is good.
but still, the system is throwing an error :-
PHP Parse error: syntax error, unexpected '?' in /home/aiwebdev/pos.aiwebdev.com/app/libraries/Tec.php on line 36
Can you advise. Thanks in advance!
0
Please update your php version to 7.0 - 7.2 and test again. Thank you
0
Hi there,
Yeah as per attached, my current version of php is 7.2.
But it still throwing the same error :- PHP Parse error: syntax error, unexpected '?' in /home/aiwebdev/pos.aiwebdev.com/app/libraries/Tec.php on line 36
Thanks in advance.
0
Hi there, any updates on this?
Thanks a bunch!
0
It's not php 7 on the folder you have installed. Try to add info.php with <?php php_info(); ?>
and visit it in browser to see what's the version set on that folder. You can check with your server admin/host too.
0
Hi there, the problem occured again.
i've checked all the guidelines as mentioned in the documentation, all is good. All the folders have 755 and my files have the 644 access. And also i've checked the database config and currently runs in php 7.2 and everything is good.
and the error log showing this errer :- PHP Parse error: syntax error, unexpected '?' in /home/aiwebdev/pos.aiwebdev.com/app/libraries/Tec.php on line 36
Can you advise. Thanks in advance!
0
The error is due to Null Coalescing Operator
that is only supported in php7
Please refer to my previous reply
It's not php 7 on the folder you have installed. Try to add info.php with
<?php php_info(); ?>
and visit it in browser to see what's the version set on that folder. You can check with your server admin/host too.
Thank you
0
I will try in a bit and i will update you if everything is okay.
Thanks a bunch!
We use Cookies
We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.