Weird Error

3 posts by 2 authors in: Forums > CMS Builder
Last Post: June 22, 2015   (RSS)

I am using CMSB 2.64 and the error log is generating the following warning:

E_WARNING: Invalid argument supplied for foreach()/home/xxxxx/public_html/minutes_e.php (line 58)
http://xxxxx.ca/minutes_e.php/photo/photo/activities_e.php?Marksmanship-6

What doesn't make sense to me is the the files minutes_e.php and activities_e.php are separate files in the /public_html/ folder.  Here is the file structure:

/public_html/ {all website files located here}
     /photo/  {4Images open source software located here}
     /cmsb/
     etc....

There is no .../photo/photo/activities_e.php.  activities_e.php only resides in /public_html/, so I don't understanding how this even works!

Confused!

--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke

Thanks Dave

I fixed the first issue as you suggested, so now an empty array will no longer generate a warning.

As for the URL issue, I tried to see what it would generate, and as I suspected it didn't find the file and generated a 404 error.  I will just ignore it and see if it reoccurs.

Ragi

--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke