Title: Ahmed Ghazi's Replies | WordPress.org

---

# Ahmed Ghazi

  [  ](https://wordpress.org/support/users/aitsys/)

 *   [Profile](https://wordpress.org/support/users/aitsys/)
 *   [Topics Started](https://wordpress.org/support/users/aitsys/topics/)
 *   [Replies Created](https://wordpress.org/support/users/aitsys/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/aitsys/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/aitsys/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/aitsys/engagements/)
 *   [Favorites](https://wordpress.org/support/users/aitsys/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[RSS Post Importer] Strange imported posts characters](https://wordpress.org/support/topic/strange-imported-posts-characters/)
 *  Thread Starter [Ahmed Ghazi](https://wordpress.org/support/users/aitsys/)
 * (@aitsys)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/strange-imported-posts-characters/#post-9132896)
 * Thank you Camille for your reply.
 * The blog charset is UTF-8, so I tried your suggested line with both utf-8 and
   iso-8859-1 and none of them is working.
 * Your help is very much appreciated.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Generate Images (AI) - Magic Post Thumbnail] plugin stopped working 2 days ago](https://wordpress.org/support/topic/plugin-stopped-working-2-days-ago/)
 *  Thread Starter [Ahmed Ghazi](https://wordpress.org/support/users/aitsys/)
 * (@aitsys)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-stopped-working-2-days-ago/#post-6809812)
 * I just found out what is the problem.
 * Google api is no longer available, and flicker api method is changed to flickr.
   photos.getRecent.
 * Thanks,
 * Ahmed
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PostgreSQL for WordPress (PG4WP)] Not working with 3.9](https://wordpress.org/support/topic/not-working-with-39/)
 *  [Ahmed Ghazi](https://wordpress.org/support/users/aitsys/)
 * (@aitsys)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/not-working-with-39/#post-4825254)
 * I had this error too. I fixed with the following work around.
 * 1- Please open the file wp-includes/wp-db.php
    2- Comment out the following lines
 *     ```
       /*
                       if ( ! empty( $this->dbh ) ) {
                               if ( $this->use_mysqli ) {
                                       $mysql_errno = mysqli_errno( $this->dbh );
                               } else {
                                       $mysql_errno = mysql_errno( $this->dbh );
                               }
                       }
       */
       ```
   
 * It should install fine now.
 * Thanks,
 * Ahmed
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Web Invoice - Invoicing and billing for WordPress] Breaks inserting media](https://wordpress.org/support/topic/breaks-inserting-media/)
 *  [Ahmed Ghazi](https://wordpress.org/support/users/aitsys/)
 * (@aitsys)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/breaks-inserting-media/#post-3393033)
 * For a quick fix, replace the following:
 *     ```
       wp_enqueue_script('jquery');
   
       		wp_enqueue_script('jquery-ui-core');
   
       		wp_enqueue_script('jquery-ui-tabs');
   
       		wp_enqueue_script('jquery-maskedinput',$this->uri."/js/jquery.maskedinput.js", array('jquery'));
   
       		wp_enqueue_script('jquery-cookie',$this->uri."/js/jquery.cookie.js", array('jquery'));
   
       		wp_enqueue_script('jquery-form',$this->uri."/js/jquery.form.js", array('jquery') );
   
       		wp_enqueue_script('jquery-impromptu',$this->uri."/js/jquery-impromptu.1.7.js", array('jquery'), '1.8.0');
   
       		wp_enqueue_script('jquery-field',$this->uri."/js/jquery.field.min.js", array('jquery'), '1.8.0');
   
       		wp_enqueue_script('jquery-delegate',$this->uri."/js/jquery.delegate.js", array('jquery'), '1.8.0');
   
       		wp_enqueue_script('jquery-calculation',$this->uri."/js/jquery.calculation.min.js", array('jquery'), '1.8.0');
   
       		wp_enqueue_script('jquery-tablesorter',$this->uri."/js/jquery.tablesorter.min.js", array('jquery'), '1.8.0');
   
       		wp_enqueue_script('jquery-autogrow-textarea',$this->uri."/js/jquery.autogrow-textarea.js", array('jquery'), '1.8.0');
   
       		wp_enqueue_script('web-invoice',$this->uri."/js/web-invoice.js", array('jquery', 'jquery-ui-core', 'jquery-ui-tabs'), WEB_INVOICE_VERSION_NUM, true);
       ```
   
 * with the following:
 *     ```
       if ($_SERVER['QUERY_STRING']=='page=web-invoice/web-invoice.php' || $_SERVER['QUERY_STRING']=='page=web_invoice_recurring_billing' || $_SERVER['QUERY_STRING']=='page=new_web_invoice' || $_SERVER['QUERY_STRING']=='page=web_invoice_templates' || $_SERVER['QUERY_STRING']=='page=web_invoice_settings')
       		{
   
       		wp_enqueue_script('jquery');
   
       		wp_enqueue_script('jquery-ui-core');
   
       		wp_enqueue_script('jquery-ui-tabs');
   
       		wp_enqueue_script('jquery-maskedinput',$this->uri."/js/jquery.maskedinput.js", array('jquery'));
   
       		wp_enqueue_script('jquery-cookie',$this->uri."/js/jquery.cookie.js", array('jquery'));
   
       		wp_enqueue_script('jquery-form',$this->uri."/js/jquery.form.js", array('jquery') );
   
       		wp_enqueue_script('jquery-impromptu',$this->uri."/js/jquery-impromptu.1.7.js", array('jquery'), '1.8.0');
   
       		wp_enqueue_script('jquery-field',$this->uri."/js/jquery.field.min.js", array('jquery'), '1.8.0');
   
       		wp_enqueue_script('jquery-delegate',$this->uri."/js/jquery.delegate.js", array('jquery'), '1.8.0');
   
       		wp_enqueue_script('jquery-calculation',$this->uri."/js/jquery.calculation.min.js", array('jquery'), '1.8.0');
   
       		wp_enqueue_script('jquery-tablesorter',$this->uri."/js/jquery.tablesorter.min.js", array('jquery'), '1.8.0');
   
       		wp_enqueue_script('jquery-autogrow-textarea',$this->uri."/js/jquery.autogrow-textarea.js", array('jquery'), '1.8.0');
   
       		wp_enqueue_script('web-invoice',$this->uri."/js/web-invoice.js", array('jquery', 'jquery-ui-core', 'jquery-ui-tabs'), WEB_INVOICE_VERSION_NUM, true);
       		}
       ```
   
 * in the file web-invoice.php
 * The above fixed the issue for me. Hope it will fix it for you.
 * Thanks,
 * Ahmed
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Web Invoice - Invoicing and billing for WordPress] Breaks inserting media](https://wordpress.org/support/topic/breaks-inserting-media/)
 *  [Ahmed Ghazi](https://wordpress.org/support/users/aitsys/)
 * (@aitsys)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/breaks-inserting-media/#post-3393032)
 * I am having the same problem. Any idea on how to fix it?
 * Thanks,
 * Ahmed

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