Jump to content

Recommended Posts

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']]) {

Link to comment
https://forums.phpfreaks.com/topic/238159-fatal-error/
Share on other sites

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)

Link to comment
https://forums.phpfreaks.com/topic/238159-fatal-error/#findComment-1223855
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.