Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJazib Shahzad
2,243 PointsError in installation of Custom Post Type UI plugin
I'm trying to install Custom Post Type UI plugin as shown in the video by going to Plugin->Add New.But it gives error i.e.
Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\myTheme\wp-includes\class-http.php on line 1610
I also tried to download Custom Post Type UI from Notes and then upload it but in installation process it gives error i.e.
ERROR: The uploaded file exceeds the upload_max_filesize directive in php.ini.
Can anyone experienced same as me? Have any Solution?I'm Waiting for that :( ????????
3 Answers
Richard Hope
25,237 PointsIt looks like it is timing out before it has chance to install. I see you are using xampp so you can change the time limit by doing the following:
- go to xampp control panel
- select 'config' button for apache
- select 'php.ini'
- In the file that opens search for 'max_execution_time', it will say 'max_execution_time=30'
- You can change 30 to whatever time you like, 0 is unlimited
- save file
- try installing plugin again
Good luck
Richard Hope
25,237 PointsIf your error message is is still saying max execution time is 30 seconds when you've changed it to something different, maybe you need to restart everything and try again if you havn't done already. I'm afraid that's all I have to offer.
Richard Hope
25,237 PointsYou might also try changing to max_upload_filesize setting in the same file to something larger.
Jazib Shahzad
2,243 PointsJazib Shahzad
2,243 PointsYeah! you are right I'm using xampp. I changed time to 300 but again same error :(