<p>Site is running on MAMP PRO locally.</p>
<p>PHP settings:<br>
max_execution_time = 60<br>
memory_limit = 128M<br>
upload_max_filesize = 32M<br>
post_max_size = 32M</p>
<p>I have an Asset source set-up as:</p>
<blockquote>
<p>File system Path: &quot;{basePath}images/main-content/&quot;</p>
<p>URL: &quot;{baseUrl}images/main-content/&quot;</p>
</blockquote>
<p>In my craft/config/general I have Environment-Specific Variables as per the Craft docs <a href="http://buildwithcraft.com/docs/multi-environment-configs" rel="nofollow noreferrer">http://buildwithcraft.com/docs/multi-environment-configs</a></p>
<p>When I upload an image the progress bar goes across but then stays on screen with the spinner constantly spinning. The files never upload.</p>
<p>If I manually drop an image in the images/main-content folder then do &quot;Update Asset Indexes&quot; in Settings the image appears in Assets OK.</p>
<p>&quot;Images&quot; and &quot;main-content&quot; are set to 777
The files aren't particularly big.</p>
<p>No errors in PHP logs.</p>
<p>Where else should I look</p>

CC BY-SA 3.0
2015-03-02T22:17:38.107Z
If you look at the network tab in your browser's inspector and look at the response for that request, does it have anything in it?
Brad Bell
CC BY-SA 3.0
2015-03-02T22:22:41.637Z
Ah. 500 Internal Server Error. The server encountered an internal error or
misconfiguration and was unable to complete
your request. What should I check? @BradBell
Tim Print
CC BY-SA 3.0
2015-03-02T22:23:38.630Z
Search in your `craft/storage/runtime/logs` folder for `[error]` and see if the error is logged there.
Brad Bell
CC BY-SA 3.0
2015-03-02T22:36:04.510Z
There are some errors in there but I don't know if they're related. @BradBell
Tim Print
CC BY-SA 3.0
2015-03-02T22:36:29.017Z
2015/03/02 22:33:02 [trace] [system.db.CDbCommand] Querying SQL: SELECT count(`id`)
FROM `craft_tasks`
WHERE (level = 0) AND (status = :status). Bound with :status='error'
in /Users/timprint/Dropbox/Sites/nailcote-responsive/craft/app/etc/db/DbCommand.php (90)
in /Users/timprint/Dropbox/Sites/nailcote-responsive/craft/app/services/TasksService.php (478)
in /Users/timprint/Dropbox/Sites/nailcote-responsive/craft/app/variables/TasksVariable.php (56)
Tim Print
CC BY-SA 3.0
2015-03-02T22:37:04.750Z
2015/03/02 22:33:02 [profile] [system.db.CDbCommand.query] begin:system.db.CDbCommand.query(SELECT count(`id`)
FROM `craft_tasks`
WHERE (level = 0) AND (status = :status). Bound with :status='error')
Tim Print
CC BY-SA 3.0
2015-03-02T22:37:15.760Z
2015/03/02 22:33:02 [profile] [system.db.CDbCommand.query] end:system.db.CDbCommand.query(SELECT count(`id`)
FROM `craft_tasks`
WHERE (level = 0) AND (status = :status). Bound with :status='error')
Tim Print
CC BY-SA 3.0
2015-03-02T22:44:51.990Z
Those are all `[profile]` and `[trace]` entries. Search specifically for `[error]`.
Brad Bell
CC BY-SA 3.0
2015-03-02T22:47:11.163Z
Nothing with [error] @BradBell
Tim Print
CC BY-SA 3.0
2015-03-02T22:50:07.107Z
Must be an Apache 500 internal server error, then. Try checking Apache's error logs.
Brad Bell
CC BY-SA 3.0
2015-03-02T22:51:58.703Z
[Mon Mar 02 22:51:07 2015] [error] [client 127.0.0.1] FastCGI: incomplete headers (0 bytes) received from server "/Applications/MAMP/fcgi-bin/php5.4.34.fcgi", referer: http://nailcote-responsive:8888/admin/assets
Tim Print
CC BY-SA 3.0
2015-03-02T22:58:21.143Z
Sounds like a MAMP bug? Are you on the latest version?
Brad Bell
CC BY-SA 3.0
2015-03-02T23:00:30.900Z
I am - 3.0.7.3 I'll have a search around for MAMP issues and see if I can find anything. Thanks @BradBell
Tim Print
CC BY-SA 3.0
2015-03-02T23:05:47.700Z
I found a fix for this in another post.

