11
mferreira
Re: Multimenu not displaying error
  • 2006/11/17 18:33

  • mferreira

  • Just popping in

  • Posts: 57

  • Since: 2006/1/19


If you want to be in any nstant msngr with me, pm me!
Sorry for my bad english... :)
I love to learn, feel free to tell me when I misspell something.
Using Xoops 2.0.16, FC4, PHP 5.0.4-10.5, Apache 2.0.54-10.4, mysql-4.1.20-1.FC4.1.



12
mferreira
Re: Multimenu not displaying error
  • 2006/11/17 18:16

  • mferreira

  • Just popping in

  • Posts: 57

  • Since: 2006/1/19


Ok, Iwill PM you
Sorry for my bad english... :)
I love to learn, feel free to tell me when I misspell something.
Using Xoops 2.0.16, FC4, PHP 5.0.4-10.5, Apache 2.0.54-10.4, mysql-4.1.20-1.FC4.1.



13
mferreira
Re: Multimenu not displaying error
  • 2006/11/16 23:58

  • mferreira

  • Just popping in

  • Posts: 57

  • Since: 2006/1/19


I unninstalled it completely,
removed de modules/multimenu,
downloaded the module files again,
installed the module,
at this point i was tempted to use my old multimenu db but resisted it.
i created a new menu
entered to blocks admin page and got:

Warning: multimenu_edit() [function.multimenu-edit]: open_basedir restriction in effect. File(/edit.php) is not within the allowed path(s): (/var/www/vhosts/portalmaranatha.com/httpdocs:/tmp) in file /modules/multiMenu/blocks/multimenu.php line 25
Warning: multimenu_edit(edit.php) [function.multimenu-edit]: failed to open stream: Operation not permitted in file /modules/multiMenu/blocks/multimenu.php line 25
Warning: multimenu_edit() [function.multimenu-edit]: open_basedir restriction in effect. File(/edit.php) is not within the allowed path(s): (/var/www/vhosts/portalmaranatha.com/httpdocs:/tmp) in file /modules/multiMenu/blocks/multimenu.php line 25
Warning: multimenu_edit(edit.php) [function.multimenu-edit]: failed to open stream: Operation not permitted in file /modules/multiMenu/blocks/multimenu.php line 25
Warning: multimenu_edit() [function.include]: Failed opening 'edit.php' for inclusion (include_path='.:') in file /modules/multiMenu/blocks/multimenu.php line 25

Please somebody help me!!!
Sorry for my bad english... :)
I love to learn, feel free to tell me when I misspell something.
Using Xoops 2.0.16, FC4, PHP 5.0.4-10.5, Apache 2.0.54-10.4, mysql-4.1.20-1.FC4.1.



14
mferreira
Re: Multimenu not displaying error
  • 2006/11/16 19:06

  • mferreira

  • Just popping in

  • Posts: 57

  • Since: 2006/1/19


I made the changes in

/modules/multiMenu/blocks/multimenu.php

and now that file says the following:


<?php
function multimenu_show($options) {
        global 
$xoopsDB$xoopsUser$xoopsModule;
        
$myts =& MyTextSanitizer::getInstance();
        
$block = array();

include 
XOOPS_ROOT_PATH.'/modules/multiMenu/blocks/block.php';

        return 
$block;
}

function 
multimenu_edit($options) {

include(
"edit.php");

// Menu concerné
        
$form.='<tr><td colspan="2">';
        
$form.= '<input type="hidden" name="options[]" value="'.$options[15].'">';
        
$form.= '<p align="center">';
        
$form.= '<a href="'.XOOPS_URL.'/modules/multiMenu/admin/index.php?op=help&Menu=&Help=04" target="_blank">';
        
$form.= _MB_MULTIMENU_HELP.'</a></p>';
        
$form.= '</td></tr>';

        
$form.= '
                </tbody>
                </tr>
                </table>'
;

return 
$form;
}


?>


And the multimenu wont show up... With DEBUG on:

Notice: Undefined offset: 2 in file /modules/multiMenu/blocks/block.php line 40
Notice: Undefined offset: 8 in file /modules/multiMenu/blocks/block.php line 41
Notice: Undefined offset: 9 in file /modules/multiMenu/blocks/block.php line 42
Notice: Undefined offset: 10 in file /modules/multiMenu/blocks/block.php line 43
Notice: Undefined offset: 11 in file /modules/multiMenu/blocks/block.php line 44
Notice: Undefined offset: 12 in file /modules/multiMenu/blocks/block.php line 45
Notice: Undefined offset: 15 in file /modules/multiMenu/blocks/block.php line 46
Notice: Undefined offset: 1 in file /modules/multiMenu/blocks/block.php line 48
Notice: Undefined offset: 1 in file /modules/multiMenu/blocks/block.php line 48
Notice: Undefined offset: 15 in file /modules/multiMenu/blocks/block.php line 63
Notice: Undefined offset: 13 in file /modules/multiMenu/blocks/block.php line 67
Notice: Undefined offset: 15 in file /modules/multiMenu/blocks/block.php line 76
Notice: Undefined offset: 3 in file /modules/multiMenu/blocks/block.php line 78


I give a try to the MySQL tables advice...
Sorry for my bad english... :)
I love to learn, feel free to tell me when I misspell something.
Using Xoops 2.0.16, FC4, PHP 5.0.4-10.5, Apache 2.0.54-10.4, mysql-4.1.20-1.FC4.1.



15
mferreira
Multimenu not displaying error
  • 2006/11/14 23:15

  • mferreira

  • Just popping in

  • Posts: 57

  • Since: 2006/1/19


Hi1

I've just moved my site to my web hosting and almost everything is working fine. Multimenu is not showing the only menu in my site, if I turn debug On, it gives me:

