Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /data/web/virtuals/166360/virtual/www/wp-content/plugins/ceceppa-multilingua/admin/admin-backup-fn.php:12 Stack trace: #0 /data/web/virtuals/166360/virtual/www/wp-content/plugins/ceceppa-multilingua/admin/admin-backup-fn.php(121): _cml_backup_tables(‘*’, ”) #1 /data/web/virtuals/166360/virtual/www/wp-content/plugins/ceceppa-multilingua/admin/install.php(218): _cml_backup_do_tables(‘DB’, ‘/data/web/virtu…’) #2 /data/web/virtuals/166360/virtual/www/wp-content/plugins/ceceppa-multilingua/ceceppaml.php(252): cml_do_install() #3 /data/web/virtuals/166360/virtual/www/wp-includes/class-wp-hook.php(288): CeceppaML->activated(”) #4 /data/web/virtuals/166360/virtual/www/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array) #5 /data/web/virtuals/166360/virtual/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #6 /data/web/virtuals/166360/virtual/www/wp-admin/plugins.php(177): do_action(‘activate_cecepp…’) #7 {main} thrown in /data/web/virtuals/166360/virtual/www/wp-content/plugins/ceceppa-multilingua/admin/admin-backup-fn.php on line 12
]]>Hi!
I’ve been using this plugin for a long time and it’s really great!
However, I’ve moved my site to another server and everything stopped working.
If the plugin is active, I only see a 404 error page. (If not, I works but with no translation, of course)
I think that it may be a htaccess problem. But i really don’t have any clue of how to make it work.
Do you know how may I solve it?
Thanks!
]]>Errore sul sito:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /web/htdocs/www.asilonidodellerondini.com/home/wp-content/plugins/ceceppa-multilingua/admin/admin-backup-fn.php:12 Stack trace: #0 /web/htdocs/www.asilonidodellerondini.com/home/wp-content/plugins/ceceppa-multilingua/admin/admin-backup-fn.php(121): _cml_backup_tables(‘*’, ”) #1 /web/htdocs/www.asilonidodellerondini.com/home/wp-content/plugins/ceceppa-multilingua/admin/install.php(218): _cml_backup_do_tables(‘DB’, ‘/web/htdocs/www…’) #2 /web/htdocs/www.asilonidodellerondini.com/home/wp-content/plugins/ceceppa-multilingua/ceceppaml.php(252): cml_do_install() #3 /web/htdocs/www.asilonidodellerondini.com/home/wp-includes/class-wp-hook.php(286): CeceppaML->activated(”) #4 /web/htdocs/www.asilonidodellerondini.com/home/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #5 /web/htdocs/www.asilonidodellerondini.com/home/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 /web/htdocs/www.asilonidodellerondini.com/home/wp-admin/p in /web/htdocs/www.asilonidodellerondini.com/home/wp-content/plugins/ceceppa-multilingua/admin/admin-backup-fn.php on line 12
Mysql
Errore lato hosting:
AH01215: PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /web/htdocs/www.asilonidodellerondini.com/home/wp-content/plugins/ceceppa-multilingua/admin/admin-backup-fn.php:12: /web/htdocs/www.asilonidodellerondini.com/home/wp-admin/plugins.php, referer https://www.asilonidodellerondini.com/wp-admin/plugins.php?error=true&plugin=ceceppa-multilingua%2Fceceppaml.php&_error_nonce=549339e149
Versione wordpress: 5.0.3–it_IT
Versione PHP: PHP7.2.x
Versione del server Mysql: 5.5.61-38.13-log
Come potrei risolvere?
Grazie
Does Ceceppa need cookies?
]]>I’m new at WordPress. I had to fix a bug in a wordpress site where the recent date posts show the wrong date. The site is using the default WordPress widget to show the latest posts and their date in a sidebar column. The date showed is not the date of their posts but the date of the article page.
I don’t know if this is a mistake of the site developer (I’m not the site developer) or a plugin bug, forgive me if this bug is not related to ceceppa plugin.
In /wp-includes/widgets/class-wp-widget-recent-posts.php the post is showed here:
<li>
<a href="<?php the_permalink( $recent_post->ID ); ?>"><?php echo $title ; ?></a>
<?php if ( $show_date ) : ?>
<span class="post-date"><?php echo get_the_date( '', $recent_post->ID ); ?></span>
<?php endif; ?>
</li>
In /wp-content/plugins/ceceppa-multilingua/frontend/frontend.php get_the_date is defined in this way:
function get_the_date( $the_date, $d ) {
global $post;
$format = CMLLanguage::get_current()->cml_date_format;
if( empty( $format ) ) {
$format = CMLUtils::get_date_format();
} else {
if( ! empty( $d ) )
$format = $d;
else
$format = CMLUtils::get_date_format();
}
$the_date = mysql2date( $format, $post->post_date );
return $the_date;
}
As you can see, get_the_date shows the post_date of global $post and not $recent_post post_date.
I replaced in class-wp-widget-recent-posts.php this line:
<span class="post-date"><?php echo get_the_date( '', $recent_post->ID ); ?></span>
With this one:
<span class="post-date"><?php $tmppost = $GLOBALS['post']->post_date; $GLOBALS['post']->post_date = $recent_post->post_date; echo get_the_date( '', $recent_post->ID ); $GLOBALS['post']->post_date = $tmppost; unset($tmppost); ?></span>
And this ugly workaround fixed the bug.
]]>Hello,
my problem is that on save post have 15sec. to wait.. Is it possible that is a relationship system in ceceppa plugin?
I have 347 element in 2 language, so 694.
_ceceppa_ml_relations table have 4555 righe.
Is there some optimizations?
I see that there are no uptades for 2 years.
Is it Correct?
Thanks
]]>hello,
i am using this plugin and its working fine with all the pages except woocommerce pages default texts, to translate woocommerce data into arabic i am using woocommerce arabic plugin which is working fine with other plugin but not working with this plugin, please suggest some solution to this problem.
]]>Hello,
i update my ceceppa from version 1.3.65 to 1.5.17 and i have this error:
[10-Mar-2018 01:25:29 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘in,lang_3 as ar,lang_4 as mx,lang_1 as es FROM netyco_ceceppa_ml_relations WHERE’ at line 1 for query SELECT lang_2 as in,lang_3 as ar,lang_4 as mx,lang_1 as es FROM netyco_ceceppa_ml_relations WHERE lang_2 = 1175 OR lang_3 = 1175 OR lang_4 = 1175 OR lang_1 = 1175 made by edit_post, wp_update_post, wp_insert_post, do_action(‘save_post’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, cml_admin_save_extra_post_fields, CMLPost::get_translations.
if i disable the plugin ceceppa, wordpres save the post correctly.
Sorry for my bad english.
]]>” No tables found!
If you have uninstalled the plugin, you can remove the plugin now, or deactivate and activete it again to rebuild tables.
If you haven’t uninstalled the plugin, something goes wrong, please contact me ”
doesnt work corectli and doesnt help deactivate and activete plugin,
please anybody help me who knows this case
Hi there!
I was choosing to install Ceceppa on my wp site, but I had this message:
Uncaught Error: Call to undefined function mysql_connect() in /web/htdocs/www.bbpisabelleville.it/home/wp-content/plugins/ceceppa-multilingua/admin/admin-backup-fn.php:12 Stack trace: #0 /web/htdocs/www.bbpisabelleville.it/home/wp-content/plugins/ceceppa-multilingua/admin/admin-backup-fn.php(121): _cml_backup_tables(‘*’, ”) #1 /web/htdocs/www.bbpisabelleville.it/home/wp-content/plugins/ceceppa-multilingua/admin/install.php(218): _cml_backup_do_tables(‘DB’, ‘/web/htdocs/www…’) #2 /web/htdocs/www.bbpisabelleville.it/home/wp-content/plugins/ceceppa-multilingua/ceceppaml.php(252): cml_do_install() #3 /web/htdocs/www.bbpisabelleville.it/home/wp-includes/class-wp-hook.php(298): CeceppaML->activated(”) #4 /web/htdocs/www.bbpisabelleville.it/home/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #5 /web/htdocs/www.bbpisabelleville.it/home/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 /web/htdocs/www.bbpisabelleville.it/home/wp-admin/plugins.php(166): do_action(‘activate_cecepp…’) in /web/htdocs/www.bbpisabelleville.it/home/wp-content/plugins/ceceppa-multilingua/admin/admin-backup-fn.php on line 12
Actually the website is online and working with qtranslate. I tried to deactivate all plugins activating only Ceceppa or I tried also to deactivate only multilanguage plugins activating Ceceppa at their place but I obtain the same message.
Can somebody help me?
Thank you
Paola
im getting this error when updating WP posts.
Fatal error: Call to a member function apply_filters() on array in /home/wwwdokk/public_html/wp-includes/plugin.php on line 203
post gets updated but this is the error… any ideas?
thanks
Hello,
I have a problem displaying the flags in the menu. I can not turn off Add flags to menu in the install plugin. I tried to deactivate and delete the plugin plugin (by the way, the plugin after deactivation does not work with PHP 7.0), but without result. Settings can not be changed. In the menu, I am constantly displaying flags as a leaf list I do not want to have here. What with this? Can you advise? Thank you. Lucy
Hello, when i go to the translate theme page in ceceppa, it says that cant find the file. But the file is in the languages folder. How can i fix this issue?
Thanks
]]>I see that the documentation is no longer available atthe devs website
is it anywhere else, or is this plugin totally dropped now?
thanks
]]>Hi there,
suddenly (I can’t define wether it was the WordPress update or some plugin updates causing this) my installation broke on updating posts, giving a 500 server error.
After some debugging I found out, that you are “deregistering” some hooks in admin/admin-posts.php in the function cml_store_quick_edit_translations (line 377 ff.):
$GLOBALS['wp_filter']['post_updated'] = array();
$GLOBALS['wp_filter']['publish_post'] = array();
$GLOBALS['wp_filter']['transition_post_status'] = array();
$GLOBALS['wp_filter']['update_post_metadata'] = array();
$GLOBALS['wp_filter']['publish_my_custom_post_type'] = array();
$GLOBALS['wp_filter']['edit_page_form'] = array();
$GLOBALS['wp_filter']['edit_post'] = array();
$GLOBALS['wp_filter']['save_post'] = array();
$GLOBALS['wp_filter']['add_post_metadata'] = array();
$GLOBALS['wp_filter']['wp_insert_post'] = array();
$GLOBALS['wp_filter']['wp_update_post'] = array();
I replaced it with the following and everything worked fine:
remove_all_filters('post_updated');
remove_all_filters('publish_post');
remove_all_filters('transition_post_status');
remove_all_filters('update_post_metadata');
remove_all_filters('publish_my_custom_post_type');
remove_all_filters('edit_page_form');
remove_all_filters('edit_post');
remove_all_filters('save_post');
remove_all_filters('add_post_metadata');
remove_all_filters('wp_insert_post');
remove_all_filters('wp_update_post');
Now everything works fine.
Just if anyone runs into the same problems…
]]>Hello!
The author’s website – with a lot of docs – is currently offline.
Is this a permanent situation and should we check for an alternative?
TIA
]]>Hey,
It seems there’s a problem with line 1449 in the frontend.php. Anyone experienced that and has a fix?
Thanks in advance!
Rina
]]>I’ve just installed the plugin and whenever I go to save a page/post I get the following error:
Fatal error: Call to a member function apply_filters() on array in /home/betasite/public_html/infosniper/wp-includes/plugin.php on line 203
Has anyone else had this problem?
]]>Hello Alexandro,
I have some issues with translated tag from posts.
When I edit any post in any language and update, all current tags in this posts are created for all languajes.
An exemple: I have create 2 tags. Etiqueta1 and Etiqueta2 for spanish with translated words in english. (Tag1 and Tag2)
Now, when edit a post in spanish, have 2 tags (etiqueta1 and etiqueta2) … nothing change but push update posts button. When I save it, then created 2 more tags
etiqueta1: es ok
etiqueta1: en No ok
etiqueta2: es ok
etiqueta2: en NO ok
If I edit a same post in english… same problem. At the final, have 8 tags (4 for each lang)
I have the last ceceppa plugin version (1.5.17)
How can solve it? I tried all changes into ceceppa settings, but I don’t have luck.
Thanks in advance
Ivan
Salve a tutti
Da quando ho aggiornato alla 4.7 ho dei problemi aggiornando le pagine di un sito.
Nel momento in cui clicco sul bottone “Aggiorna” mi esce questo errore
Fatal error: Call to a member function apply_filters() on a non-object in ########/wp-includes/plugin.php on line 203
il file plugin.php è uno dei file cambiati nella nuova versione di WordPress. Disinstallando il plugin ceceppa il problema non si presenta più.
A qualcuno succede lo stesso?
Saluti
Samuel Buccheri
Hello Alessandro,
I am using your plugin now for more than 2 years on my wp site and I am very happy with it. I recently wanted to look into how to produce RSS feeds, and discovered that although normally a built-in feature of wordpress, it does not work on mine (probably has never worked). Doing a bit of debugging, I discovered that when sending the feed uri, $wp_query looses its contents after the CML function ‘hide_translations’ is called from do_action_ref_array(‘pre-get-posts’), so the next actions are called with an empty $wp_query and get stuck somehow, so that do_action_ref_array(‘pre-get-posts’) never returns. By adding the return argument $wp_query to the following lines in CML frontend.php, I could solve the problem, although I did not fully understand why.
[line 1978]
if( is_feed() ) {
$wp_query = $this->filter_posts_by_language( $wp_query );
return $wp_query;
}
[line 1811]
if( isset( $this->_looking_id_post ) ||
CMLUtils::_get( ‘_is_sitemap’ ) ) {
return $wp_query;
}
[line 1967 end of function filter_posts_by_language]
return $wp_query;
Why in line 1978 you recalculate $wp_query, but don’t return it? As already said before, not sure where the problem is caused, as there seems no function that actually uses the return value from your functions, but probably there is one somewhere out there, otherwise $wp_query would not be lost.
]]>Ho installato Ceceppa ma non riesco a tradurre gli articoli. Non vedo la possibilità di creare una traduzione come nella parte delle pagine. cosa devo fare?
grazie mille!
Vito
Hello,
I am using Theme zerif lite. I want my website to be in Greek and English. I am using ceceppa multilingua plugin.
The problem is that even though I wrote all the strings on “My translations” section, in home page they are not displayed in Greek. For example, in “Our focus” section, the title is displayed in English in both Greek or English language.
Does anyone have an idea how I can fix this?
Thank you in advance.
]]>Hello,
I’m having this problem: when I click the flag to change language, the main menu will translate only after I refresh the page…
Someone else have had this problem? Is there anything I can do to fix this?
Thanks!
]]>Ciao a tutti,
utilizzo il plugin da anni ed ha sempre funzionato alla perfezione, da quando il cliente (mannaggia a lui!!) ha fatto gli aggiornamenti ha smesso di funzionare, non mi lascia accedere ai settaggi e nel backend delle pagine mi da il seguente errore
“No tables found!
If you have uninstalled the plugin, you can remove the plugin now, or deactivate and activete it again to rebuild tables.”
Quando invece provo ad accedere ai settaggi del plugin mi da questo errore.
“Non hai il permesso di accedere a questa pagina.”
Il tema utilizzato è il Camilla, il cliente ha aggiornato anche questo all’ultima versione.
Come risolvo il problema?
Grazie mille.
Roberto
Hi,
it’s been a while that I’ve this problem, and I’ve always “solved” deleting the page and making a new one, but I’m searching for some other solution.
On my site sometimes a page show both english and right after the italian (and primary) version of the same article, right now I can see that when I look at the site in italian, how can I solve and separate the two pages (as it is when it work normally)?
I have a problem:
The active languages (its textual names) are inserted into beginning of my every post on my Blog page.
Comments:
There is no such problem on post’s detail page.
When I deactivated the plugin the problem disappeared.
Please, help!
]]>Hi there,
I’ve noticed that URLs for base page (domain) is wrong rendered in the flags.
All flags for the site base page (fe. https://mysite.com) are rendered as: “https://mysite.com/?lang=en2%F” instead of “https://mysite.com/?lang=en”.
Any help?
WordPress 4.6
]]>Hi there,
in my current project I have two languages: DE and EN.
I have two custom post types. With custom post type 1 everythings fine. Custom post type 2 (which is in fact a direct copy of post type 1 with exact the same options) causes problems.
Posts in custom post type 2 doesn’t get filtered in the admin table. Both posts (DE and EN) are shown:
As mentioned, with custom post type 1 everything’s fine…
Any suggestions on that?
Thanks in advance.
Regards,
Marcus
buongiorno ho installato il vostro plugin da più di un anno, con il nuovo aggiornamento di wp provando a disattivare e attivare il plugin di esce questo codice di errore:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/vhosts/because-germany.com/wp-content/plugins/ceceppa-multilingua/admin/admin-backup-fn.php:12 Stack trace: #0 /var/www/vhosts/because-germany.com/wp-content/plugins/ceceppa-multilingua/admin/admin-backup-fn.php(121): _cml_backup_tables(‘*’, ”) #1 /var/www/vhosts/because-germany.com/wp-content/plugins/ceceppa-multilingua/admin/install.php(218): _cml_backup_do_tables(‘DB’, ‘/var/www/vhosts…’) #2 /var/www/vhosts/because-germany.com/wp-content/plugins/ceceppa-multilingua/ceceppaml.php(252): cml_do_install() #3 /var/www/vhosts/because-germany.com/wp-includes/plugin.php(524): CeceppaML->activated(”) #4 /var/www/vhosts/because-germany.com/wp-admin/plugins.php(166): do_action(‘activate_cecepp…’) #5 {main} thrown in /var/www/vhosts/because-germany.com/wp-content/plugins/ceceppa-multilingua/admin/admin-backup-fn.php on line 12
TEMA UTILIZZATO:https://www.templatemonster.com/wordpress-themes/48302.html
GRAZIE
]]>