Coppermine - upload file problem

apps

#1

I’ve installed Coppermine on two servers. On one, everything worked just fine. On the other, I get the following errors when I try to upload a file (http://www.solunastudio.com/cpg/upload.php). The files are exactly the same on both servers, only the configuration file is different.

upon entering the upload page

Warning: opendir(./cpg/albums/edit): failed to open dir: No such file or directory in /home/.pandita/mhwang/solunastudio.com/cpg/upload.php on line 409 When I try to upload some files, and hit “Continue”

  • the page refreshes, showing a “failure” message
  • the following errors are displayed on the page:

[code]Warning: move_uploaded_file(./cpg/albums/edit/mHTTP_temp_04c0992c.jpg): failed to open stream: No such file or directory in /home/.pandita/mhwang/solunastudio.com/cpg/upload.php on line 1197

Warning: move_uploaded_file(): Unable to move ‘/tmp/phpoQzIQt’ to ‘./cpg/albums/edit/mHTTP_temp_04c0992c.jpg’ in /home/.pandita/mhwang/solunastudio.com/cpg/upload.php on line 1197
[/code]

I have the directory ("albums) permissions set to 755, so I don’t think that’s the problem… any ideas out there?

Thanks!