forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started 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?
-
In your config page, check Target address for the 'See more pictures' link in e-cards. Is the url correct for your new website?
-
Yes, the URL is correct. The web address is the same, it's just on a different server now.
-
Post a test user/password here, and enable debug mode for all users.
-
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
-
guineapig/cheese
-
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?
-
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
-
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!