Title: Fatal error: require_once() [function.require]:
Last modified: August 21, 2016

---

# Fatal error: require_once() [function.require]:

 *  [nazaninf24](https://wordpress.org/support/users/nazaninf24/)
 * (@nazaninf24)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-require_once-functionrequire-4/)
 * Hi,
    I’m installing my site from mamp to server, i have this errors:
 * Warning: require_once() [function.require-once]: Unable to access /htdocswp-load.
   php in /htdocs/wp-admin/admin.php on line 30
 * Warning: require_once(/htdocswp-load.php) [function.require-once]: failed to 
   open stream: Permission denied in /htdocs/wp-admin/admin.php on line 30
 * Fatal error: require_once() [function.require]: Failed opening required ‘/htdocswp-
   load.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /htdocs/wp-admin/
   admin.php on line 30
    Can anyone help me to find out how to solve the problem,
   thanks

Viewing 1 replies (of 1 total)

 *  [lloy0076](https://wordpress.org/support/users/lloy0076/)
 * (@lloy0076)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-require_once-functionrequire-4/#post-4169881)
 * This is an educated guess but it seems that something has deleted a ‘/’ in the
   first error.
 * Notice that it is ‘/htdocswp-load.php’.
 * That looks like it should be ‘/htdocs/wp-load.php’ – because I also see ‘/htdocs/
   wp-admin/admin.php’.
 * How did you “install” from “mamp” to “server”? Did you just copy all the files
   over and the database? If you did I suspect that’s part of the problem but without
   knowing how you did this, I’m not certain what further advice to give.
 * DSL

Viewing 1 replies (of 1 total)

The topic ‘Fatal error: require_once() [function.require]:’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [lloy0076](https://wordpress.org/support/users/lloy0076/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-require_once-functionrequire-4/#post-4169881)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
