Fatal Error on uploading an image
Permalink
Hi, I'm getting a time out error when trying to upload a small 24kb image. I'm still developing the site on my local computer so the file should upload instantly as usual. It's the first image I've tried to upload on a new site build.
I've never come across anything like this before. Even though there's the below error message the pic still uploads but when I select it and view Properties it times out again.
Fatal error: Maximum execution time of 30 seconds exceeded in /Applications/MAMP/htdocs/sitename/concrete/libraries/3rdparty/Zend/Locale/Format.php on line 478
It allows me to upload multiple images as normal but times out with the same error if I go to view properties.
Any help very welcome as I'm now totally stuck.
Thanks.
I've never come across anything like this before. Even though there's the below error message the pic still uploads but when I select it and view Properties it times out again.
Fatal error: Maximum execution time of 30 seconds exceeded in /Applications/MAMP/htdocs/sitename/concrete/libraries/3rdparty/Zend/Locale/Format.php on line 478
It allows me to upload multiple images as normal but times out with the same error if I go to view properties.
Any help very welcome as I'm now totally stuck.
Thanks.
Can you find what the logs say in /Applications/MAMP/logs when you get the error in Concrete5?
Hi, thanks for looking into this. There are two error logs showing as below:
mysql_error_log_err says:
131123 13:55:23 mysqld_safe Starting mysqld daemon with databases from /Applications/MAMP/db/mysql
131123 13:55:26 [Warning] You have forced lower_case_table_names to 0 through a command-line option, even though your file system '/Applications/MAMP/db/mysql/' is case insensitive. This means that you can corrupt a MyISAM table by accessing it with different cases. You should consider changing lower_case_table_names to 1 or 2
131123 13:55:26 [Note] Plugin 'FEDERATED' is disabled.
131123 13:55:27 InnoDB: The InnoDB memory heap is disabled
131123 13:55:27 InnoDB: Mutexes and rw_locks use InnoDB's own implementation
131123 13:55:27 InnoDB: Compressed tables use zlib 1.2.3
131123 13:55:28 InnoDB: Initializing buffer pool, size = 128.0M
131123 13:55:28 InnoDB: Completed initialization of buffer pool
131123 13:55:28 InnoDB: highest supported file format is Barracuda.
131123 13:55:33 InnoDB: Waiting for the background threads to start
131123 13:55:34 InnoDB: 1.1.5 started; log sequence number 105524191
131123 13:55:35 [Note] Event Scheduler: Loaded 0 events
131123 13:55:35 [Note] /Applications/MAMP/Library/bin/mysqld: ready for connections.
Version: '5.5.9' socket: '/Applications/MAMP/tmp/mysql/mysql.sock' port: 8889 Source distribution
-----------------------
php_error.log says:
[23-Nov-2013 14:55:41] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /Applications/MAMP/htdocs/baker/concrete/libraries/3rdparty/Zend/Locale/Format.php on line 478
-----------------------
apache_error_log says:
[Sat Nov 23 13:55:35 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 23 13:55:35 2013] [notice] Digest: done
[Sat Nov 23 13:55:35 2013] [notice] Apache/2.0.64 (Unix) PHP/5.3.5 DAV/2 configured -- resuming normal operations
mysql_error_log_err says:
131123 13:55:23 mysqld_safe Starting mysqld daemon with databases from /Applications/MAMP/db/mysql
131123 13:55:26 [Warning] You have forced lower_case_table_names to 0 through a command-line option, even though your file system '/Applications/MAMP/db/mysql/' is case insensitive. This means that you can corrupt a MyISAM table by accessing it with different cases. You should consider changing lower_case_table_names to 1 or 2
131123 13:55:26 [Note] Plugin 'FEDERATED' is disabled.
131123 13:55:27 InnoDB: The InnoDB memory heap is disabled
131123 13:55:27 InnoDB: Mutexes and rw_locks use InnoDB's own implementation
131123 13:55:27 InnoDB: Compressed tables use zlib 1.2.3
131123 13:55:28 InnoDB: Initializing buffer pool, size = 128.0M
131123 13:55:28 InnoDB: Completed initialization of buffer pool
131123 13:55:28 InnoDB: highest supported file format is Barracuda.
131123 13:55:33 InnoDB: Waiting for the background threads to start
131123 13:55:34 InnoDB: 1.1.5 started; log sequence number 105524191
131123 13:55:35 [Note] Event Scheduler: Loaded 0 events
131123 13:55:35 [Note] /Applications/MAMP/Library/bin/mysqld: ready for connections.
Version: '5.5.9' socket: '/Applications/MAMP/tmp/mysql/mysql.sock' port: 8889 Source distribution
-----------------------
php_error.log says:
[23-Nov-2013 14:55:41] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /Applications/MAMP/htdocs/baker/concrete/libraries/3rdparty/Zend/Locale/Format.php on line 478
-----------------------
apache_error_log says:
[Sat Nov 23 13:55:35 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 23 13:55:35 2013] [notice] Digest: done
[Sat Nov 23 13:55:35 2013] [notice] Apache/2.0.64 (Unix) PHP/5.3.5 DAV/2 configured -- resuming normal operations
Hi, I've now started building another site in concrete5 and exactly the same thing is happening. I opened old sites using Mamp and they are fine, it's just the two newest sites that are causing problems. This is a nightmare as I'm totally stopped in my tracks.
Any help REALLY welcome.
Thanks,
Dan
Any help REALLY welcome.
Thanks,
Dan
It could have something to do with your MAMP / PHP-version. You could try upgrading.
Have you checked /libraries/3rdparty/Zend/Locale/Format.php yet? You can copy it to your override directory and start debugging the _seperateFormat function.
Have you checked /libraries/3rdparty/Zend/Locale/Format.php yet? You can copy it to your override directory and start debugging the _seperateFormat function.
Is Zend support included within MAMP? I tried to ask google this question. All I see is articles on how to add support for Zend..
https://www.google.com/search?q=mamp+zend&oq=mamp+zend&aqs=c...
https://www.google.com/search?q=mamp+zend&oq=mamp+zend&aqs=c...