SimplePortal
Support => English Support => Topic started by: Walgermo on November 09, 2009, 07:52:21 AM
-
Hi
im getting alot of Undefined index after i updatet to 2.0 RC2, using SP 2.3.1.
Undefined index in recent picture from forum block
Undefined index: is_guest
Undefined index: session_id
Undefined index: session_var
Undefined index: right_to_left
Undefined index: html_headers
Undefined index: is_admin
Undefined index: language
Undefined index: forum_name
++
I get this everytime i refresh the page.
example
/index.php?action=dlattach;topic=193.0;attach=170;image
Undefined index: is_guest
httpd.www/Sources/Subs-Portal.php
==>257: $context['SPortal']['sides'][$side['id']]['collapsed'] = $context['user']['is_guest'] ? !empty($_COOKIE['sp_' . $side['name']]) : !empty($options['sp_' . $side['name']]);
someone got a clue?
Walgermo :)
-
Looks like the issue below:
http://simpleportal.net/index.php?issue=304.0
Below is a quick fix for that issue.
$sportal_version = '2.3.1';
$sportal_version = '2.3.1';
// If its just the dlattach action, we need to stop now!
if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'dlattach')
return;