Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

  • 0
Steve

Reinstalled XAMMP to update to PHP 7.3, localhost now blank

Question

I did an overide of htdocs and the mysql 'data' folder. I can get to phpmyadmin without problems, but when I navigate to my site I get a blank page.

Does anyone know why?

Share this post


Link to post
Share on other sites

9 answers to this question

Recommended Posts

  • 0

@steve turn on debug mode on by editing config/defines.inc.php

if (!defined('_PS_MODE_DEV_')) { define('_PS_MODE_DEV_', true);

@tomik I use php 7.3 on live site, I think works fine for me.

Share this post


Link to post
Share on other sites
  • 0

I'm finding this in an error.log:

``` [ssl:warn] [pid 11468:tid 672] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name

[ssl:warn] [pid 11468:tid 672] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name ```

Share this post


Link to post
Share on other sites
  • 0

I have this in my hosts file:

```

localhost name resolution is handled within DNS itself.

127.0.0.1 localhost

::1 localhost

127.0.0.4 webshop

```

And this in my C:\xampp\apache\conf\extra directory:

```

##ServerAdmin webmaster@dummy-host.example.com
##DocumentRoot "C:/xampp/htdocs"
##ServerName webshop
##ServerAlias webshop
##ErrorLog "logs/dummy-host.example.com-error.log"
##CustomLog "logs/dummy-host.example.com-access.log" common

##ServerAdmin webmaster@dummy-host2.example.com
##DocumentRoot "C:/xampp/htdocs/dummy-host2.example.com"
##ServerName dummy-host2.example.com
##ErrorLog "logs/dummy-host2.example.com-error.log"
##CustomLog "logs/dummy-host2.example.com-access.log" common

``` I have no idea what to exactly change though, php 5.6 was different if I remember correctly.

Share this post


Link to post
Share on other sites
  • 0

It's fixed: DocumentRoot should be "C:/xammp/htdocs/webshop". And the lines were comments.

Last question:

I see these errors now: on top of my webpage:

``` Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in C:\xampp\htdocs\webshop\classes\Tools.php on line 5278

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in C:\xampp\htdocs\webshop\vendor\smarty\smarty\libs\sysplugins\smartyinternalcompilebase.php on line 75 ```

Can I ingore those or should I fix them?

Share this post


Link to post
Share on other sites
  • 0

just checked github, @datakick have made commit to fix first line issue, see here https://github.com/thirtybees/thirtybees/commit/990d56934009843a96b9d60a8b62d7645e090128 thank you :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×