Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by Compolux

  1. For me work this solution.


    If your web server is Apache, and if the mod_deflate module is enabled on it, the following method is the easiest way to get compression enabled for your entire web site. You just insert something like this to the .htaccess file in your web document root folder:



    <IfModule deflate_module>
        # Enable compression for the following file types.
        AddOutputFilterByType            \
         DEFLATE                         \
          application/javascript         \
          text/css                       \
          text/html                      \
          text/javascript                \
          text/plain                     \


    PS 1.6.

    • Like 1
  2. There is problem, when I try to go to backoffice page, it s no possible. Page is only loading, but nothing happend it s same like my e-shop page.


    So after many minutes, there is this warning: 

    "Fatal error: Uncaught MySQL server has gone away<br /><br /><pre> SELECT domain, domain_ssl FROM ps_shop_url WHERE main = 1 AND id_shop = 1 LIMIT 1</pre> thrown in /data23/isvitidla/html/classes/db/Db.php on line 635"


    And after them:



    MySQL server has gone away


    			SELECT su.physical_uri, su.virtual_uri, su.domain, su.domain_ssl, t.id_theme, t.name, t.directory			FROM ps_shop s			LEFT JOIN ps_shop_url su ON (s.id_shop = su.id_shop)			LEFT JOIN ps_theme t ON (t.id_theme = s.id_theme)			WHERE s.id_shop = 1			AND s.active = 1 AND s.deleted = 0 AND su.main = 1 LIMIT 1

    at line 635 in file classes/db/Db.php

    629. 			WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);630. 		}631. 		else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))632. 		{633. 			if ($sql)634. 				throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');635. 			throw new PrestaShopDatabaseException($this->getMsgError());636. 		}637. 	}638. 639. 	/**

    you don't need access to bo in this case


    you have to access to prestashop filesystem, so connect to your FTP service


    open: config/defines.inc.php
    find this line: define('_PS_MODE_DEV_', false);
    change to look like this: define('_PS_MODE_DEV_', true);



    So I done it.

    Where Can I see some report pls?

  4. Hello,


    I try switch on "Caching" in menu (Advanced Parameters-Performance) but my e-shop is down. I´m not able to sign in to prestashop admin and switch off  "caching".


    Is some possibility how to fix this problem? I´m able to go to my database.


    I´m using prestashop 1.6 and address of my shop is www.i-svitidla.cz


    Thank you

  5. Hello,


    i have same problem like @Fran Serrano:


    - Some sizes and colours of the fonts of the rest of the website change. For example, if I activate your module the 1, 2, 3, 4.... (list of the product pages) turns white and that's the same colour that the background. So, then the numbers can't be read.


    Do you have some idea, how to fix it? I have latest version of PS and default theme.



  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More