1
timgno
TDMCreate v1.38 alpha 5
  • 2011/11/19 16:34

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


- Fixed bug in const files
- Fixes bug when editing tables,
- Adding the possibility of multieditors

Downloads

2
Pakaj
Re: TDMCreate v1.38 alpha 5
  • 2011/11/23 12:53

  • Pakaj

  • Friend of XOOPS

  • Posts: 34

  • Since: 2004/5/5 6


maybe I have found a bug

After generating a modul and installation in the admin area. When I tried to add new entry

Quote:
Warning: include_once(include/mimetypes.inc.php) [function.include-once]: failed to open stream: No such file or directory in file /modules/abUpravljanje/xoops_version.php
line 179
Warning: include_once() [function.include]: Failed opening 'include/mimetypes.inc.php' for inclusion (include_path='.;C:/php/pear') in file /modules/abUpravljanje/xoops_version.php line 179
Warning: include_once(include/mimetypes.inc.php) [function.include-once]: failed to open stream: No such file or directory in file /modules/abUpravljanje/xoops_version.php line 179
Warning: include_once() [function.include]: Failed opening 'include/mimetypes.inc.php' for inclusion (include_path='.;C:/php/pear') in file /modules/abUpravljanje/xoops_version.php line 179


where in line 179 in xoops_version file stands
Quote:
$modversion["config"][$i]["options"] = include_once XOOPS_ROOT_PATH."include/mimetypes.inc.php";


One of the field is for uploading a file.
Quote:

//Uploads : mimetypes tbpriloge_datoteka
$modversion["config"][$i]["name"] = "tbpriloge_datoteka_mimetypes";
$modversion["config"][$i]["title"] = "_MI_ABUPRAVLJANJE_MIMETYPES"; $modversion["config"][$i]["description"] = "";
$modversion["config"][$i]["formtype"] = "select_multi";
$modversion["config"][$i]["valuetype"] = "array";
$modversion["config"][$i]["default"] = array("image/gif", "image/jpeg", "image/png");
$modversion["config"][$i]["options"] = include_once XOOPS_ROOT_PATH."include/mimetypes.inc.php";



3
timgno
Re: TDMCreate v1.38 alpha 5
  • 2011/11/23 15:35

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


in the zip file, there should also be a file mimetypes.php

4
rgauci
Re: TDMCreate v1.38 alpha 5
  • 2012/1/1 19:39

  • rgauci

  • Not too shy to talk

  • Posts: 173

  • Since: 2007/8/31


After installing this module I get this error when I click on it in the admin.


Parse error: syntax error, unexpected T_SL in /home/donsphy5/public_html/modules/TDMCreate/const/const_admin_header.php on line 32


Any help please
Be Set FREE!

5
timgno
Re: TDMCreate v1.38 alpha 5
  • 2012/1/1 21:52

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


At this moment it's under construction a beta 2, which solves all the major bugs

6
rgauci
Re: TDMCreate v1.38 alpha 5
  • 2012/1/2 10:17

  • rgauci

  • Not too shy to talk

  • Posts: 173

  • Since: 2007/8/31


I have just installed the latest Beta version of this module and got this error:

Error: Handler does not exist
Module: TDMCreate
Name: TDMCreate_tables in file /include/functions.php line 88

I cannot access this module, is there something I am missing? Has anyone succeeded working with this module?

Using the latest xoops version, php etc etc
Be Set FREE!

7
Mamba
Re: TDMCreate v1.38 alpha 5
  • 2012/1/2 11:58

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


I've installed it locally on WAMP Server, and it worked just fine.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

8
goffy
Re: TDMCreate v1.38 alpha 5
  • 2012/1/3 8:47

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Hi timgno

TDMCreate 1.38 Alpha 5 (downloaded 03.01.2012 09:05 vienna time)
XOOPS 2.5.4
PHP Version 5.3.5

I tested once more and here are the results:

add a table:
if you select a image, it works, otherwise you get following errors:
Undefined index: tables_img in Datei /modules/TDMCreate/admin/tables.php Zeile 380
Data entry is not inserted - the object 'tdmcreate_tables' is not dirty in Datei /class/model/write.php Zeile 266

if you select "Create a new block for this table (blocks: random, latest, today)" = yes, it has no effect, it will be not saved


edit a table:
if you want to edit a table, then the input boxes of the last 3 fields are always empty, only the the inputboxes/option fields in sector "others" are correct

greetings
Goffy


9
timgno
Re: TDMCreate v1.38 alpha 5
  • 2012/1/6 11:30

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Quote:

goffy wrote:
...
edit a table:
if you want to edit a table, then the input boxes of the last 3 fields are always empty, only the the inputboxes/option fields in sector "others" are correct
...


This is a problem that dates back to the first version of the module, and that still was not able to solve.

I'm also working on this

10
goffy
Re: TDMCreate v1.38 alpha 5
  • 2012/1/6 17:49

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Hi timgno

If you look into the data in field "tables_champs" you see, that there are missing the fielddefinitions for submitter, online and date_created

Add
$tables_champs .= '|'.strtolower($_REQUEST['tables_name']).'_submitter:int:10: :NOT NULL:0:|'.strtolower($_REQUEST['tables_name']).'_date_created:int:10: :NOT NULL:0:|'.strtolower($_REQUEST['tables_name']).'_online:tinyint:1: :NOT NULL:0:';
in admin/tables.php before line 134, then it works

greetings
goffy

Login

Who's Online

151 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 151


more...

Donat-O-Meter

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

Latest GitHub Commits