Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Forum: Plugins
    In reply to: [W3 Total Cache] Problem
    Thread Starter javiernarvaez

    (@javiernarvaez)

    I feel a little desesperated you tell me erase files. The site depends of this files? o if i erase i can recover the site….thats good? the site can be recover? please helpme.

    Hi, im trying to delete all the files you tellme:

    – all the content of .htaccess file is on this lines:
    “#BEGIN W3TC Page Cache core” and “#END W3TC Page Cache core”
    I make a backup and deleted all the content of.htaccess

    – cache folder i cant delete, i cant have permissions to delete.
    – w3tc-config folder – Deleted
    – object-cache.php no exists on the folder
    – advanced-cache.php – Deleted
    – db.php no exists on the folder
    – upgrade folder – deleted (it was empty)
    – w3-total-cache on plugins folder, deleted.

    3. Delete Cached Files from CDN (if using CDN)
    Where i can see this files? is plugin? I think i dont have this service.

    The site continues on blank…
    What else can I do?

    Forum: Plugins
    In reply to: [W3 Total Cache] Problem
    Thread Starter javiernarvaez

    (@javiernarvaez)

    In order to see the warning problem that I showed in the previous post, I had to do a “debug false” in wordpress. If I don’t, everything is blank.

    Forum: Plugins
    In reply to: [W3 Total Cache] Problem
    Thread Starter javiernarvaez

    (@javiernarvaez)

    Hi Marko, thank you, the site has not made any configuration changes or new plugins, nothing. Only new posts have been uploaded.
    The site is now blank so I can’t access the admin to make the changes you ask me to do. If I can access the ftp, and I can delete the file.
    i do?
    the site is https://www.ihistoriapucv.cl
    Thanks

    Forum: Plugins
    In reply to: [W3 Total Cache] Problem
    Thread Starter javiernarvaez

    (@javiernarvaez)

    Hi Marko! thanks a lot for your response.
    The warning started to appear yesterday.
    The file advanced-cache.php exist in the /wp-content folder.

    Thread Starter javiernarvaez

    (@javiernarvaez)

    Hola Nico Gracias por tu respuesta. Lo que deseo es que aparezca por ejemplo:

    Del 09 de Semptiembre hasta el 15 de Septiembre. De 10:00 a 15:00 hrs

    Entonces lo que deseo es que cuando hayan eventos de más días aparezcan primeros las fechas y después los horarios, como para ordenar el asunto y no quede como que comienza en tal hora y termina el día de término a otra hora. Espero hayas comprendido. Gracias.
    Saludos.

    Hi Xtream_Jm i have the same problem,
    but on the qtranslate-slug.php not appears qtrans_
    appearme the code:

    <?php
    /*
    Plugin Name: qTranslate slug
    Plugin URI: https://not-only-code.github.com/qtranslate-slug/
    Description: Allows to define a slug for each language and some qTranslate bug fixes
    Version: 1.1.17
    Author: Carlos Sanz Garcia, Pedro Carvalho
    Author URI: https://github.com/not-only-code
    */
    
    ////////////////////////////////////////////////////////////////////////////////////////
    
    if ( !function_exists('_debug') ):
    function _debug( $message ) {
    
    	if ( WP_DEBUG === true ):
    
    		if ( is_array( $message ) || is_object( $message ) ) {
    
    			error_log( print_r( $message, true ) );
    
    		} else {
    
    			error_log( $message );
    		}
    
    	 endif;
    }
    endif;
    
    ////////////////////////////////////////////////////////////////////////////////////////
    
    /**
     * Includes
     *
     * @since 1.1.8
     */
    include_once(dirname(__FILE__).'/includes/class-qtranslate-slug-widget.php');
    include_once(dirname(__FILE__).'/includes/class-qtranslate-slug.php');
    
    ////////////////////////////////////////////////////////////////////////////////////////
    
    /**
     * Define Constants
     *
     * @since 1.0
     */
    if (!defined("QTS_VERSION")) 		    define("QTS_VERSION", '1.1.12');
    if (!defined("QTS_PREFIX")) 		    define("QTS_PREFIX", '_qts_');
    if (!defined("QTS_PAGE_BASENAME")) 		define('QTS_PAGE_BASENAME', 'qtranslate-slug-settings');
    if (!defined("QTS_OPTIONS_NAME")) 		define("QTS_OPTIONS_NAME", 'qts_options');
    if (!defined("PHP_EOL"))				define("PHP_EOL", "\r\n");
    
    ////////////////////////////////////////////////////////////////////////////////////////
    
    /**
     * Includes
     *
     * @since 1.0
     */
    if ( is_admin() && !QtranslateSlug::block_activate() ) { // setting options page
    	include_once(dirname(__FILE__).'/includes/qtranslate-slug-settings.php');
    }
    
    include_once(dirname(__FILE__).'/includes/termmeta-core.php'); // termmeta install and core functions
    
    ////////////////////////////////////////////////////////////////////////////////////////
    
    /**
     * Init the plugin
     *
     * @since 1.0
     */
    global $qtranslate_slug;
    
    $qtranslate_slug = new QtranslateSlug();
    
    // plugin activation
    register_activation_hook( __FILE__, array($qtranslate_slug, 'install') );
    
    // plugin deactivation
    register_deactivation_hook( __FILE__, array($qtranslate_slug, 'deactivate') );
    
    // plugin uninstall
    register_uninstall_hook( __FILE__, 'qts_uninstall' );
    
    // plugin init
    add_action('plugins_loaded', array($qtranslate_slug, 'init') );
    
    ////////////////////////////////////////////////////////////////////////////////////////
    
    /**
     * Language Selector Code for templating
     *
     * @package Qtranslate Slug
     * @subpackage Core
     * @since 1.0
     */
    function qts_language_menu ($type = "text", $args = array()) {
    	global $qtranslate_slug;
    
    	$qtranslate_slug->language_menu($type, $args);
    }
    
    /**
     * Finds the translated slug of the given post by calling get_slug
     * @param int $id the post id
     * @param string $lang which language to look for
     * @since 1.1.13
     */ 
    
    function qts_get_slug( $id, $lang ) {
    	global $qtranslate_slug;
    	return $qtranslate_slug->get_slug($id, $lang);
    }
    
    /**
     * Adds support for old plugin function
     *
     * @package Qtranslate Slug
     * @subpackage Core
     * @since 1.1.5
     */
    function qTranslateSlug_getSelfUrl ($lang = false) { // bad naming, I'll keep just in case
    	return qts_get_url($lang);
    }
    
    function qts_get_url($lang = false) {
    	global $qtranslate_slug;
    
    	return $qtranslate_slug->get_current_url($lang);
    }
    
    /**
     * Add a "Settings" link to the plugins.php page for Qtranslate Slug
     *
     * @package Qtranslate Slug
     * @subpackage Settings
     * @version 1.0
     *
     * @return calls qts_show_msg()
     */
    function qts_add_settings_link( $links, $file ) {
    
    	if (QtranslateSlug::block_activate()) return $links;
    
    	$this_plugin = plugin_basename( __FILE__ );
    	if( $file == $this_plugin ) {
    		$settings_link = "<a href=\"options-general.php?page=" . QTS_PAGE_BASENAME . "\">" . __( 'Settings', 'qts' ) . '</a>';
    		array_unshift($links, $settings_link);
    	}
    	return $links;
    }
    add_filter( 'plugin_action_links', 'qts_add_settings_link', 10, 2 );
    
    /**
     * Delete plugin stored data ( options, termmeta table and postmeta data )
     *
     * @package Qtranslate Slug
     * @subpackage Settings
     * @version 1.0
     *
     */
    function qts_uninstall() {
    	global $q_config, $wpdb;
    
    	// options
    	delete_option(QTS_OPTIONS_NAME);
    	delete_option('qts_version');
    
    	// delete termmeta table
    	$wpdb->query("DROP TABLE IF EXISTS $wpdb->termmeta");
    
    	// delete postmeta data
    	$meta_keys = array();
    	foreach ($q_config['enabled_languages'] as $lang) $meta_keys[] = sprintf("_qts_slug_%s", $lang);
    	$meta_keys = "'". implode( "','", $meta_keys ) . "'";
    	$wpdb->query("DELETE from $wpdb->postmeta WHERE meta_key IN ($meta_keys)");
    }

    YOU CAN HELPME PLEASE!?

    Hola Ana,
    Cuando instalaste l mqtranslate, perdiste las traducciones anteriores?
    O no hay pérdida de información.
    Saludos.

    Hi Xtream_Jm i have the same problem,
    but on the qtranslate-slug.php not appears qtrans_
    appearme the code:

    <?php
    /*
    Plugin Name: qTranslate slug
    Plugin URI: https://not-only-code.github.com/qtranslate-slug/
    Description: Allows to define a slug for each language and some qTranslate bug fixes
    Version: 1.1.17
    Author: Carlos Sanz Garcia, Pedro Carvalho
    Author URI: https://github.com/not-only-code
    */

    ////////////////////////////////////////////////////////////////////////////////////////

    if ( !function_exists(‘_debug’) ):
    function _debug( $message ) {

    if ( WP_DEBUG === true ):

    if ( is_array( $message ) || is_object( $message ) ) {

    error_log( print_r( $message, true ) );

    } else {

    error_log( $message );
    }

    endif;
    }
    endif;

    ////////////////////////////////////////////////////////////////////////////////////////

    /**
    * Includes
    *
    * @since 1.1.8
    */
    include_once(dirname(__FILE__).’/includes/class-qtranslate-slug-widget.php’);
    include_once(dirname(__FILE__).’/includes/class-qtranslate-slug.php’);

    ////////////////////////////////////////////////////////////////////////////////////////

    /**
    * Define Constants
    *
    * @since 1.0
    */
    if (!defined(“QTS_VERSION”)) define(“QTS_VERSION”, ‘1.1.12’);
    if (!defined(“QTS_PREFIX”)) define(“QTS_PREFIX”, ‘_qts_’);
    if (!defined(“QTS_PAGE_BASENAME”)) define(‘QTS_PAGE_BASENAME’, ‘qtranslate-slug-settings’);
    if (!defined(“QTS_OPTIONS_NAME”)) define(“QTS_OPTIONS_NAME”, ‘qts_options’);
    if (!defined(“PHP_EOL”)) define(“PHP_EOL”, “\r\n”);

    ////////////////////////////////////////////////////////////////////////////////////////

    /**
    * Includes
    *
    * @since 1.0
    */
    if ( is_admin() && !QtranslateSlug::block_activate() ) { // setting options page
    include_once(dirname(__FILE__).’/includes/qtranslate-slug-settings.php’);
    }

    include_once(dirname(__FILE__).’/includes/termmeta-core.php’); // termmeta install and core functions

    ////////////////////////////////////////////////////////////////////////////////////////

    /**
    * Init the plugin
    *
    * @since 1.0
    */
    global $qtranslate_slug;

    $qtranslate_slug = new QtranslateSlug();

    // plugin activation
    register_activation_hook( __FILE__, array($qtranslate_slug, ‘install’) );

    // plugin deactivation
    register_deactivation_hook( __FILE__, array($qtranslate_slug, ‘deactivate’) );

    // plugin uninstall
    register_uninstall_hook( __FILE__, ‘qts_uninstall’ );

    // plugin init
    add_action(‘plugins_loaded’, array($qtranslate_slug, ‘init’) );

    ////////////////////////////////////////////////////////////////////////////////////////

    /**
    * Language Selector Code for templating
    *
    * @package Qtranslate Slug
    * @subpackage Core
    * @since 1.0
    */
    function qts_language_menu ($type = “text”, $args = array()) {
    global $qtranslate_slug;

    $qtranslate_slug->language_menu($type, $args);
    }

    /**
    * Finds the translated slug of the given post by calling get_slug
    * @param int $id the post id
    * @param string $lang which language to look for
    * @since 1.1.13
    */

    function qts_get_slug( $id, $lang ) {
    global $qtranslate_slug;
    return $qtranslate_slug->get_slug($id, $lang);
    }

    /**
    * Adds support for old plugin function
    *
    * @package Qtranslate Slug
    * @subpackage Core
    * @since 1.1.5
    */
    function qTranslateSlug_getSelfUrl ($lang = false) { // bad naming, I’ll keep just in case
    return qts_get_url($lang);
    }

    function qts_get_url($lang = false) {
    global $qtranslate_slug;

    return $qtranslate_slug->get_current_url($lang);
    }

    /**
    * Add a “Settings” link to the plugins.php page for Qtranslate Slug
    *
    * @package Qtranslate Slug
    * @subpackage Settings
    * @version 1.0
    *
    * @return calls qts_show_msg()
    */
    function qts_add_settings_link( $links, $file ) {

    if (QtranslateSlug::block_activate()) return $links;

    $this_plugin = plugin_basename( __FILE__ );
    if( $file == $this_plugin ) {
    $settings_link = “” . __( ‘Settings’, ‘qts’ ) . ‘‘;
    array_unshift($links, $settings_link);
    }
    return $links;
    }
    add_filter( ‘plugin_action_links’, ‘qts_add_settings_link’, 10, 2 );

    /**
    * Delete plugin stored data ( options, termmeta table and postmeta data )
    *
    * @package Qtranslate Slug
    * @subpackage Settings
    * @version 1.0
    *
    */
    function qts_uninstall() {
    global $q_config, $wpdb;

    // options
    delete_option(QTS_OPTIONS_NAME);
    delete_option(‘qts_version’);

    // delete termmeta table
    $wpdb->query(“DROP TABLE IF EXISTS $wpdb->termmeta”);

    // delete postmeta data
    $meta_keys = array();
    foreach ($q_config[‘enabled_languages’] as $lang) $meta_keys[] = sprintf(“_qts_slug_%s”, $lang);
    $meta_keys = “‘”. implode( “‘,'”, $meta_keys ) . “‘”;
    $wpdb->query(“DELETE from $wpdb->postmeta WHERE meta_key IN ($meta_keys)”);
    }

    YOU CAN HELPME PLEASE!?

    i have de same problem
    sends me to a 404 page

    hi!! my friend i have the same problem… you can solve it? tnks

Viewing 10 replies - 1 through 10 (of 10 total)