iloverickvill Posted June 2, 2011 Share Posted June 2, 2011 I am having a problem with my codes. please help. Fatal error: Maximum execution time of 30 seconds exceeded in D:\xampp\htdocs\motoinventory\cake\libs\model\datasources\dbo_source.php on line 1084 this is line: 1084 if (isset($value[$model->alias]) && $value[$model->alias][$model->primaryKey] === $data[$association][$model->hasMany[$association]['foreignKey']]) { Quote Link to comment https://forums.phpfreaks.com/topic/238159-fatal-error/ Share on other sites More sharing options...
PFMaBiSmAd Posted June 2, 2011 Share Posted June 2, 2011 Your code is either stuck continuously executing a loop due to a logic error or you are doing something in your code that takes a long time. Quote Link to comment https://forums.phpfreaks.com/topic/238159-fatal-error/#findComment-1223846 Share on other sites More sharing options...
iloverickvill Posted June 2, 2011 Author Share Posted June 2, 2011 are there any possible fixes on this? i cannot find the code that i am stuck with... thanks.... Quote Link to comment https://forums.phpfreaks.com/topic/238159-fatal-error/#findComment-1223849 Share on other sites More sharing options...
mikesta707 Posted June 2, 2011 Share Posted June 2, 2011 well without more code to look at we can't really give a definitive answer. Is that if statement inside a loop? What is it part of? What is your script actually doing? Just saying "I'm getting an error, halp", makes it hard for us to help me. Oh, and if you are gonna post more code, please don't post the entire, 1000+ line script. just post the relevant code (like if its part of a while loop, post just the while loop) Quote Link to comment https://forums.phpfreaks.com/topic/238159-fatal-error/#findComment-1223855 Share on other sites More sharing options...
iloverickvill Posted June 2, 2011 Author Share Posted June 2, 2011 Here is the program that I made...ill attach it using megaupload due to file size restriction... I hope you guys can replicate the errors that I am experiencing..thanks much... http://www.megaupload.com/?d=ZG8UNW28 Quote Link to comment https://forums.phpfreaks.com/topic/238159-fatal-error/#findComment-1223862 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.