61
goffy
Re: TDMCreate 1.91 alpha 2 for Testing
  • 2015/5/10 13:26

  • goffy

  • Just can't stay away

  • Posts: 543

  • Since: 2010/12/27


hi timgno

clone from https://github.com/txmodxoops/TDMCreate-1.91/

1) installed 1.91 alpha 2 - ok

2) created new module - ok

3) create new table for this new module:
Fatal error: Class 'TDMCreateThemeForm' not found in C:\Homepages\Xampp\htdocs\xoops2571\htdocs\modules\tdmcreate\class\fields.php on line 115

added
include __DIR__ '/form/themeform.php';
include 
__DIR__ '/html/TDMCreateFormLabel.php';
include 
__DIR__ '/form/TDMCreateFormRadio.php';
to fields.php, now it works

4) in the parameters list some of the existing table appears more than one time (see http://xoops.wedega.com/uploads/images/testtdm3.jpg)

5) click on "building" then I get following error:
Fatal error: Class 'TDMCreateStructure' not found in C:\Homepages\Xampp\htdocs\xoops2571\htdocs\modules\tdmcreate\class\files\TDMCreateArchitecture.php on line 29

if I include TDMCreateStructure.php I get error:
Fatal error: Class 'AdminPages' not found in C:\Homepages\Xampp\htdocs\xoops2571\htdocs\modules\tdmcreate\class\files\TDMCreateArchitecture.php on line 249

as I do not know, in which files finally you want to make the inlcudes of the classes, I didn't push to github and I stopped testing.

please fix this bugs then I restart testing

kind regards
goffy

62
timgno
Re: TDMCreate 1.91 alpha 1 for Testing
  • 2015/5/17 9:57

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


To me is ok goffy

Test last release

63
goffy
Re: TDMCreate 1.91 alpha 1 for Testing
  • 2015/5/19 15:01

  • goffy

  • Just can't stay away

  • Posts: 543

  • Since: 2010/12/27


hi timgno

clone from https://github.com/txmodxoops/TDMCreate-1.91/releases/tag/alpha-2-2

1) uninstalled previous version

2) cleaned up cache

3) installed 1.91 alpha 2 2 - ok

4) created new module - ok

5) create new table for this new module:
Fatal error: Class 'TDMCreateThemeForm' not found in C:\Homepages\Xampp\htdocs\xoops2571\htdocs\modules\tdmcreate\class\fields.php on line 115


64
timgno
Re: TDMCreate 1.91 alpha 2 for Testing
  • 2015/5/19 18:05

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Quote:
goffy wrote:
...
Fatal error: Class 'TDMCreateThemeForm' not found in C:\Homepages\Xampp\htdocs\xoops2571\htdocs\modules\tdmcreate\class\fields.php on line 115


Is a problem that I have not found because it does with all modules.

We will have to change the code within classes of creation...

New release with addings

Files added

65
Mamba
Re: TDMCreate 1.91 alpha 2 for Testing
  • 2015/5/20 5:35

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I just looked at that after downloading your latest changes, and I have the same error as Goffy.

Also, I couldn't install it at first, because you've added:

INSERT INTO `tdmcreate_settings` (null, `set_name`,

instead:

INSERT INTO `tdmcreate_settings` (`set_id`, `set_name`,

As I suggested before, you really should add Codeception tests to it, so you can test the module after you make any changes. Otherwise, the issues will repeat again...

More errors:
1) When trying to build:
Quote:
Fatal error: Class 'TDMCreateStructure' not found in C:\wamp64\www\257tdmc191\modules\tdmcreate\class\files\TDMCreateArchitecture.php on line 29


2) The file /cache/classpaths.cache should NOT be uploaded with the source, as it is your individual file

3) I fix one, then another is popping up. I need to give up on testing, after I got this one:

Fatal error: Class 'TDMCreateFile' not found in C:wamp64www257tdmc191modulestdmcreateclassfilesadminAdminPages.php on line 28
Call Stack
#    Time    Memory    Function    Location
1    0.0004    292672    {main}( )    ...building.php:0
2    0.2501    7055192    TDMCreateArchitecture
->createFilesToBuilding( )    ...building.php:57
3    0.2586    7163864    
include('C:\wamp64\www\257tdmc191\modules\tdmcreate\class\files\admin\AdminPages.php' )    ...\TDMCreateArchitecture.php:218
None All Errors 
(2Deprecated (0Queries (26Blocks (0Extra (2Timers(5)
Errors
Unknown
Non-static method XoopsFile::getInstance() should not be called staticallyassuming $this from incompatible context in file /modules/tdmcreate/class/files/TDMCreateStructure.php line 62
Warning
copy(/modules/tdmcreate/assets/images/logos/tdmxoops_logo.gif): failed to open streamNo such file or directory in file /modules/tdmcreate/class/files/TDMCreateArchitecture.php line 146


Once again, think Codeception!
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

66
timgno
Re: TDMCreate 1.91 alpha 2 for Testing
  • 2015/5/22 13:37

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Solved! `set_id`, was an oversight because I added after the field

I'm rewriting much duplicated code into a single function.

Likely to be due to an error in some file, the line 146 is a comment, and other code could be due to other factors

I'm creating a function that cleans the cache before the creation.

67
goffy
Re: TDMCreate 1.91 alpha 1 for Testing
  • 2015/5/22 19:57

  • goffy

  • Just can't stay away

  • Posts: 543

  • Since: 2010/12/27



68
timgno
Re: TDMCreate 1.91 alpha 2 for Testing
  • 2015/5/23 19:00

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Pleace open issues on GitHub

The last release is alpha 2 4

69
timgno
Re: TDMCreate 1.91 alpha 2 for Testing
  • 2015/5/26 6:13

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


The release alpha-2.5 fixes several bugs

70
timgno
Re: TDMCreate 1.91 alpha 3 for Testing
  • 2015/6/1 11:36

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Released alpha 3 for testing

- Fixed display toggle in list
- Deleted duplicated code

Needed a fresh installation or, if you can, add table_index field

Login

Who's Online

316 user(s) are online (193 user(s) are browsing Support Forums)


Members: 0


Guests: 316


more...

Donat-O-Meter

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

Latest GitHub Commits