Title: Amit Gupta's Replies | WordPress.org

---

# Amit Gupta

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 141 total)

1 [2](https://wordpress.org/support/users/amit/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/amit/replies/page/3/?output_format=md) …
[8](https://wordpress.org/support/users/amit/replies/page/8/?output_format=md) [9](https://wordpress.org/support/users/amit/replies/page/9/?output_format=md)
[10](https://wordpress.org/support/users/amit/replies/page/10/?output_format=md)
[→](https://wordpress.org/support/users/amit/replies/page/2/?output_format=md)

 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [New WP Plugin. Can I pick GPL v3 or stick with v2?](https://wordpress.org/support/topic/wp-plugin-gpl-v3-or-v2/)
 *  Thread Starter [Amit Gupta](https://wordpress.org/support/users/amit/)
 * (@amit)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/wp-plugin-gpl-v3-or-v2/#post-15407627)
 * > If they do then the topic will be closed. These are not and never will be legal
   > advice forums.
 * Hence I did not ask for legal advice but for an opinion. There are lots of opinions
   of just about everyone regarding GPL and frankly most of them don’t matter much
   in real world. Like if you want an opinion on the engine type and oil for your
   car, why would you ask your grocer for their opinion on that matter? 🙂
 * > Same if this becomes a GPL topic as those become really weird on this site.
 * Yeah I’m aware of the whole history and the baggage such a discussion can get
   weighed down under.
 * Thanks for the SO link.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[iG:Syntax Hiliter] How to actually use this?](https://wordpress.org/support/topic/how-to-actually-use-this/)
 *  Plugin Author [Amit Gupta](https://wordpress.org/support/users/amit/)
 * (@amit)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/how-to-actually-use-this/#post-6402398)
 * Sorry for the late reply (wordpress.org does not notify about support requests).
 * From the plugin [description](https://wordpress.org/plugins/igsyntax-hiliter/):
 * > iG:Syntax Hiliter allows you to post source code to your site with syntax highlighting
   > and formatting (as seen in code editors, IDEs). You can paste the code as is
   > from your code editor or IDE and this plugin will take care of all the code
   > colouring and preserve your formatting.
 * So it wont show any toolbar or anything else when you’re writing your post. What
   it does is when you post source code (Java, PHP, HTML, etc) for display in your
   post, it displays that on your website/blog in a neat beautiful way. You would
   need to use relevant tags to beautify your source code though. [More info on that here](https://wordpress.org/plugins/igsyntax-hiliter/other_notes/).
 * You can see the plugin in action on [this blog post](http://blog.igeek.info/2015/wordpress-metaboxes-object-oriented-way/)
   in which all code examples have been presented in a neat way by this plugin.
 * This plugin is basically meant for software engineers & web developers/designers
   who post source code to share with others. If you don’t write code then this 
   plugin is most likely not meant for you. 🙂
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[iG:Twitter Cards] Crashes WP](https://wordpress.org/support/topic/crashes-wp/)
 *  Plugin Author [Amit Gupta](https://wordpress.org/support/users/amit/)
 * (@amit)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/crashes-wp/#post-7786349)
 * Which version of WordPress did you install it on and which version of PHP do 
   you have?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Tried to add a plugin and now my whole site is gone](https://wordpress.org/support/topic/tried-to-add-a-plugin-and-now-my-whole-site-is-gone/)
 *  [Amit Gupta](https://wordpress.org/support/users/amit/)
 * (@amit)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/tried-to-add-a-plugin-and-now-my-whole-site-is-gone/#post-3966766)
 * I’m assuming you’re on PHP 5.2 as the `__DIR__` was added in PHP 5.3 (and so 
   isn’t available in earlier versions).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[iG:Syntax Hiliter] XML Problem](https://wordpress.org/support/topic/xml-problem/)
 *  Plugin Author [Amit Gupta](https://wordpress.org/support/users/amit/)
 * (@amit)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/xml-problem/#post-4096268)
 * Its not a plugin issue, you can’t use the WYSIWYG editor/Visual mode when posting
   code, it will mess up your code and formatting.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[iG:Syntax Hiliter] Couple issues](https://wordpress.org/support/topic/couple-issues-1/)
 *  Plugin Author [Amit Gupta](https://wordpress.org/support/users/amit/)
 * (@amit)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/couple-issues-1/#post-4049543)
 * > It is replacing tabs with spaces. Not sure if its the plugin or WordPress
 * The plugin converts tabs to spaces when displaying code on the front-end (not
   in wp-admin). Its needed for flexibility in how code can be displayed; the only
   way to preserve tabs and show indentation as is, is to use `<pre>` which presents
   issues with line wrapping. But for the plain text view this might be possible
   to do.
 * >  It doesn’t let me past code with tabs unless I switch the page mode from ‘
   > visual’ to ‘text’.
 * That’s WordPress & TinyMCE editor. Your code will not be preserved if you paste
   it in “Visual” mode, so don’t use it.
 * >  There isn’t any color highlighting on coding.
 * Can you elaborate a bit? Your code isn’t highlighted when you view the post? 
   Or it isn’t coloured in wp-admin when you’re writing a post?`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[iG:Twitter Cards] iG Twitter Card](https://wordpress.org/support/topic/ig-twitter-card/)
 *  Plugin Author [Amit Gupta](https://wordpress.org/support/users/amit/)
 * (@amit)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/ig-twitter-card/#post-3909559)
 * Jetpack or any tweet button has no relation whatsoever with this plugin. It works
   independent of any social sharing plugins you may use.
 * In your wp-admin, on the post edit screen, you need to select the twitter card
   type as “player” and then enter the video details and then save the post.
 * > Here is the page.
   > [http://www.rockthemullet.com/the-lamour-era/](http://www.rockthemullet.com/the-lamour-era/)
   > The tweet button does not seem to embed the video.
 * For this page the card type is still set to “summary” & that is why video is 
   not showing up on Twitter.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[iG:Twitter Cards] iG Twitter Card](https://wordpress.org/support/topic/ig-twitter-card/)
 *  Plugin Author [Amit Gupta](https://wordpress.org/support/users/amit/)
 * (@amit)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/ig-twitter-card/#post-3909534)
 * When you create the post, you’ll need to add the video details in the box labelled“
   iG:Twitter Cards”. Check the [second screenshot](http://wordpress.org/plugins/ig-twitter-cards/screenshots/)
 * Also, as mentioned in the [FAQs](http://wordpress.org/plugins/ig-twitter-cards/faq/),
   the video URL needs to be `https` & not `http`
 * If you are hosting your videos then you need to be white-listed by Twitter first
   before you can start using [player cards](https://dev.twitter.com/docs/cards/types/player-card).
 * If you’re using YouTube for videos then you should be ok by using YouTube embed
   URL. Fo eg., if your YouTube video is at [http://www.youtube.com/watch?v=gSng3z18GOk](http://www.youtube.com/watch?v=gSng3z18GOk)
   then your embed URL would be [https://www.youtube.com/embed/gSng3z18GOk](https://www.youtube.com/embed/gSng3z18GOk).
   This is available in embed options on every YouTube video page. Just remember
   that it should start with `https` to work with Twitter player cards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[iG:Syntax Hiliter] 502 Bad Gateway](https://wordpress.org/support/topic/502-bad-gateway-7/)
 *  Plugin Author [Amit Gupta](https://wordpress.org/support/users/amit/)
 * (@amit)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/502-bad-gateway-7/#post-3855834)
 * A 502 error is usually thrown due to faulty communication between server & proxy/
   load balancer.
 * Did you try activating the plugin again? And do you get that only when you activate
   the plugin?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[iG:Syntax Hiliter] the 4.1 update is not working properly](https://wordpress.org/support/topic/the-41-update-is-not-working-properly/)
 *  Plugin Author [Amit Gupta](https://wordpress.org/support/users/amit/)
 * (@amit)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/the-41-update-is-not-working-properly/#post-3424897)
 * Which version of WordPress are you using? And what is the version of PHP?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[iG:Syntax Hiliter] the 4.1 update is not working properly](https://wordpress.org/support/topic/the-41-update-is-not-working-properly/)
 *  Plugin Author [Amit Gupta](https://wordpress.org/support/users/amit/)
 * (@amit)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/the-41-update-is-not-working-properly/#post-3424878)
 * On a side note, if you wish to prevent code from being highlighted in `[as]` &`[/
   as]` tags then you can escape those tags like:
 *     ```
       [[as]
       //some code here
       [/as]]
       ```
   
 * Notice the extra [ before the starting tag and extra ] after the closing tag.
   This way you can prevent the code in this block from being parsed by the plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[iG:Syntax Hiliter] the 4.1 update is not working properly](https://wordpress.org/support/topic/the-41-update-is-not-working-properly/)
 *  Plugin Author [Amit Gupta](https://wordpress.org/support/users/amit/)
 * (@amit)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/the-41-update-is-not-working-properly/#post-3424725)
 * > it brings out the color in the code enclosed in [as] … [/ as]
 * You mean it highlights the code between `[as]` & `[/as]` tags? It is supposed
   to do that, even v3.5 highlights code between `[as]` & `[/as]` tags.
 * > and letter of the code is very tiny
 * That seems like a CSS issue. If you can give me the URL to your blog where you’re
   having this issue maybe I can suggest the CSS you can use.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: WP-DBManager] Does not work after wordpress 2.9](https://wordpress.org/support/topic/plugin-wp-dbmanager-does-not-work-after-wordpress-29/)
 *  [Amit Gupta](https://wordpress.org/support/users/amit/)
 * (@amit)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-dbmanager-does-not-work-after-wordpress-29/page/3/#post-1321597)
 * [@gamerz](https://wordpress.org/support/users/gamerz/)
    Yes, after that I tried
   the SSH command (echoed out by the database-backup.php) & it worked. I tried 
   it just now as well, the SSH works but this time I didn’t get those additional
   MySQL lines when I tried database-backup.php
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: WP-DBManager] Does not work after wordpress 2.9](https://wordpress.org/support/topic/plugin-wp-dbmanager-does-not-work-after-wordpress-29/)
 *  [Amit Gupta](https://wordpress.org/support/users/amit/)
 * (@amit)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-dbmanager-does-not-work-after-wordpress-29/page/2/#post-1321575)
 * I just upgraded one of my other blogs to v2.9.1 from v2.8.6. The plugin was working
   fine on this blog (as mentioned earlier, it was not upgraded) but just now after
   WordPress upgrade, its no longer working & gives following error:
 *     ```
       -- MySQL dump 10.11 -- -- Host: localhost Database: userb_wpdbt -- ------------------------------------------------------ -- Server version 5.0.87-community
       /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
       /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
       /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
       /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
       /*!40103 SET TIME_ZONE='+00:00' */;
       /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
       /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
       /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
       /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
   
       Warning: filesize() [function.filesize]: stat failed for /home/userb/public_html/dtbbak/1263186652_-_userb_wpdbt.sql.gz in /home/userb/public_html/wp-content/plugins/wp-dbmanager/database-backup.php on line 57
   
       Warning: unlink(/home/userb/public_html/dtbbak/1263186652_-_userb_wpdbt.sql.gz) [function.unlink]: No such file or directory in /home/userb/public_html/wp-content/plugins/wp-dbmanager/database-backup.php on line 58
       ```
   
 * Seems to me something in WordPress is at play here because it was working alright
   just before upgrade.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: WP-DBManager] Does not work after wordpress 2.9](https://wordpress.org/support/topic/plugin-wp-dbmanager-does-not-work-after-wordpress-29/)
 *  [Amit Gupta](https://wordpress.org/support/users/amit/)
 * (@amit)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-dbmanager-does-not-work-after-wordpress-29/page/2/#post-1321518)
 * 1. Yes the folder is CHMOD to 777, I just checked it again.
 * 2. Besides the warnings I listed above, the DB Manager gives following as WordPress
   error (this is the one I just copied)
 * `Database Failed To Backup On 'January 4, 2010 @ 6:59 pm'. Backup File Size Is
   0KB.`
 * 3. I replaced the passthru() with system() & same warning & error came. I then
   tried exec() & the result was again same.

Viewing 15 replies - 1 through 15 (of 141 total)

1 [2](https://wordpress.org/support/users/amit/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/amit/replies/page/3/?output_format=md) …
[8](https://wordpress.org/support/users/amit/replies/page/8/?output_format=md) [9](https://wordpress.org/support/users/amit/replies/page/9/?output_format=md)
[10](https://wordpress.org/support/users/amit/replies/page/10/?output_format=md)
[→](https://wordpress.org/support/users/amit/replies/page/2/?output_format=md)