close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Image Resizer - Fatal Error Max Execution Time

Thread began 2/09/2011 8:24 pm by dlovas275157 | Last modified 2/11/2011 10:00 am by Ray Borduin | 2454 views | 8 replies |

dlovas275157

Image Resizer - Fatal Error Max Execution Time

I have applied the Image Resizer server behavior to two images on my page, and I get the following error on page load:

Fatal error: Maximum execution time of 30 seconds exceeded in D:\Inetpub\servername\siteprefix\webassist\caching\CachedResize_Image.php on line 298

Note:
File permissions have been opened up on the folder storing the thumbs so that is not the issue.
GD Library is enabled (GD Support - enabled) so this is not the issue either.

Attached is my code.

Thanks for any help.

Verison: 1.0.0

Attached Files
indexPOST.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

try adding the following code at line 1:

php:
<?php ini_set('max_execution_time'0); ?>
Sign in to reply to this post

dlovas275157

I added that line of code to line 1, and now the page won't load....hangs for a long time then posts the following error:

FastCGI Error

The FastCGI Handler was unable to process the request.
Error Details:

The FastCGI process exceeded configured request timeout
Error Number: 258 (0x80070102).
Error Description: The wait operation timed out.
HTTP Error 500 - Server Error.
Internet Information Services (IIS)

Sign in to reply to this post

Ray BorduinWebAssist

What are the image dimensions and file size of the image you are using?

GD library sometimes wont process large images and you need to save them as a smaller image before using them on the web.

Sign in to reply to this post

dlovas275157

The image is originally 1000 px W x 667 px H

and going to

160 px W x 120 px H

Sounds reasonable...is this too much?

Sign in to reply to this post

Ray BorduinWebAssist

How large is the image in KB? Can you upload a copy of the image so we can test with it? Does it work with smaller images?

Sign in to reply to this post

dlovas275157

Ray,

The file sizes vary from 130 KB to 20 KB.

Attached is one of the files to test with.

Sign in to reply to this post

dlovas275157

Tried it with a single 20 KB image 325 x 244 px to resize down to 160x120. Attached is code. Still doesn't work...says it times out at line 298 of CachedResized_Image.php.

Line 298 is:
$phpself = dirname($phpself);

Does this help troubleshoot?

Attached Files
imageResizer.php.zip
Sign in to reply to this post

Ray BorduinWebAssist

I opened a support incident so that we can debug this with you directly.

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...