1
fibri
The admin menu doesnt work (¿SmartSection+SmartObject?)
  • 2010/6/2 14:51

  • fibri

  • Just popping in

  • Posts: 14

  • Since: 2010/5/20


Hello everybody. Im in a critical situation.
I tried to install smartsection in my Xoops, but the sistem remind me with an error messagge that firstly I must install SmartObject.
When I proceeded to install this module (SmartObject) I just got a whitepage as answer , and now I cant access the admin area.
I activated the debug_mode through phpMyAdmin and this is the error report:
Notice: Undefined index: tag in file /modules/xlanguage/include/functions.php line 258

The code of this file is as follows:

function xlanguage_select_show($options null

    include_once 
XOOPS_ROOT_PATH."/modules/xlanguage/blocks/xlanguage_blocks.php";
    if(empty(
$options)){ 
        
$options[0] = "images";        // display style: image, text, select
        
$options[1] = " ";            // delimitor 
        
$options[2] = 5;             // items per line 
    

     
    
$block b_xlanguage_select_show($options); 
     
    
$content ""
    
$i 1
    if(
in_array($block["display"], array("images""text"))){ 
        foreach(
$block["languages"] as $name => $lang){ 
            
$content .= "$block["url"].$lang["name"]."" title="".$lang["desc"]."">";
            if(
$block["display"] == "images"){ 
                
$content .= "$lang["image"]."" alt="".$lang["desc"].""";
                if(
$block["selected"] != $lang["name"]){ 
                    
$content .= " style="MozOpacity.8opacity.8filter:Alpha(opacity=80);"";
                } 
                
$content .= "/>"
            }else{ 
                
$content .= $lang["desc"]; 
            } 
            
$content .= ""
            if( ( 
$i++ % $block["number"] ) == 0){ 
                
$content .= ""
            } 
        } 
    }else{ 


/** THIS IS THE LINE 258
        $content .= "THIS IS THE LINE 258*/ 
                

onChange="if(this.options[this.selectedIndex].value.length >0 )    { window.document.location=this.options[this.selectedIndex].value;}"
                
>"; 
        foreach(
$block["languages"] as $name => $lang){ 
            
$content .= "<option value="".$block["url"].$lang["name"].""";
            if(
$block["selected"] == $lang["name"]){ 
                
$content .= " selected "; 
            } 
            
$content .= "/>".$lang["desc"]."option>"; 
        } 
        
$content .= "select>"; 
    } 

    define("
XLANGUAGE_SWITCH_CODE", $content); 
    return true; 
}



Thanks for your help.

2
Burning
Re: The admin menu doesnt work (¿SmartSection+SmartObject?)
  • 2010/6/2 15:01

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

To manage articles, you should use a more recent module :
• Publisher (http://www.xuups.com/)
• News (http://www.xuups.com/)
• xNews (http://sourceforge.net/projects/xmodsfixnclean/files/)
• AMS (http://xoops.novasmarttechnology.com/)

What do you want to do with Smartsection exactly ?
Still learning CSS and... english

3
fibri
Re: The admin menu doesnt work (¿SmartSection+SmartObject?)
  • 2010/6/2 15:08

  • fibri

  • Just popping in

  • Posts: 14

  • Since: 2010/5/20


Hi, its not to manage articles, its to use the hack to use smartsection as a slidershow.

Whatever, thats not my porblem. My problem is that I cant enter the admin area, and I am the administrator of a very important webpage.

Thanks for your help aniway, im really in a critical situation.

4
fibri
Re: The admin menu doesnt work (¿SmartSection+SmartObject?)
  • 2010/6/2 16:00

  • fibri

  • Just popping in

  • Posts: 14

  • Since: 2010/5/20


I think I commit a mistake posting my message in this section. Please, ¿could you move it to the right one?

Login

Who's Online

187 user(s) are online (130 user(s) are browsing Support Forums)


Members: 0


Guests: 187


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits