11
mojtabajml
Re: Module TDMCreate 1.38 RC
  • 2012/4/13 8:40

  • mojtabajml

  • Just popping in

  • Posts: 67

  • Since: 2007/7/16


I have same problem to build module:


NoticeConstant _AM_TDMCREATE_MODULES_IMPORTANT already defined in file /modules/TDMCreate/language/english/admin.php line 67
Warning
copy(/modules/TDMCreate/images/uploads/modules/TDMLogo.png): failed to open streamNo such file or directory in file /modules/TDMCreate/class/constArchitecture.php line 128
Warning
Missing argument 7 for const_user_pages(), called in /modules/TDMCreate/admin/building.php on line 93 and defined in file /modules/TDMCreate/const/const_user_pages.php line 23
Warning
Missing argument 8 for const_user_pages(), called in /modules/TDMCreate/admin/building.php on line 93 and defined in file /modules/TDMCreate/const/const_user_pages.php line 23
Notice
Undefined variabletables_champs in file /modules/TDMCreate/const/const_user_pages.php line 42
Notice
Undefined variabletables_parametres in file /modules/TDMCreate/const/const_user_pages.php line 46
Notice
Undefined offset1 in file /modules/TDMCreate/const/const_user_pages.php line 65
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_user_pages.php line 82
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_user_pages.php line 111
Warning
fopen(/modules/TDMCreate/modules/bookshop/topic_id:int:11:unsigned:NOT NULL: : |topic_pid:int:5:unsigned:NOT NULL: : |topic_title:varchar:255: :NOT NULL: : |topic_desc:text: : :NULL:: |topic_submitter:int:10: :NOT NULL:0:|topic_date_created:int:10: :NOT NULL:0:|topic_online:tinyint:1: :NOT NULL:0:.php): failed to open streamFile name too long in file /modules/TDMCreate/include/functions_const.php line 500
Warning
Missing argument 7 for const_user_pages(), called in /modules/TDMCreate/admin/building.php on line 93 and defined in file /modules/TDMCreate/const/const_user_pages.php line 23
Warning
Missing argument 8 for const_user_pages(), called in /modules/TDMCreate/admin/building.php on line 93 and defined in file /modules/TDMCreate/const/const_user_pages.php line 23
Notice
Undefined variabletables_champs in file /modules/TDMCreate/const/const_user_pages.php line 42
Notice
Undefined variabletables_parametres in file /modules/TDMCreate/const/const_user_pages.php line 46
Notice
Undefined offset1 in file /modules/TDMCreate/const/const_user_pages.php line 65
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_user_pages.php line 82
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_user_pages.php line 111
Warning
fopen(/modules/TDMCreate/modules/bookshop/books_id:int:8: :NOT NULL: :primary|books_title:varchar:100: :NOT NULL: :index|books_description:text: : :NULL:null:fulltext|books_category:int:8: :NOT NULL: :index|books_image:url:80: :NULL:null: |books_nasher:varchar:100: :NULL:null: |books_virastar:varchar:100: :NULL:null: |books_nevisandeh:varchar:100: :NULL:null: |books_tarahe_jeld:varchar:100: :NULL:null: |books_publish_date:int:11: :NULL:null: |books_tiraj:int:10: :NULL:null: |books_chap_number:int:12: :NULL:null: |books_javayez:mediumtext: : :NULL: : |books_gheymat:float: : :NOT NULL: : |books_page_number:int:10: :NULL:null: |books_discount:int:2:unsigned:NULL:null: |books_post:int:10:unsigned:NULL:null: |books_tax:int:2:unsigned:NULL:null: |books_submitter:int:10: :NOT NULL:0:|books_date_created:int:10: :NOT NULL:0:|books_online:tinyint:1: :NOT NULL:0:.php): failed to open streamFile name too long in file /modules/TDMCreate/include/functions_const.php line 500
Warning
Missing argument 7 for const_include_coms(), called in /modules/TDMCreate/admin/building.php on line 103 and defined in file /modules/TDMCreate/const/const_include_coms.php line 22
Warning
Missing argument 7 for const_user_pages(), called in /modules/TDMCreate/admin/building.php on line 93 and defined in file /modules/TDMCreate/const/const_user_pages.php line 23
Warning
Missing argument 8 for const_user_pages(), called in /modules/TDMCreate/admin/building.php on line 93 and defined in file /modules/TDMCreate/const/const_user_pages.php line 23
Notice
Undefined variabletables_champs in file /modules/TDMCreate/const/const_user_pages.php line 42
Notice
Undefined variabletables_parametres in file /modules/TDMCreate/const/const_user_pages.php line 46
Notice
Undefined offset1 in file /modules/TDMCreate/const/const_user_pages.php line 65
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_user_pages.php line 82
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_user_pages.php line 111
Warning
fopen(/modules/TDMCreate/modules/bookshop/discount_id:int:8: :NOT NULL: :primary|discount_title:varchar:50: :NOT NULL: : |discount_percent:int:3: :NOT NULL: : |discount_category:int:10: :NOT NULL: : |discount_submitter:int:10: :NOT NULL:0:|discount_date_created:int:10: :NOT NULL:0:|discount_online:tinyint:1: :NOT NULL:0:.php): failed to open streamFile name too long in file /modules/TDMCreate/include/functions_const.php line 500

