Issue with HTTP_ vars (HTTP_SESSION_VARS, _GET_VARS, _POST_VARS,_COOKIE_VARS)
ferkee
Joined: 2003-01-17
Posts: 6 |
Posted: Wed, 2008-06-04 19:05 |
Hello. I have had gallery1 installed for a long time and have continued adding photos ever since. Just lately (last month or more - during which time I've been experimenting with a new install of Drupal...) I started noticing the following error when I went to my main Gallery page (http://fierke.net/gallery): Quote:
Warning: Invalid argument supplied for foreach() in /home/.daktari/jwf/fierke.net/gallery/session.php on line 64 ...which appears to refer to: Quote:
/* emulate register_globals for sessions */ I ran configure.sh and now when I go to http://fierke.net/gallery I get the same error. When I try to load the gallery/setup routine, I get this error: Quote:
Warning: extract() [function.extract]: First argument should be an array in /home/.daktari/jwf/fierke.net/gallery/setup/init.php on line 49 (and 50 and 51) ...which appears to be referring to : Quote:
extract($HTTP_GET_VARS); Could this be a PHP version issue? I honestly cannot trace back to something I might have changed that could have caused this. Would a fresh re-install work? I'm getting the impression that I don't have any of the HTTP_ variables! What gives? I really could use some help!!! What are the best steps to take to backup before I produce any more disasters? Tell me it will be ok. I was going to the site to pull photos to submit to a my company's photo contest Thanks in advance, The following information is required to get an answer: |
|
Posts: 6
P.S. my session test is failing. I get a Session ID, but "Page views in this session" does not increment!
Posts: 6818
Hello,
The reason is, that you are using a Gallery version that is not compatible with PHP5.
$HTTP_ vars are not present in PHP5 anymore. Thus Gallery does not work.
You have to upgrade.
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 6
OK...I am JUST NOW getting back around to fixing Gallery. I am more than willing to upgrade and eventually want to get completely current (Gallery 2.X or even Gallery 3.0).
What I am most concerned with is being able to revive my albums (layout, captions, comments, etc).
What is the very first step I need to take to get something functioning? Then I'd like to migrate from G1 to G2.
Gallery URL (optional but very useful): http://fierke.net/gallery
Gallery version: 1.4.3-pl2
Apache Version : Apache/2.0.63 (Unix) PHP/4.4.7 mod_ssl/2.0.63 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
PHP Version 5.2.6
Operating system: Linux
Host : Dreamhost
Thanks in advance,
John