1
gronice
Robust handling of xoops_version.php (block details)
  • 2005/8/28 11:47

  • gronice

  • Just popping in

  • Posts: 30

  • Since: 2003/7/31


Hi,

i've got some problems with my wsProject module since the new XOOPS 2.2.x is out.
If i try to install the modul, or update it, every time installation of blocks fails.

I've traced down the problem to the sql insert/update statment in the XOOPS core.

In the modul's xoops_version.php should be set a

$modversion['blocks'][1]['description']

for each block, but it was an

$modvertion['blocks'][1]['description']

instead (simple typo).

It was realy hard to find, what goes wrong, because in versions before everything works well.
And i've assumed it is cause by any new features/changes to XOOPS 2.2


The probleme is, ['description'] was not set and your quote string function returns an empty string. This results in an SQL Error cause we got an sql query with "'blabla', , 4343".

Don't know what your project guidlines according error handling are, but think it would be nice to give an exact error if any necessary property of any $blocks[i] is not set or if it is an unimportent one, set it to a default value or try to build the sql query like "'blabla', '', 4343".

It's just an opinion :)

Kind Regards
G'Ron



2
gronice
Re: WSProject Error
  • 2005/4/15 22:51

  • gronice

  • Just popping in

  • Posts: 30

  • Since: 2003/7/31


Hi,

I've updated wsProject.

Now it should be php5 compatible, but it's not tested well.

The update is only in the cvs-tree available.

http://cvs.sourceforge.net/viewcvs.py/webslave/wsProject/


index.php
and
class/core.php

had been modified.

Kind Regards
G'Ron



3
gronice
Re: WebSlave Project - a project managment tool
  • 2004/11/30 23:11

  • gronice

  • Just popping in

  • Posts: 30

  • Since: 2003/7/31


Hi JasonMR,

what XOOPS version are you using?

wsProject isn't under development at the moment, but i'll try to maintain serios problems and will fixem if possible.

kind regards
G'Ron



4
gronice
Re: WebSlave Project - a project managment tool
  • 2004/2/28 9:11

  • gronice

  • Just popping in

  • Posts: 30

  • Since: 2003/7/31


Thx, is fixed.



5
gronice
Re: WebSlave Project - a project managment tool
  • 2004/2/28 0:37

  • gronice

  • Just popping in

  • Posts: 30

  • Since: 2003/7/31


You'll gave to give your administrator group the admin rights in the modul administration.

Now you'll find everything at "new project" I think.

But your problem I can't find, don't know what kind of bug it may be.





--
New version:
wsProject 0.7.12
- fixed French translation
- added Swedish translation


Download v.0.7.12

Kind Regards



6
gronice
Re: WebSlave Project - a project managment tool
  • 2004/2/24 7:11

  • gronice

  • Just popping in

  • Posts: 30

  • Since: 2003/7/31


Hi,

please try to deactivate the small block.
After you've added a project you could try to reactive the block and configure it.

Kind Regards
G'Ron



7
gronice
Re: WebSlave Project - a project managment tool
  • 2003/11/4 19:34

  • gronice

  • Just popping in

  • Posts: 30

  • Since: 2003/7/31


Another bug fixed:

- some added slashes hadn't been stripped

Download v.0.7.11

Have fun
G'Ron



8
gronice
Re: WebSlave Project - a project managment tool
  • 2003/10/18 10:59

  • gronice

  • Just popping in

  • Posts: 30

  • Since: 2003/7/31


It's a typo in kernel/notification.php should be fixed in XOOPS 2.0.4.
I've reported this a while ago and in the changelog is a notice about a typo.

The Downloads of 0.7.9 should work. Please try http://belnet.dl.sourceforge.net/sourceforge/webslave/wsproject-beta-v.0.7.9.src.zip



9
gronice
Re: WebSlave Project - a project managment tool
  • 2003/10/13 20:26

  • gronice

  • Just popping in

  • Posts: 30

  • Since: 2003/7/31


Here is the author

hope this will fix your problems:

Download v.0.7.9

Only fixed language problems with english and frensh.

Have fun
G'Ron



10
gronice
Re: WebSlave Project - a project managment tool
  • 2003/9/14 14:10

  • gronice

  • Just popping in

  • Posts: 30

  • Since: 2003/7/31


Next Version!

Download v.0.7.8

Change-Log:

v.0.7.8
- fixed a typo in sql -file
- fixed problem with ticks
- added a mytasks block

It's not tested very well, but I hope it run's properly.
If not, please report bugs. Thx.

Have fun
G'Ron




TopTop
(1) 2 3 »



Login

Who's Online

80 user(s) are online (56 user(s) are browsing Support Forums)


Members: 0


Guests: 80


more...

Donat-O-Meter

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

Latest GitHub Commits