12
timgno
Re: Module TDMCreate 1.38 RC
  • 2012/4/13 8:50

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


It 's very strange!

I have test in xoops2.5.5rc and does not give me problems

Let me try again

13
timgno
Re: Module TDMCreate 1.38 RC
  • 2012/4/13 10:13

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Now should be good!

I confused some files of the other version and function parameters were unpacked

Try to download again

14
mojtabajml
Re: Module TDMCreate 1.38 RC
  • 2012/4/13 10:28

  • mojtabajml

  • Just popping in

  • Posts: 67

  • Since: 2007/7/16


thanks, I download again and create a test module and install it , all the admin side page display blank without any error!

15
timgno
Re: Module TDMCreate 1.38 RC
  • 2012/4/13 10:56

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Why don't use debug?

The error should go for strength

16
mojtabajml
Re: Module TDMCreate 1.38 RC
  • 2012/4/13 11:00

  • mojtabajml

  • Just popping in

  • Posts: 67

  • Since: 2007/7/16


debug mode is on, but the page is blank!
I edit php.ini and set display_error = on
the error is:
Parse error: syntax error, unexpected ')' in /var/www/cms/xoops/htdocs/modules/test/admin/index.php on line 54
and the error for this code :
$indexAdmin->addInfoBoxLine(_AM_TEST_TOPIC,_AM_TEST_THEREARE_TOPIC$count_topic, );    
    
$indexAdmin->addInfoBoxLine(_AM_TEST_TOPIC,_AM_TEST_THEREARE_TOPIC_ONLINE$topic_online, );
    
$indexAdmin->addInfoBoxLine(_AM_TEST_TOPIC,_AM_TEST_THEREARE_TOPIC_PENDING$topic_pending, );

      
$indexAdmin->addInfoBox(_AM_TEST_DISCOUNT);
    
$indexAdmin->addInfoBoxLine(_AM_TEST_DISCOUNT,_AM_TEST_THEREARE_DISCOUNT$count_discount, );    
    
$indexAdmin->addInfoBoxLine(_AM_TEST_DISCOUNT,_AM_TEST_THEREARE_DISCOUNT_ONLINE$discount_online, );
    
$indexAdmin->addInfoBoxLine(_AM_TEST_DISCOUNT,_AM_TEST_THEREARE_DISCOUNT_PENDING$discount_pending, );


I edit the codes and another error display:
Fatal error: Call to a member function getVar() on a non-object in /var/www/cms/xoops/htdocs/modules/test/include/config.php on line 41


17
Mamba
Re: Module TDMCreate 1.38 RC
  • 2012/4/13 12:22

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I guess, we are doing different tests. In my tests I am selecting pretty much all options and set them to "yes", and am adding a Topic, and a Table. And in my tests, I am still getting errors:

