Steve Posted December 18, 2018 Posted December 18, 2018 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?
0 dosbiner Posted December 18, 2018 Posted December 18, 2018 @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.
0 Steve Posted December 19, 2018 Author Posted December 19, 2018 @steve turn on debug mode on by editing config/defines.inc.php Already have that.
0 Steve Posted December 19, 2018 Author Posted December 19, 2018 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 ```
0 Steve Posted December 19, 2018 Author Posted December 19, 2018 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 [email protected] ##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 [email protected] ##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.
0 Steve Posted December 19, 2018 Author Posted December 19, 2018 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?
0 dosbiner Posted December 19, 2018 Posted December 19, 2018 @steve I don't know about first line, but you can ignore second line message
0 dosbiner Posted December 19, 2018 Posted December 19, 2018 just checked github, @datakick have made commit to fix first line issue, see here https://github.com/thirtybees/thirtybees/commit/990d56934009843a96b9d60a8b62d7645e090128 thank you :)
0 Steve Posted December 19, 2018 Author Posted December 19, 2018 @dosbiner @datakick's solution worked perfectly, thanks!
Question
Steve
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?
9 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now