The problem ... After installing Coppermine according to the manual, I can not login on the loginpage over here:
http://209.124.83.52/screenies/login.phpIt seems to log me in at first, it welcomes me and forwards me to the index.php ... at which I still am not loggedin.
When then trying to access admin.php it says indeed I am not loggedin, and there aint no link anywhere to activate admin-mode either. So basically I am stuck on paragraph 2.2 of your documentation.
The same like this person here:
http://forum.coppermine-gallery.net/index.php?topic=34876.0http://forum.coppermine-gallery.net/index.php?topic=29465.0When looking at the cookies in Firefox, there is only one cookie being set by Coppermine, a cookie called 'cpg143_data' that seems to contain a hash.
My browser settings should be alright, I can login to all other places I'm a member of (even the ones located on the same host as the Gallery).
After opening the documentation in the ZIP file, it seems like I have done all the steps needed.
- Database and user are created,
- database tablse have been created by installer,
- config file got created by installer,
- all files/folders in the ZIP file were uploaded,
- the direcotries that should get CHMODd are CHMOd to the correct number.
What could cause this ?
A comment ... I installed Coppermin Photogallery, all went just fine ... After it redirected me to the login page, I got my first include error:
Warning: main(include/debugger.inc.php): failed to open stream: No such file or directory in /home/***/public_html/***/include/init.inc.php on line 26
Fatal error: main(): Failed opening required 'include/debugger.inc.php' (include_path='/usr/local/lib/php:/usr/lib/php') in /home/***/public_html/***/include/init.inc.php on line 26
The "No such file or directory" is a fony error, the file is there, the directory is there ...
I had to modify the 'require' in the /include/init.inc.php file and add the full path, so it went from
require 'include/debugger.inc.php';to
require '/home/***/public_html/***/include/debugger.inc.php';After this was done, the error was gone and got replaced with another one, after that was fixed, with yet another one and so on.
Here are a few:
Fatal error: main(): Failed opening required 'include/config.inc.php' (include_path='/usr/local/lib/php:/usr/lib/php') in /home/***/public_html/***/include/init.inc.php on line 156
Fatal error: main(): Failed opening required 'include/functions.inc.php' (include_path='/usr/local/lib/php:/usr/lib/php') in /home/***/public_html/***/include/init.inc.php on line 178
etc.
I ended up modifying all includes and requires in that file.
And if the frustration was not enough, after the "/include/init.inc.php" file was done, the "/bridge/coppermine.inc.php" file started throwing the same kind of errors.
The same problem as this user over here:
http://forum.coppermine-gallery.net/index.php?topic=36042.0Question, why do I have to modify every include/require statement for Coppermine but not for a series of other scripts?