Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 WordPress for Ecommerce Templates
 PHP 7.1 and HTTP Error 500
Author « Topic »  

GRN
Advanced Member

158 Posts

Posted - 04/28/2019 :  17:52:18  
ECT 7.04, WP 5.1.1, PHP 7.1

Hi there,

Getting 'This page isn't working', 'http error 500' errors on all .php pages. This happened after upgrading to PHP 7.1 from 5.6. i.e., https://www.threedogbakery.biz/categories.php.

db_conn_open.php has been updated in both vsadmin folders.

Any suggestions?

Thanks.

Glenn

Andy
ECT Moderator

95440 Posts

Posted - 04/28/2019 :  23:59:20  
Hi Glenn

Can you also check the syntax in vsadmin/includes.php https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=107737

If that's ok, can you ask your host to turn off friendly error messaging so the error being masked can give us some insight into what's happening?

Andy

Please feel free to review / rate our software

GRN
Advanced Member

158 Posts

Posted - 04/29/2019 :  13:24:25  
Hi there,

The syntax in the includes.php file(s) is OK.

I checked with the host support and they had me add the following code just after the opening PHP tag ...

ini_set('error_reporting', E_ERROR);
register_shutdown_function("fatal_handler");
function fatal_handler()
{
$error = error_get_last();
echo("<pre>");
print_r($error);
}

This showed the ECT Custom URLs plugin that was causing the problem. I deactivated the plugin and all seems to work OK now.

So do we still need this plugin or the alternative Custom Permalinks plugin?

Thanks.

Glenn

Andy
ECT Moderator

95440 Posts

Posted - 04/29/2019 :  13:48:30  
I don't think you need it now but if you do, use this one https://wordpress.org/plugins/custom-permalinks/

Andy

Please feel free to review / rate our software

GRN
Advanced Member

158 Posts

Posted - 04/29/2019 :  13:52:53  
Hi there,

OK, shall keep that in mind, and thanks for the info.

Glenn
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000