Title: decavolt's Replies | WordPress.org

---

# decavolt

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Secondary wp_nav_menu repeating first](https://wordpress.org/support/topic/secondary-wp_nav_menu-repeating-first/)
 *  [decavolt](https://wordpress.org/support/users/decavolt/)
 * (@decavolt)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/secondary-wp_nav_menu-repeating-first/#post-1777157)
 * I also noticed that if you don’t create menus with the same names used in `wp_nav_menu(
   array('menu' => '[name here]' ))` WordPress will show the same menu contents 
   for each menu. So in my example above, so long as I created a menu named “First
   Menu” and another named “Second Menu” via the admin it would work properly.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Secondary wp_nav_menu repeating first](https://wordpress.org/support/topic/secondary-wp_nav_menu-repeating-first/)
 *  [decavolt](https://wordpress.org/support/users/decavolt/)
 * (@decavolt)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/secondary-wp_nav_menu-repeating-first/#post-1777155)
 * I don’t think you need _add\_action()_.
    Try this:
 * **functions.php**
 *     ```
       if ( function_exists( 'register_nav_menus' ) ) {
         	register_nav_menus(
         		array(
         		  'foot_menu' => 'First Menu',
         		  'sidebar_menu' => 'Second Menu'
         		)
         	);
       }
       ```
   
 * **header.php**
 *     ```
       <? wp_nav_menu( array('menu' => 'First Menu' )); ?>
       <? wp_nav_menu( array('menu' => 'Second Menu' )); ?>
       ```
   
 * I just tested this on my WP installation and it worked nicely.
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Client for T-Mobile G1 / Android OS?](https://wordpress.org/support/topic/client-for-t-mobile-g1-android-os/)
 *  [decavolt](https://wordpress.org/support/users/decavolt/)
 * (@decavolt)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/client-for-t-mobile-g1-android-os/#post-884934)
 * I have to ask the obvious question: why do you need a specific app for WordPress?
   The G1 has 3G and wi-fi, a great browser and the WordPress admin works beautifully.
   No missing features, no crashy app…
 * Why fill up more space on your phone with a clunky app when you can do everything
   you need to do via a browser?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Visual Editor Not Working on Upgrade](https://wordpress.org/support/topic/visual-editor-not-working-on-upgrade/)
 *  [decavolt](https://wordpress.org/support/users/decavolt/)
 * (@decavolt)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/visual-editor-not-working-on-upgrade/page/3/#post-725364)
 * Another update – this turned out to be a problem with the server.
    If all the
   fixes in this thread fail, it’s likely that realPath is corrupt/malfunctioning
   in the server’s PHP install and/or compression is turned on at the server level
   and causing problems.
 * After moving to a new, much better host, everything worked perfectly right out
   of the box.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Visual Editor Not Working on Upgrade](https://wordpress.org/support/topic/visual-editor-not-working-on-upgrade/)
 *  [decavolt](https://wordpress.org/support/users/decavolt/)
 * (@decavolt)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/visual-editor-not-working-on-upgrade/page/3/#post-725362)
 * As an update to my post above – I’ve downgraded to WP v2.5, tried all the same
   fixes and testing and still don’t have a visual editor.
 * At this point, I’m beginning to wonder if it’s due to the server environment.
   This install is running on a remote Linux server running Apache, with PHP 5.1.4.
   
   I have another Linux server with an identical WP install running Apache with 
   PHP 5.2.5 – the editor works perfectly (tried both WP 2.5.1 and WP 2.5).
 * Can anyone else confirm the PHP version they’re using when seeing this problem?
   PHP shouldn’t be the culprit, but I’m running out of alternatives.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Visual Editor Not Working on Upgrade](https://wordpress.org/support/topic/visual-editor-not-working-on-upgrade/)
 *  [decavolt](https://wordpress.org/support/users/decavolt/)
 * (@decavolt)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/visual-editor-not-working-on-upgrade/page/3/#post-725360)
 * None of the above fixes work with WP 2.5.1
 * I’ve tried:
    – WP_LANG set to “en” instead of “” – clear browser cache – clear
   uploads/js_cache/ – completely delete wp-admin and wp-includes, reinstall – completely
   delete entire WordPress install, reinstall – manually install latest version 
   of TinyMCE – turn TinyMCE compression off – use TinyMCE Advanced plug-in
 * Tested with Safari, Firefox on OSX and XP, Firefox and IE on XP
 * After each of the above, I still see the following js error when trying to load
   the editor:
    `missing ) after argument list` – tiny_mce_config.php line 15
 * Then when clicking on the HTML tab in the editor:
    `tinyMCE is not defined` –
   editor.js line 82
 * Any other ideas?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [2.5 – Media Upload – Are You Sure You Want To Do This?](https://wordpress.org/support/topic/25-media-upload-are-you-sure-you-want-to-do-this/)
 *  [decavolt](https://wordpress.org/support/users/decavolt/)
 * (@decavolt)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/25-media-upload-are-you-sure-you-want-to-do-this/#post-725290)
 * If you’re using WP-Contactform, here’s the fix:
 * In wp-contactform.php, move this block of code (starting around line 13:
 *     ```
       //Grab some default user info, if available (Submitted by Dan)
       	$wpcf_auto_email = get_profile('user_email');
       	$wpcf_auto_ID = get_profile('ID');
       	$wpcf_auto_first_name = get_usermeta($wpcf_auto_ID, 'first_name');
       	$wpcf_auto_last_name = get_usermeta($wpcf_auto_ID, 'last_name');
       	$wpcf_auto_name = $wpcf_auto_first_name.' '.$wpcf_auto_last_name;
       	if (empty($_POST['wpcf_email'])) {
       		$_POST['wpcf_email'] = $wpcf_auto_email;
       	}
       	if (empty($_POST['wpcf_your_name'])) {
       		$_POST['wpcf_your_name'] = $wpcf_auto_name;
       	}
       ```
   
 * And move it, placing it just before this line (around line 137):
    `if(wpcf_check_input())//
   If the input check returns true (ie. there has been a submission & input is ok)`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Problem with WP-ContactForm 1.5.1 and Add an Image](https://wordpress.org/support/topic/problem-with-wp-contactform-151-and-add-an-image/)
 *  [decavolt](https://wordpress.org/support/users/decavolt/)
 * (@decavolt)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/problem-with-wp-contactform-151-and-add-an-image/#post-726148)
 * Thanks SergeyBiryukov for this fix. Works great for me.
    For others looking at
   this later:
 * In wp-contactform.php, move this block of code (starting around line 13:
 *     ```
       //Grab some default user info, if available (Submitted by Dan)
       	$wpcf_auto_email = get_profile('user_email');
       	$wpcf_auto_ID = get_profile('ID');
       	$wpcf_auto_first_name = get_usermeta($wpcf_auto_ID, 'first_name');
       	$wpcf_auto_last_name = get_usermeta($wpcf_auto_ID, 'last_name');
       	$wpcf_auto_name = $wpcf_auto_first_name.' '.$wpcf_auto_last_name;
       	if (empty($_POST['wpcf_email'])) {
       		$_POST['wpcf_email'] = $wpcf_auto_email;
       	}
       	if (empty($_POST['wpcf_your_name'])) {
       		$_POST['wpcf_your_name'] = $wpcf_auto_name;
       	}
       ```
   
 * And move it, placing it just before this line (around line 137):
    `if(wpcf_check_input())//
   If the input check returns true (ie. there has been a submission & input is ok)`

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