Want to subscribe to topics you're interested in?
Become a Member

Prestashop mod_rewrite not working ? getting "Undefined index" and "Trying to get property of non-object" php e

Discussion in 'Ecommerce / Shopping cart usage' started by Jota, Oct 28, 2016.

  1. Jota

    Jota Member

    78
    18
    8
    Oct 9, 2014
    Barcelona
    Ratings:
    +20
    Local Time:
    4:32 AM
    Hi, I'm trying to make a Prestashop migration and all went more or less okay, but I'm having issues with mod_rewrite (system is saying that is not enabled) and also some PHP errors like this:

    Code:
    Notice: Undefined index: category in /home/nginx/domains/domain.es/public/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 223
    
    Notice: Trying to get property of non-object in /home/nginx/domains/domain.es/public/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 223
    
    Notice: Trying to get property of non-object in /home/nginx/domains/domain.es/public/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 223
    
    Notice: Undefined index: category in /home/nginx/domains/domain.es/public/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 223
    
    Notice: Trying to get property of non-object in /home/nginx/domains/domain.es/public/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 223
    
    Notice: Trying to get property of non-object in /home/nginx/domains/domain.es/public/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 223
    
    
    Of course redirs and most of rewritten links are not working.


    Any tip ? thanks !
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,808
    12,159
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,710
    Local Time:
    12:32 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+