Problem log in on a web
Autor: MARIA LUISA N.Guys, my web was working grate since 2 years ago, no i don't knpw why i can log into
I received this error
Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home1/royse/public_html/testmj/res/x5engine.php on line 5720
Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home1/royse/public_html/testmj/res/x5engine.php on line 7463
Warning: Cannot modify header information - headers already sent by (output started at /home1/royse/public_html/testmj/res/x5engine.php:5720) in /home1/royse/public_html/testmj/imlogin.php on line 12
Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0
the webpage is http://mjtalentos.com/
user:***
password:
can you help me.. i reported to my hosting but apafrentrly the php version is not compatible or something
Can yoy tell me what to do?
If i create a new web the problem is the same
I apreciate your help
Regards
Luisa
Luisa
Can you check with your hosting what version of PHP your site is running? It needs to be v7.x
Autor
My hosting is hostgator.com
I reuqest the info to the support guy and he just change some sttufs under
Thank you for providing the information. .htaccess php version was not supported. Your site is working fine at php 7.1 at my end. Higher version it is deprecated.
Thanks for chatting. It was a pleasure assisting you.
Thank you for providing the information. Please save the .htaccess code for your site.
# WebSite X5 - Start Code [do not edit]
<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
</IfModule>
# WebSite X5 - End Code
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php74” package as the default “PHP” programming language.
#AddHandler application/x-httpd-ea-php54 .php .php5 .phtml
# php -- END cPanel-generated handler, do not edit
<IfModule mime_module>
AddHandler application/x-httpd-ea-php71 .php .php7 .phtml
</IfModule>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
So if you have a problem with this, this is the solution.
have a grat day
Maria, is the problem resolved or does the problem persist?
Autor
i put that in the .htaccess file the problem has been solved.