What’s on line 10 of the file sp_helper_functions.php?
LINE 10
while (false !== ($filename = readdir($dh)))
line 452
foreach(getDirList($dir) as $file)
Can you post the content of the file: sp_helper_functions.php here: http://paste.uni.cc ?
What code you put to display the gallery?
What exactly was the fix as I am having the same problem? I saw the code paste but don’t see where the change might have been.
Thank you, jim
Sorry, I posted by mistake.
This is a link for a friend, I have the same problem, and I saw many page too… Will not compatible with WP 1.5.2??
http://www.lswon.com/gallery/
http://www.lswon.com/gallery/folder/cars
Your error is /home/.tabathawasherkiln/lswon/lswon.com/gallery/sp_helper_functions.php
The problem is the location. The “.” should not be there. Perhaps when you edited a file, you made a type. At least that’s what I think.
Wow, I just realized I was having this problem after Gutiela posted the link to my gallery. Have there been any fixes to this problem?
jwurster: the problem is not the lcation. This script worked perfectly fine before 1.5.2
Hi lswon, I tried tou use your gallery guide on my blog. That’s the reason I saw the problem.
I saw the same problem on many blogs, I check one thing similar, we use mx4_theme.
The strange is if your install the original source without personalize, works. But crash to integrate to worpress with mx_theme.
Gutiela, I managed to find a fix for the problem on the support forum for spg.
Courtesy of DeGrey:
Change line 8 in sp_helper_functions.php from
$input_dir = $dir;
to
$input_dir = $_SERVER['DOCUMENT_ROOT'] . '/gallery' . str_replace('.','',$dir);
with /gallery being the path of your gallery
Hi, I do not know if that is the right place to post… but
I have this strange problem with eSG. It will always list the directories that are available above the acutal page. Does anyone have a clue how I could I correct this?
http://root.schulaufgaben-forum.de/mundogrande/WP/gallery/index.php
Thanks so much!!!