http://craftcms.stackexchange.com/questions/4661/fastcgi-error-when-accessing-a-local-development-site-using-mamp-pro
Tim Print
CC BY-SA 3.0
2015-03-02T23:06:39.303Z
Ahh, awesome.  I'll vote to mark this as a duplicate and reference the other one. Thanks for the follow up!
Brad Bell
<assets>
Assets not uploading but will update manually on local server
# Assets not uploading but will update manually on local server

(Asked by: username_0 on 2015-03-02)

Site is running on MAMP PRO locally.

PHP settings:  
max\_execution\_time = 60  
memory\_limit = 128M  
upload\_max\_filesize = 32M  
post\_max\_size = 32M

I have an Asset source set-up as:

> File system Path: "{basePath}images/main-content/"
>
> URL: "{baseUrl}images/main-content/"

In my craft/config/general I have Environment-Specific Variables as per the Craft docs <http://buildwithcraft.com/docs/multi-environment-configs>

When I upload an image the progress bar goes across but then stays on screen with the spinner constantly spinning. The files never upload.

If I manually drop an image in the images/main-content folder then do "Update Asset Indexes" in Settings the image appears in Assets OK.

"Images" and "main-content" are set to 777
The files aren't particularly big.

No errors in PHP logs.

Where else should I look

**Tags:** assets
> **Comments:**
> **username_1**: If you look at the network tab in your browser's inspector and look at the response for that request, does it have anything in it?  
> **username_0**: Ah. 500 Internal Server Error. The server encountered an internal error or misconfiguration and was unable to complete your request. What should I check? @BradBell  
> **username_1**: Search in your `craft/storage/runtime/logs` folder for `[error]` and see if the error is logged there.  
> **username_0**: There are some errors in there but I don't know if they're related. @BradBell  
> **username_0**: 2015/03/02 22:33:02 [trace] [system.db.CDbCommand] Querying SQL: SELECT count(`id`) FROM `craft_tasks` WHERE (level = 0) AND (status = :status). Bound with :status='error' in /Users/timprint/Dropbox/Sites/nailcote-responsive/craft/app/etc/db/DbCommand.php (90) in /Users/timprint/Dropbox/Sites/nailcote-responsive/craft/app/services/TasksService.php (478) in /Users/timprint/Dropbox/Sites/nailcote-responsive/craft/app/variables/TasksVariable.php (56)  
> **username_0**: 2015/03/02 22:33:02 [profile] [system.db.CDbCommand.query] begin:system.db.CDbCommand.query(SELECT count(`id`) FROM `craft_tasks` WHERE (level = 0) AND (status = :status). Bound with :status='error')  
> **username_0**: 2015/03/02 22:33:02 [profile] [system.db.CDbCommand.query] end:system.db.CDbCommand.query(SELECT count(`id`) FROM `craft_tasks` WHERE (level = 0) AND (status = :status). Bound with :status='error')  
> **username_1**: Those are all `[profile]` and `[trace]` entries. Search specifically for `[error]`.  
> **username_0**: Nothing with [error] @BradBell  
> **username_1**: Must be an Apache 500 internal server error, then. Try checking Apache's error logs.  
> **username_0**: [Mon Mar 02 22:51:07 2015] [error] [client 127.0.0.1] FastCGI: incomplete headers (0 bytes) received from server "/Applications/MAMP/fcgi-bin/php5.4.34.fcgi", referer: http://nailcote-responsive:8888/admin/assets  
> **username_1**: Sounds like a MAMP bug? Are you on the latest version?  
> **username_0**: I am - 3.0.7.3 I'll have a search around for MAMP issues and see if I can find anything. Thanks @BradBell  
> **username_0**: I found a fix for this in another post.
 
 http://craftcms.stackexchange.com/questions/4661/fastcgi-error-when-accessing-a-local-development-site-using-mamp-pro  
> **username_1**: Ahh, awesome.  I'll vote to mark this as a duplicate and reference the other one. Thanks for the follow up!  

---

## 0 answers

