close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Error/Warning set_time_limit

Thread began 1/07/2014 10:10 am by joerg431091 | Last modified 1/07/2014 10:57 am by Jason Byrnes | 1482 views | 3 replies |

joerg431091

Error/Warning set_time_limit

Hi,

I am getting the following error/warning message after submitting an order on the confirm.php page:

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /home/mydomain/public_html/confirm.php on line 506

Warning: Cannot modify header information - headers already sent by (output started at /home/tedescoh/public_html/confirm.php:506) in /home/mydomain/public_html/confirm.php on line 598

I would assume that the second line is related to the first warning.

The line 506 is:

set_time_limit(0);

I don't have this error if I test the purchase locally but only after I uploaded it to the remote server.

Any suggestions?

Thanks a lot and best regards,

AJ

Sign in to reply to this post

Jason ByrnesWebAssist

the host has safe mode enabled and they do no allow for resting the time limit with safe mode enabled.


We sett he time out to allow for large mailing to be able to precess.

This host will not allow that, so comment the line, change:
set_time_limit(0);

to:
//set_time_limit(0);

Sign in to reply to this post

joerg431091

Perfect. Thanks so much Jason,

Happy & Healthy new year.

AJ

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...