Jump to content

Blocked by Preston, in a local linux installation, PS 1.7.1.1


Recommended Posts

Hi

 

Thanks for answerying

 

I turned to the debug mode and red the error logs in the server xampp, here below:

 

[Fri May 05 13:59:18.356254 2017] [mpm_prefork:notice] [pid 3470] AH00169: caught SIGTERM, shutting down
[Fri May 05 13:59:22.001028 2017] [ssl:warn] [pid 5177] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri May 05 13:59:22.001095 2017] [ssl:warn] [pid 5177] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri May 05 13:59:22.001185 2017] [suexec:notice] [pid 5177] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Fri May 05 13:59:22.062750 2017] [auth_digest:notice] [pid 5178] AH01757: generating secret for digest authentication ...
[Fri May 05 13:59:23.001588 2017] [ssl:warn] [pid 5178] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri May 05 13:59:23.001633 2017] [ssl:warn] [pid 5178] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri May 05 13:59:23.001725 2017] [lbmethod_heartbeat:notice] [pid 5178] AH02282: No slotmem from mod_heartmonitor
[Fri May 05 13:59:23.012473 2017] [mpm_prefork:notice] [pid 5178] AH00163: Apache/2.4.25 (Unix) OpenSSL/1.0.2j PHP/5.6.30 mod_perl/2.0.8-dev Perl/v5.16.3 configured -- resuming normal operations
[Fri May 05 13:59:23.012516 2017] [core:notice] [pid 5178] AH00094: Command line: '/opt/lampp/bin/httpd -E /opt/lampp/logs/error_log -D SSL -D PHP'

 

 

Something about authorisation/authentification or server name???

post-1299941-0-82547600-1493988171_thumb.png

Link to comment
Share on other sites

The error is on a linux server or on your local install under XAMPP ? If local, than check if your firewall is blocking the site. SSL warns are due to not installed SSL certificate, or certificate not proper configured (wrong port, domain not configured, etc.) In this case SSL should be deactivated.

 

If on live linux server, than we need the error logs of that environment.

 

BTW I always suggest to test software directly on the server, on which it should run. local is not the same (different configuration possible). You can install the software in a password protected folder for ex.

Link to comment
Share on other sites

Thanks

 

I will try to " #Disable SSL for this virtual host." ie :
'SSLEngine off' in the httpd-ssl.conf file.

I will come back with a return.

 

I agree, a local installation environment is not similar than a running server but I would test some adjustments in the default PS theme, to see if I could use it later and often I am in a place without an internet connection (yes, it still exists! ; )

Link to comment
Share on other sites

Hi again

 

Many thanks Nadie and selectshop.at.

Renaming the `welcome` module-folder allows me to overcome the Preston blockage in the back office.

 

Then-after, looking for the home page of the default theme in the front end, staying in the debug mode, I got this message:

 

Fatal error: Uncaught exception 'Symfony\Component\Filesystem\Exception\IOException' with message 'Failed to create "/opt/lampp/htdocs/Presta/prestashop/themes/classic/assets/cache/": mkdir(): Permission denied.' in /opt/lampp/htdocs/Presta/prestashop/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:100 Stack trace: #0 /opt/lampp/htdocs/Presta/prestashop/classes/assets/CccReducer.php(45): Symfony\Component\Filesystem\Filesystem->mkdir('/opt/lampp/htdo...') #1 /opt/lampp/htdocs/Presta/prestashop/classes/controller/FrontController.php(213): CccReducerCore->__construct('/opt/lampp/htdo...', Object(PrestaShop\PrestaShop\Adapter\Configuration), Object(Symfony\Component\Filesystem\Filesystem)) #2 /opt/lampp/htdocs/Presta/prestashop/classes/controller/Controller.php(142): FrontControllerCore->__construct(false, false) #3 /opt/lampp/htdocs/Presta/prestashop/classes/Dispatcher.php(361): ControllerCore::getController('IndexController') #4 /opt/lampp/htdocs/Presta/prestashop/index.php(28): DispatcherCore->dispa in /opt/lampp/htdocs/Presta/prestashop/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php on line 100

 

 

I then made a recursive chmod 777 (root@xxxx:/opt/lampp/htdocs/Presta/prestashop# chmod -R 777 themes) on the 'theme' folder that allows me partially to resolve the display.

 

I got finally the entire site, back and front end fully working 'chmoding' 777 on the entire prestashop folder:

 

$ root@xxxxx: /opt/lampp/htdocs/Presta# chmod -R 777 prestashop

 

(I will add a screen shot at the end).

 

It is not the best secure way for an on-line configuration but that will allow me work on the home-page, build some cms pages and test modules, locally.

 

PS: I changed no ssl permission.

 

Thanks a lot!

 

A good WE !

 

Gil

Link to comment
Share on other sites

Deactivate filecaching. Your XAMPP is not configured for to use caching, not this type.

 

Back-Office Section "configure": advanced parameters -> performance- > Smarty section: CACHE = NO. This is not the correct configuration you should use on live servers, but it should solve the problem of your bad configured Xampp.

 

For to avoid such lousy errors, it is better you move to live server ;)

Link to comment
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
×
×
  • Create New...