NoticeUndefined offset1 in file /modules/TDMCreate/include/functions_const.php line 42
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 42
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 42
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 42
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 45
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 45
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 48
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 48
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 48
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 48
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 51
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 54
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 54
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 57
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 60
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 63
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined variablechamps_param_required_field in file /modules/TDMCreate/const/const_class.php line 60
Notice
Undefined variablechamps_param_main_field in file /modules/TDMCreate/const/const_class.php line 111
Notice
Undefined offset1 in file /modules/TDMCreate/const/const_admin_pages.php line 65
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_admin_pages.php line 156
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_admin_pages.php line 184
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_admin_pages.php line 200
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_admin_pages.php line 228
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_admin_pages.php line 261
Notice
Undefined offset1 in file /modules/TDMCreate/const/const_user_pages.php line 62
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_user_pages.php line 79
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 103
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 103
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 103
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 106
Notice
Undefined offset2 in file /modules/TDMCreate/include/functions_const.php line 106
Notice
Undefined offset3 in file /modules/TDMCreate/include/functions_const.php line 132
Notice
Undefined offset4 in file /modules/TDMCreate/include/functions_const.php line 132
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 42
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 42
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 42
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 42
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 45
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 45
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 48
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 48
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 48
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 48
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 51
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 54
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 54
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 57
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 60
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 63
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66


Maybe on the weekend I'll try to help you with debugging, if I find some extra time.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

18
timgno
Re: Module TDMCreate 1.38 RC
  • 2012/4/13 13:22

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


You must forgive me I did a crap unusual!

I took the file from the previous version and I was confused all the work!

The one I posted in svn had indeed mistakes!

Just ready to send without error

Promised!

The my point is that they are already projected to work with version 1.39 which removes all that code parameters of the functions

19
Mamba
Re: Module TDMCreate 1.38 RC
  • 2012/4/13 14:25

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Quote:
I took the file from the previous version and I was confused all the work!

That's why I am always recommending to take the Zip file (or the files from SVN) and try to install them on a "fresh" XOOPS installation. This way you can guarantee that you don't miss any files that might be on your development system, but are not on a standard XOOPS installation.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

20
Mamba
Re: Module TDMCreate 1.38 RC
  • 2012/4/13 15:43

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I've downloaded the version you've posted at 10:30 AM EST (9316 and 9317), but I am still getting errors. I guess, we're still doing a different test

As I said - I am trying to select all available options.

NoticeUndefined offset1 in file /modules/TDMCreate/include/functions_const.php line 42
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 42
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 42
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 42
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 45
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 45
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 48
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 48
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 48
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 48
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 51
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 54
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 54
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 57
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 60
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 63
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined variablechamps_param_required_field in file /modules/TDMCreate/const/const_class.php line 60
Notice
Undefined variablechamps_param_main_field in file /modules/TDMCreate/const/const_class.php line 111
Notice
Undefined offset1 in file /modules/TDMCreate/const/const_admin_pages.php line 65
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_admin_pages.php line 155
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_admin_pages.php line 183
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_admin_pages.php line 199
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_admin_pages.php line 227
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_admin_pages.php line 260
Notice
Undefined offset1 in file /modules/TDMCreate/const/const_user_pages.php line 62
Notice
Undefined variablechamps_param_type in file /modules/TDMCreate/const/const_user_pages.php line 79
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 103
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 103
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 103
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 106
Notice
Undefined offset2 in file /modules/TDMCreate/include/functions_const.php line 106
Notice
Undefined offset3 in file /modules/TDMCreate/include/functions_const.php line 132
Notice
Undefined offset4 in file /modules/TDMCreate/include/functions_const.php line 132
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 42
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 42
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 42
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 42
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 45
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 45
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 48
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 48
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 48
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 48
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 51
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 54
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 54
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 57
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 60
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 63
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Notice
Undefined offset1 in file /modules/TDMCreate/include/functions_const.php line 66
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

197 user(s) are online (132 user(s) are browsing Support Forums)


Members: 0


Guests: 197


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