Jump to content

emblematico

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by emblematico

  1. Do you have some module like: pss_wpinps  ? it´s for read latest articles from your Wordpress Blog. This was my big problem, guest and visitors unlogged cant add articles .... to use this module you need to edit your config.inc.php with this code:

     

    // HACK - START
    // get WordPress installation directory and path is absolute properties
    $pss_wpinps_confs = Configuration::getMultiple(array('PRESTASCOPE_WPIPS_WP_DIR', 
                                                         'PRESTASCOPE_WPIPS_WP_DIR_ABS'));
    if (array_key_exists('PRESTASCOPE_WPIPS_WP_DIR', $pss_wpinps_confs) 
    && strlen($pss_wpinps_confs['PRESTASCOPE_WPIPS_WP_DIR'])>0)
    {
      // the main Wordpress file location
      $wpinps_filename = $pss_wpinps_confs['PRESTASCOPE_WPIPS_WP_DIR_ABS']=='1'?
                         $pss_wpinps_confs['PRESTASCOPE_WPIPS_WP_DIR'].'wp-load.php':
                         _PS_ROOT_DIR_.'/'.$pss_wpinps_confs['PRESTASCOPE_WPIPS_WP_DIR'].'wp-load.php';
      // not in the admin section or there will be a redeclaration error 
      // for a translate() function defined both in PS and WP
      if (file_exists($wpinps_filename) 
          && !defined('PS_ADMIN_DIR') 
          && !defined('_PS_ADMIN_DIR_')) 
      {
        // load WordPress
        define('WP_USE_THEMES', false);
        require_once($wpinps_filename);
      }
    }
    // HACK - END
     
    -----------------------
     
    And this is the reason of cart didnt work correctly.  SO YOU NEED UNINSTALL IT AND CLEAN config.inc.php AS IT WAS BEFORE.
     
    Regards,
     
    Juan Justamante
     
    www.artecdifusion.com
×
×
  • Create New...

Important Information

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