matteoraggi

Topic: functions.php on line 84

I have upgraded http://www.lavorohotel.net/ to 1.8 but now I get only these errors:
Notice: Undefined index: title in /home/mhd-01/www.lavorohotel.net/htdocs/_includes/functions.php on line 84

Notice: Undefined index: description in /home/mhd-01/www.lavorohotel.net/htdocs/_includes/functions.php on line 84

Notice: Undefined index: keywords in /home/mhd-01/www.lavorohotel.net/htdocs/_includes/functions.php on line 84

what it mean?

navjotjsingh

Re: functions.php on line 84

It means your PHP error setting is too high. And you need to set title, description and keywords for categories.

Open your config.php and and make sure this line is like this:

Code:

ini_set('display_errors', 'Off');

matteoraggi

Re: functions.php on line 84

Thanks, doing that the home became white
and when I try to log into admin I get this error then:
500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Last edited by matteoraggi (2009-10-06 13:41:59)

navjotjsingh

Re: functions.php on line 84

Can you pls post the contents of your .htaccess files from both root and admin directory and PHP/Apache versions?

matteoraggi

Re: functions.php on line 84

# AddType x-mapp-php5 .php
# AddHandler x-mapp-php5 .php

RewriteEngine on
Options +FollowSymlinks

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

ErrorDocument 404 /page-unavailable/

<files ~ "\.tpl$">
order deny,allow
allow from none
deny from all
</files>

navjotjsingh

Re: functions.php on line 84

Keep the error showing on by changing

Code:

ini_set('display_errors', 'Off');

to

Code:

ini_set('display_errors', 'On');

in config.php

And pls try this for root .htaccess:

Code:

# AddType x-mapp-php5 .php
# AddHandler x-mapp-php5 .php

RewriteEngine on
Options +FollowSymlinks

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

RewriteBase /

ErrorDocument 404 /page-unavailable/
<files ~ "\.tpl$">
order deny,allow
allow from none
deny from all
</files>

And this for admin .htaccess file:

Code:

RewriteEngine on
Options +FollowSymlinks

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

RewriteBase /admin

ErrorDocument 404 /page-unavailable/