I am trying to install photopost intergrated into with a phpbb install. I gave photopost its own mysql database for the photos and set it to use the phpbb database for users.
Anyways, everything with the install went fine and once I deleted the setup file and went to the adm-index.php page I get the follow errors at the top of the frame on the right.
Warning: opendir(/path/to/your/photopost/data): failed to open dir: No such file or directory in /home/costar/public_html/photopost5/adm-main.php on line 19
Warning: readdir(): supplied argument is not a valid Directory resource in /home/costar/public_html/photopost5/adm-main.php on line 21
Warning: closedir(): supplied argument is not a valid Directory resource in /home/costar/public_html/photopost5/adm-main.php on line 29
I have looked everywhere in the config-inc and config-int and all the other inc files to see where it failed to set the dir value correctly, but I can not find it.
Line 19 on the adm-main.php declares $dh = opendir($dir);
so somewhere a variable named dir has the default path instead of my real server path, but I can not find that inital varible definition anywhere.
This also keeps me from uploading as it uploads to /path/to/your/photopost/data, etc and then tries to copy it into the correct folder, but of course, it can not upload to that path.
I think if I could find that one varible and modify it, that would get me working. Any ideas where it is hiding?