Title: WordPress Database Abstraction Plugin Error
Last modified: August 20, 2016

---

# WordPress Database Abstraction Plugin Error

 *  [nicholaselmer](https://wordpress.org/support/users/nicholaselmer/)
 * (@nicholaselmer)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/wordpress-database-abstraction-plugin-error/)
 * I am trying to install WordPress onto a Windows 2008 server using IIS 7. The 
   database, in Microsoft SQL Server is on another server. For Networking resons
   we must use SQL Server, MySql is not an option.
 * The issue I am having, is after installing the WordPress Database Abstraction
   Plugin, I recieve a page which says:
 * “WP Database Abstraction must write to the wp-content/fields_map.parsed_types.
   php file located at <servername><siteFilePath>/blog/wp-content/fields_map.parsed_types.
   phpEither the file does not exist, or the webserver cannot write to the file”
 * Then a list of steps underneath it. All these steps I have made sure were completed.
 * I have verified the fields_map.parsed_types.php file exists in the necessary 
   folder and everything has write access to it. I’m still getting this message 
   whenever I try to visit the <site>/blog/wp-admin/install.php page to finish installation.
 * I’m stumped here, any help or suggestions would very appreciated!

Viewing 1 replies (of 1 total)

 *  Thread Starter [nicholaselmer](https://wordpress.org/support/users/nicholaselmer/)
 * (@nicholaselmer)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/wordpress-database-abstraction-plugin-error/#post-2544523)
 * I was able to get the install to complete by commenting out this section of code
   that was throwing up the error in the wp-content/mu-plugins/wp-db-abstraction/
   translations/sqlsrv/fields_map.php file.
 *     ```
       $worked = file_put_contents($this->filepath, '<?php return ' . var_export($this->fields_map, true) . "\n ?>");
               if (false === $worked) {
                   // two directories up is our error page
                   $wp_db_ab_plugin_path = realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR
                       . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
                   $error_message = 'WP Database Abstraction must write to the wp-content/fields_map.parsed_types.php file located at ' . $this->filepath .
                   'Either the file does not exist, or the webserver cannot write to the file';
                   include $wp_db_ab_plugin_path . 'error_page.php';
                   die;
               }
       ```
   
 * Now the Database has been created, but I’m having issues with Posts and Pages.
   The site’s “Hello World!” post does not show up on the homepage or in any of 
   the widgets, but the default comment underneath it does.
 * Also, in the admin panel, I’m unable to create any new posts or pages. I always
   get a page that says:
 * “Are you sure you want to do this?
 * Please try again.”
 * And the post/page never saves to the DB. I’ve been able to create everything 
   else in the admin panel, so this leads me to believe the issue is with the post
   type.
 * Any assistance or troubleshooting advice would be appreciated! Thanks!

Viewing 1 replies (of 1 total)

The topic ‘WordPress Database Abstraction Plugin Error’ is closed to new replies.

## Tags

 * [microsoft-sql-server](https://wordpress.org/support/topic-tag/microsoft-sql-server/)

 * 1 reply
 * 1 participant
 * Last reply from: [nicholaselmer](https://wordpress.org/support/users/nicholaselmer/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/wordpress-database-abstraction-plugin-error/#post-2544523)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
