coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: shiftless on April 14, 2005, 05:35:57 PM

Title: "The selected album/file does not exist ! "
Post by: shiftless on April 14, 2005, 05:35:57 PM
Check out my album:

http://www.cowboyseven.us/album/index.php

I moved it from a different server and now I'm getting this error when I try to click on a picture. What's going on here?
Title: Re: "The selected album/file does not exist ! "
Post by: kegobeer on April 14, 2005, 05:42:51 PM
In your config page, check Target address for the 'See more pictures' link in e-cards.  Is the url correct for your new website?
Title: Re: "The selected album/file does not exist ! "
Post by: shiftless on April 15, 2005, 10:26:25 PM
Yes, the URL is correct. The web address is the same, it's just on a different server now.
Title: Re: "The selected album/file does not exist ! "
Post by: kegobeer on April 16, 2005, 02:04:41 AM
Post a test user/password here, and enable debug mode for all users.
Title: Re: "The selected album/file does not exist ! "
Post by: krkeegan on April 16, 2005, 05:57:02 AM
I suspect you have a glitch in your database. If you enable debug for all users we should be able to catch the glitch.

Kevin
Title: Re: "The selected album/file does not exist ! "
Post by: shiftless on April 18, 2005, 04:53:35 PM
guineapig/cheese
Title: Re: "The selected album/file does not exist ! "
Post by: shiftless on April 18, 2005, 04:57:17 PM
It won't go into debug mode! When I save the new configuration, debug mode is disabled.

Edit: Ok, I edited the value directly in the database. I wonder why it won't save the configuration properly?
Title: Re: "The selected album/file does not exist ! "
Post by: shiftless on April 20, 2005, 04:28:55 PM
Anyone? Also, I received these error messages on the console out of the blue:

PHP Stack trace:
PHP Notice:  Undefined variable:  HTTP_POST_VARS in /home/shiftless/public_html/album/include/init.inc.php on line 125
PHP Stack trace:
PHP Notice:  Undefined variable:  HTTP_GET_VARS in /home/shiftless/public_html/album/include/init.inc.php on line 133
PHP Stack trace:
PHP Notice:  Undefined variable:  HTTP_COOKIE_VARS in /home/shiftless/public_html/album/include/init.inc.php on line 140
PHP Stack trace:
PHP Notice:  Undefined variable:  HTTP_SERVER_VARS in /home/shiftless/public_html/album/include/init.inc.php on line 172
PHP Stack trace:
PHP Notice:  Undefined variable:  HTTP_SERVER_VARS in /home/shiftless/public_html/album/include/init.inc.php on line 179
Title: Re: "The selected album/file does not exist ! "
Post by: shosokyu on June 29, 2005, 06:12:23 PM
The problem is that your old server used an older version of php, and your new server uses a newer version of php :-) You probably went from php v4 to php v5. On the new server, if you have access, look for the php.ini file. It may be in the /etc directory. Edit this file and set register_long_arrays to be on. It should look like this:

register_long_arrays = on

That should solve your problem. Once the file is changed, restart your web server, and bingo!