Moved to new host - have a question...

2 posts by 2 authors in: Forums > CMS Builder
Last Post: September 1, 2011   (RSS)

By HDLLC - September 1, 2011

Hi there-

I've started moving the last of my sites to a new host. The remainder are all CMS Builder sites. So - this one will set the stage for the rest to be moved over the next 5 or so days. (I hope).

I have followed the instructions here:
http://www.interactivetools.com/forum/gforum.cgi?post=75322#75322

But - I'm getting an odd error I cannot track down.

The site is staged here:
http://174.121.85.130/~ofthesou/southdakotawild.com/South-Dakota-Wild-Pheasant-Hunt-Details.php?Eureka-Roosters-11

Lots of errors: Warning: Invalid argument supplied for foreach()

I did pull the database into BBEdit, and search/replace the path for uploads. That cleaned up several hundred references to the old server path.

What would be causing this error?

If I look at the line that it's referencing in the page, it looks like this:


<?php foreach ($farmsRecord['main_image'] as $upload): ?>

Any help is greatly appreciated!

Thanks!

--Jeff