Warning: multimenu_show() [function.multimenu-show]: open_basedir restriction in effect. File(/block.php) is not within the allowed path(s): (/var/www/vhosts/portalmaranatha.com/httpdocs:/tmp) in file /modules/multiMenu/blocks/multimenu.php line 18
Warning: multimenu_show(block.php) [function.multimenu-show]: failed to open stream: Operation not permitted in file /modules/multiMenu/blocks/multimenu.php line 18
Warning: multimenu_show() [function.multimenu-show]: open_basedir restriction in effect. File(/block.php) is not within the allowed path(s): (/var/www/vhosts/portalmaranatha.com/httpdocs:/tmp) in file /modules/multiMenu/blocks/multimenu.php line 18
Warning: multimenu_show(block.php) [function.multimenu-show]: failed to open stream: Operation not permitted in file /modules/multiMenu/blocks/multimenu.php line 18
Warning: multimenu_show() [function.include]: Failed opening 'block.php' for inclusion (include_path='.:') in file /modules/multiMenu/blocks/multimenu.php line 18
Warning: main() [function.main]: open_basedir restriction in effect. File(/functions.php) is not within the allowed path(s): (/var/www/vhosts/portalmaranatha.com/httpdocs:/tmp) in file /modules/smartsection/include/common.php line 49
Warning: main(functions.php) [function.main]: failed to open stream: Operation not permitted in file /modules/smartsection/include/common.php line 49
Warning: main() [function.include]: Failed opening 'functions.php' for inclusion (include_path='.:') in file /modules/smartsection/include/common.php line 49

But I cant figure out what's wrong, can somebody help me?
(Maybe there is a similar issue in smartsection)

Thanks in advance.
Sorry for my bad english... :)
I love to learn, feel free to tell me when I misspell something.
Using Xoops 2.0.16, FC4, PHP 5.0.4-10.5, Apache 2.0.54-10.4, mysql-4.1.20-1.FC4.1.



16
mferreira
split the smartsection index.
  • 2006/10/31 16:29

  • mferreira

  • Just popping in

  • Posts: 57

  • Since: 2006/1/19


Hi.

I would like to split the smartsection index into two pages. It contains a list of all the categories and a list of the last articles in the module.

I want those two lists to be in separate pages, is it possible to do it?

Thanks.
Sorry for my bad english... :)
I love to learn, feel free to tell me when I misspell something.
Using Xoops 2.0.16, FC4, PHP 5.0.4-10.5, Apache 2.0.54-10.4, mysql-4.1.20-1.FC4.1.



17
mferreira
Articles management module with some special needs
  • 2006/10/10 16:21

  • mferreira

  • Just popping in

  • Posts: 57

  • Since: 2006/1/19


Hi!.

I need an articles module like the news one but i need it to have some special features:

Some kind of Index where users can view all the articles published sort by categories and by date published.

Ability to show the daily article (or the last published) alone in the home page.

Is there a module that fits all those requierements? I dont know if maybe the news module has them but ive been looking for them and i cant find them. I found only the history index...


Thanks in advice!
Sorry for my bad english... :)
I love to learn, feel free to tell me when I misspell something.
Using Xoops 2.0.16, FC4, PHP 5.0.4-10.5, Apache 2.0.54-10.4, mysql-4.1.20-1.FC4.1.



18
mferreira
Re: Templates tutorial
  • 2006/10/10 15:38

  • mferreira

  • Just popping in

  • Posts: 57

  • Since: 2006/1/19


Anybody?
Sorry for my bad english... :)
I love to learn, feel free to tell me when I misspell something.
Using Xoops 2.0.16, FC4, PHP 5.0.4-10.5, Apache 2.0.54-10.4, mysql-4.1.20-1.FC4.1.



19
mferreira
Re: I want a header in news module.
  • 2006/10/8 1:42

  • mferreira

  • Just popping in

  • Posts: 57

  • Since: 2006/1/19


Wow..!! And think that i had beed looking for it for a couple of hours.

:blush: It's a faq. Im sorry, i didnt see it... I only used the site search and none of the entries im my search returned those links... Or maybe i missed them.

Well, thanks a lot again.
Sorry for my bad english... :)
I love to learn, feel free to tell me when I misspell something.
Using Xoops 2.0.16, FC4, PHP 5.0.4-10.5, Apache 2.0.54-10.4, mysql-4.1.20-1.FC4.1.



20
mferreira
Re: I want a header in news module.
  • 2006/10/7 21:20

  • mferreira

  • Just popping in

  • Posts: 57

  • Since: 2006/1/19


Thanks!

I tried to understand that module but i didnt succeed...

Well, but i think that its not what i want. I want to be able to include in the top of each module index some kind of "title" like "News" "Forum", etc. (and only on some modules)

I was thinking on doing something like:

<{if $module.name == "news"}>
<
bNews of mysite.com" </b>
<{elseif 
$module.name == "forum"}>
<b> Support Forums" 
</b>
<{/if}>


Ant paste it in my theme.html somewhere over the <{$xoops_contents}>
So it is displayed over the module as if it were a "title" o "header".

Well, I hope that i have explained myself. If there was a smarty variable that i could use to put it in that "if, else if", that contained the module name (the database one or the folder one) it would be wondelful.

BTW, is that the best way to achieve that "title" part?

Thanks!
Sorry for my bad english... :)
I love to learn, feel free to tell me when I misspell something.
Using Xoops 2.0.16, FC4, PHP 5.0.4-10.5, Apache 2.0.54-10.4, mysql-4.1.20-1.FC4.1.




TopTop
« 1 (2) 3 4 5 6 »



Login

Who's Online

228 user(s) are online (133 user(s) are browsing Support Forums)


Members: 0


Guests: 228


more...

Donat-O-Meter

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

Latest GitHub Commits