I just did a clean fresh un-tarring of Drupal 5.4. I haven't created the database part yet, though the screen comes up. So, I am constantly checking the Apache error_log and in going to this screen (database install) .... I get these messages.
[client 192.168.1.167] PHP Notice: Undefined variable: redirect in /var/www/html/drupal-5.4/includes/form.inc on line 268 [client 192.168.1.167] PHP Notice: Undefined variable: base in /var/www/html/drupal-5.4/includes/form.inc on line 465 [client 192.168.1.167] PHP Notice: Undefined index: #value in /var/www/html/drupal-5.4/includes/form.inc on line 1045 [client 192.168.1.167] PHP Notice: Undefined index: #value in /var/www/html/drupal-5.4/includes/form.inc on line 1045 [client 192.168.1.167] PHP Notice: Undefined variable: no_module_preprocess in /var/www/html/drupal-5.4/includes/common.inc on line 1472 [client 192.168.1.167] PHP Notice: Undefined variable: no_theme_preprocess in /var/www/html/drupal-5.4/includes/common.inc on line 1493
Should ... I go back to a previous version of Drupal ... can I provide any more information? I can't imagine this is normal.
I just installed 5.3 about 2 weeks ago and 5.2 is running smoothly on another site. But I got a security message from a friend that I should update to 5.4 because anything older than that can allow for sql injection. I was thinking about updating but haven't gotten around to it. Has anyone else tried 5.4 and have you had success or similar problems to Tom? I have found previous versions of drupal to install quite easily and simply and have not had the issues Tom is running into.
So again, anyone else have experience with 5.4 yet?
.s
Tom Holmes Jr. wrote:
I just did a clean fresh un-tarring of Drupal 5.4. I haven't created the database part yet, though the screen comes up. So, I am constantly checking the Apache error_log and in going to this screen (database install) .... I get these messages.
[client 192.168.1.167] PHP Notice: Undefined variable: redirect in /var/www/html/drupal-5.4/includes/form.inc on line 268 [client 192.168.1.167] PHP Notice: Undefined variable: base in /var/www/html/drupal-5.4/includes/form.inc on line 465 [client 192.168.1.167] PHP Notice: Undefined index: #value in /var/www/html/drupal-5.4/includes/form.inc on line 1045 [client 192.168.1.167] PHP Notice: Undefined index: #value in /var/www/html/drupal-5.4/includes/form.inc on line 1045 [client 192.168.1.167] PHP Notice: Undefined variable: no_module_preprocess in /var/www/html/drupal-5.4/includes/common.inc on line 1472 [client 192.168.1.167] PHP Notice: Undefined variable: no_theme_preprocess in /var/www/html/drupal-5.4/includes/common.inc on line 1493
Should ... I go back to a previous version of Drupal ... can I provide any more information? I can't imagine this is normal.
On Thu, 06 Dec 2007 12:27:43 -0500 sander-martijn lists@severeddreams.com wrote:
I just installed 5.3 about 2 weeks ago and 5.2 is running smoothly on another site. But I got a security message from a friend that I should update to 5.4 because anything older than that can allow for sql injection. I was thinking about updating but haven't gotten around to it. Has anyone else tried 5.4 and have you had success or similar problems to Tom? I have found previous versions of drupal to install quite easily and simply and have not had the issues Tom is running into.
I was chatting with Heine while I upgraded 6 sites exactly few minutes after he told me the 5.4 was beening released.
I upgraded from 5.3 -> 5.4.
If I remember right there were some security issues with 5.2 and that's why I upgraded to 5.3. So better you move the 5.2 site as well.
I don't use tons of modules but I still use 10 to 15 for each sites and 2 were under active development cos I'm writing some modules for my clients.
Furthermore I use postgresql on all the ones I had to upgrade personally.
That's not to say it is the weirdest setup ever, but still not that standard and everything went absolutely smooth.
On Thursday 06 December 2007 09:00:52 Tom Holmes Jr. wrote:
I just did a clean fresh un-tarring of Drupal 5.4. I haven't created the database part yet, though the screen comes up. So, I am constantly checking the Apache error_log and in going to this screen (database install) .... I get these messages.
[client 192.168.1.167] PHP Notice: Undefined variable: redirect in /var/www/html/drupal-5.4/includes/form.inc on line 268 [client 192.168.1.167] PHP Notice: Undefined variable: base in /var/www/html/drupal-5.4/includes/form.inc on line 465 [client 192.168.1.167] PHP Notice: Undefined index: #value in /var/www/html/drupal-5.4/includes/form.inc on line 1045 [client 192.168.1.167] PHP Notice: Undefined index: #value in /var/www/html/drupal-5.4/includes/form.inc on line 1045 [client 192.168.1.167] PHP Notice: Undefined variable: no_module_preprocess in /var/www/html/drupal-5.4/includes/common.inc on line 1472 [client 192.168.1.167] PHP Notice: Undefined variable: no_theme_preprocess in /var/www/html/drupal-5.4/includes/common.inc on line 1493
Should ... I go back to a previous version of Drupal ... can I provide any more information? I can't imagine this is normal.
This looks like those messages may be related to this: http://drupal.org/node/99625
You probably have your PHP set to spit out messages about any little thing, and Drupal 5 has lots of little things. Drupal 6 should not produce those sorts of messages. It may be that 5.4 has those warning messages turned on, where 5.3 and before did not.
It's just a guess.
Jason Flatt wrote:
On Thursday 06 December 2007 09:00:52 Tom Holmes Jr. wrote:
I just did a clean fresh un-tarring of Drupal 5.4. I haven't created the database part yet, though the screen comes up. So, I am constantly checking the Apache error_log and in going to this screen (database install) .... I get these messages.
[client 192.168.1.167] PHP Notice: Undefined variable: redirect in /var/www/html/drupal-5.4/includes/form.inc on line 268 [client 192.168.1.167] PHP Notice: Undefined variable: base in /var/www/html/drupal-5.4/includes/form.inc on line 465 [client 192.168.1.167] PHP Notice: Undefined index: #value in /var/www/html/drupal-5.4/includes/form.inc on line 1045 [client 192.168.1.167] PHP Notice: Undefined index: #value in /var/www/html/drupal-5.4/includes/form.inc on line 1045 [client 192.168.1.167] PHP Notice: Undefined variable: no_module_preprocess in /var/www/html/drupal-5.4/includes/common.inc on line 1472 [client 192.168.1.167] PHP Notice: Undefined variable: no_theme_preprocess in /var/www/html/drupal-5.4/includes/common.inc on line 1493
drupal 5.5 has been released just now...
maybe it will fix your 5.4
hth
fab'
On Thursday 06 December 2007, Fabio Mora wrote:
Jason Flatt wrote:
On Thursday 06 December 2007 09:00:52 Tom Holmes Jr. wrote:
I just did a clean fresh un-tarring of Drupal 5.4. I haven't created the database part yet, though the screen comes up. So, I am constantly checking the Apache error_log and in going to this screen (database install) .... I get these messages.
[client 192.168.1.167] PHP Notice: Undefined variable: redirect in /var/www/html/drupal-5.4/includes/form.inc on line 268 [client 192.168.1.167] PHP Notice: Undefined variable: base in /var/www/html/drupal-5.4/includes/form.inc on line 465 [client 192.168.1.167] PHP Notice: Undefined index: #value in /var/www/html/drupal-5.4/includes/form.inc on line 1045 [client 192.168.1.167] PHP Notice: Undefined index: #value in /var/www/html/drupal-5.4/includes/form.inc on line 1045 [client 192.168.1.167] PHP Notice: Undefined variable: no_module_preprocess in /var/www/html/drupal-5.4/includes/common.inc on line 1472 [client 192.168.1.167] PHP Notice: Undefined variable: no_theme_preprocess in /var/www/html/drupal-5.4/includes/common.inc on line 1493
drupal 5.5 has been released just now...
maybe it will fix your 5.4
Hm. Oops. :-)
However, I don't believe that's related. Drupal 5.x and earlier are not E_ALL-compliant. That is, they still generate Notice-level warnings. If your server is configured to E_ALL error reporting rather than E_ALL ^ E_NOTICE, you will get these errors. The easiest way I've found to get rid of them is to either set the server to E_ALL ^ E_NOTICE, or to set that manually in the .htaccess file with a php_value directive. Unfortunately you can't use PHP constants in the .htaccess file, so you have to specify the integer result of E_ALL ^ E_NOTICE, which I don't recall off the top of my head. It should be fairly straightforward to figure out from the php.net manual page on error levels.
Drupal 6 core is being developed to E_ALL standards. Drupal 6 contribs will likely not be, however, unless this issue is resolved very soon: http://drupal.org/node/189454
Great .. thanks for the information! So, I gather I don't have to worry about these errors right now?
I got drupal 5.4 almost working ... (on CentOS Apache 2.0 and PHP 4.3.9). I was able to create the databae, and the permissions for settings.php were adjusted. I was able to get to the site, went to create first account with username and email ... And then when it tried to get to the next page ... it told me "Access Denied" So now I can't even get in as the first user .... I've been researching this in the forums. I'll try Drupal 5.5 now and see what happens ....
Thanks again!!
Larry Garfield wrote:
On Thursday 06 December 2007, Fabio Mora wrote:
Jason Flatt wrote:
On Thursday 06 December 2007 09:00:52 Tom Holmes Jr. wrote:
I just did a clean fresh un-tarring of Drupal 5.4. I haven't created the database part yet, though the screen comes up. So, I am constantly checking the Apache error_log and in going to this screen (database install) .... I get these messages.
[client 192.168.1.167] PHP Notice: Undefined variable: redirect in /var/www/html/drupal-5.4/includes/form.inc on line 268 [client 192.168.1.167] PHP Notice: Undefined variable: base in /var/www/html/drupal-5.4/includes/form.inc on line 465 [client 192.168.1.167] PHP Notice: Undefined index: #value in /var/www/html/drupal-5.4/includes/form.inc on line 1045 [client 192.168.1.167] PHP Notice: Undefined index: #value in /var/www/html/drupal-5.4/includes/form.inc on line 1045 [client 192.168.1.167] PHP Notice: Undefined variable: no_module_preprocess in /var/www/html/drupal-5.4/includes/common.inc on line 1472 [client 192.168.1.167] PHP Notice: Undefined variable: no_theme_preprocess in /var/www/html/drupal-5.4/includes/common.inc on line 1493
drupal 5.5 has been released just now...
maybe it will fix your 5.4
Hm. Oops. :-)
However, I don't believe that's related. Drupal 5.x and earlier are not E_ALL-compliant. That is, they still generate Notice-level warnings. If your server is configured to E_ALL error reporting rather than E_ALL ^ E_NOTICE, you will get these errors. The easiest way I've found to get rid of them is to either set the server to E_ALL ^ E_NOTICE, or to set that manually in the .htaccess file with a php_value directive. Unfortunately you can't use PHP constants in the .htaccess file, so you have to specify the integer result of E_ALL ^ E_NOTICE, which I don't recall off the top of my head. It should be fairly straightforward to figure out from the php.net manual page on error levels.
Drupal 6 core is being developed to E_ALL standards. Drupal 6 contribs will likely not be, however, unless this issue is resolved very soon: http://drupal.org/node/189454
Quoting "Tom Holmes Jr." tom@tomholmes.net:
Should ... I go back to a previous version of Drupal ... can I provide any more information? I can't imagine this is normal.
Maybe this http://linuxlab.dk/tipsntricks/php-undefined-variable.php is a clue?
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/