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:

le="color: #000000"><?php 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 .= "<a href="".$block["url"].$lang["name"]."" title="".$lang["desc"]."">"; if($block["display"] == "images"){ $content .= "<img src="".$lang["image"]."" alt="".$lang["desc"]."""; if($block["selected"] != $lang["name"]){ $content .= " style="MozOpacity: .8; opacity: .8; filter:Alpha(opacity=80);""; } $content .= "/>"; }else{ $content .= $lang["desc"]; } $content .= "</a>"; if( ( $i++ % $block["number"] ) == 0){ $content .= "<br />"; } } }else{ /** THIS IS THE LINE 258 $content .= "<select name="".$block["tag"]."" 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?