close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

resizer gives an error

Thread began 2/18/2011 7:38 am by WhiteJC | Last modified 2/18/2011 1:49 pm by Jason Byrnes | 1594 views | 4 replies |

WhiteJC

resizer gives an error

I've had resizer working, suddenly it gives this error...

Fatal error: Call to undefined function: scandir() in D:\Domains\mccarthy-design.com\wwwroot\beaverswood\webassist\caching\CachedResize_Image.php on line 262

any ideas?

Sign in to reply to this post

Jason ByrnesWebAssist

What version of PHP is your host running? It needs to be PHP 5 or greater.

Sign in to reply to this post

WhiteJC

Originally Said By: Jason Byrnes
  What version of PHP is your host running? It needs to be PHP 5 or greater.  



as far as I can see its PHP 5

it was working yesterday

Sign in to reply to this post

WhiteJC

I've changed the image resize 'type' from "proportioned to box" to "crop from centre" and it now works?

changing it back to "proportioned to box" makes the page fail

Sign in to reply to this post

Jason ByrnesWebAssist

the scandir function is defined by php 5:
function.scandir.php


create a new blank php file and add the following code to it:
<?php phpinfo(); ?>

this will tell you about your php installation if it is not php 5, you will need to have the host update your php version.

if it running php 5 and you are getting this message, you should contact the host to determine why the scandir function has been disabled.

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