1
wcrwcr
X_movie v1.7 - loosing blocks configs
  • 2007/6/9 5:47

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi all

I?m using the X_movie v1.7 - Custom v2.5.6 from voicha sytes on a XOOPS 20132 install running php 4.xx and MySQL - 5.0.30.

I?ve noticed that after every module update all my block configs are gone. I need to set up all the configs and save again to get the block back to what It supposed to be.

Anyone with the same problem?

Any good starting point to fix that behavior?

Thanks

2
wcrwcr
Re: X_movie v1.7 - loosing blocks configs
  • 2007/6/9 16:58

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


hi

just a bump

3
wcrwcr
Re: X_movie v1.7 - loosing blocks configs
  • 2007/6/10 15:07

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Anyone????

4
wcrwcr
Re: X_movie v1.7 - loosing blocks configs
  • 2007/6/11 19:37

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Come on guys

Help on making one more nice multimedia XOOPS module.

Any enlightment????

5
rplima2004
Re: X_movie v1.7 - loosing blocks configs
  • 2007/6/11 20:00

  • rplima2004

  • Just popping in

  • Posts: 70

  • Since: 2004/10/8


Hi wilson,

Its simple to correct this.

Open the xoops_version.php of the module in a text editor and include the code below on the end of the file, just before the ?>

// On Update (Preserva as configurações dos blocos ao atualizar o módulo)
if( ! empty( $_POST['fct'] ) && ! empty( $_POST['op'] ) && $_POST['fct'] == 'modulesadmin' && $_POST['op'] == 'update_ok' && $_POST['dirname'] == $modversion['dirname'] ) {
    include 
dirname__FILE__ ) . "/includes/updateblock.inc.php" ;
}


After this, download, unzip and paste this file on the includes folder of the module and voialá. lol

Rodrigo

6
wcrwcr
Re: X_movie v1.7 - loosing blocks configs
  • 2007/6/11 20:19

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi Rodrigo

Thank You very much for your time

I?ll try the fix ASAP

However I can?t open thehttp://www.brinfo.com.br/uploads/updateblock.inc.php file.

Receiving that error:

"O arquivo updateblock.inc.php n?o existe. Pode ter sido removido renomeado ou excluído após ter sido recebido."

BTW : the file should not be named as "onupdate.inc.php" instead of "updateblock.inc.php" ?

Thanks for your time

7
rplima2004
Re: X_movie v1.7 - loosing blocks configs
  • 2007/6/11 20:34

  • rplima2004

  • Just popping in

  • Posts: 70

  • Since: 2004/10/8


thanks to reply the error.

I alredy edit the older post and now its correct.

[]s

8
wcrwcr
Re: X_movie v1.7 - loosing blocks configs
  • 2007/6/11 21:25

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Ihaaaaaa

It works like a charm

Since the module?s folder is "include" and not "includes", just a small fix:

// On Update (Preserva as configura??es dos blocos ao atualizar o módulo)
if( ! empty( $_POST['fct'] ) && ! empty( $_POST['op'] ) && $_POST['fct'] == 'modulesadmin' && $_POST['op'] == 'update_ok' && $_POST['dirname'] == $modversion['dirname'] ) {
    include 
dirname__FILE__ ) . "/include/updateblock.inc.php" ;
}


Thank you very much rplimaaaaaaaa

Login

Who's Online

230 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 230


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