Answers.Body: <p>Apparently, there's no environmentVariable <code>assetsBasePath</code> in your <code>config/general.php</code>. Without it, Craft can not replace the <code>{assetsBasePath}</code> part of the url by the correct path.</p>
  
  <p>So, <code>config/general.php</code> should look something like this:</p>
  
  <pre><code>return array(
      'devMode' =&gt; true,
      'siteUrl' =&gt; 'http://www.yourdomain.com/assets/',
      'environmentVariables' =&gt; array(
          'assetsUrl' =&gt; 'http://www.yourdomain.com/assets/',
          'assetsBasePath' =&gt; '/path/to/your/public/folder/assets/',
      ),
  );
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-18T13:22:14.197Z
Answers.LastActivityDate: 2015-06-18T13:22:14.197Z
Answers.UserDisplayName: Paul
Body: <p>I'm trying to upload own assets, but it occurs always the error that the file path "{assetsBasePath}/sites/" doesn't exist. Why and how can I fix it?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-06-18T13:17:32.280Z
Comments.Text: Got it, the BasePath was set in the wrong general.php
Comments.UserDisplayName: meisterEder
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-06-18T13:33:11.283Z
Comments.Text: How many general.php files do you have ;)
Comments.UserDisplayName: Paul
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-06-18T18:53:58.277Z
Comments.Text: I know Paul is joking, but he's kinda right... There are only 2 "general.php" files... the one in `craft/config`, and the one in `craft/app/etc/config/defaults`. You should really **never** modify anything in the `craft/app` folder, so the obvious choice is to modify your `craft/config/general.php` file.
Comments.UserDisplayName: Lindsey D
Tags: <assets>
Title: Assets Upload Error
ThreadText: # Assets Upload Error
  
  (Asked by: username_0 on 2015-06-18)
  
  I'm trying to upload own assets, but it occurs always the error that the file path "{assetsBasePath}/sites/" doesn't exist. Why and how can I fix it?
  
  **Tags:** assets
  
  > **Comments:**
  > **username_0**: Got it, the BasePath was set in the wrong general.php  
  > **username_1**: How many general.php files do you have ;)  
  > **username_2**: I know username_1 is joking, but he's kinda right... There are only 2 "general.php" files... the one in `craft/config`, and the one in `craft/app/etc/config/defaults`. You should really **never** modify anything in the `craft/app` folder, so the obvious choice is to modify your `craft/config/general.php` file.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-06-18. Score: 4
  
  Apparently, there's no environmentVariable `assetsBasePath` in your `config/general.php`. Without it, Craft can not replace the `{assetsBasePath}` part of the url by the correct path.
  
  So, `config/general.php` should look something like this:
  
  ```
  return array(
      'devMode' => true,
      'siteUrl' => 'http://www.yourdomain.com/assets/',
      'environmentVariables' => array(
          'assetsUrl' => 'http://www.yourdomain.com/assets/',
          'assetsBasePath' => '/path/to/your/public/folder/assets/',
      ),
  );
  
  ```
  
  
  ---
  
  