1
Nick_James
Where are the constants set?

Two errors on this page.

Warning: constant() [function.constant]: Couldn't find constant _MD_AM_WELCOMETYPE in file /modules/system/admin/preferences/main.php line 81

Warning: constant() [function.constant]: Couldn't find constant _MD_AM_PROFILE_ALLOWED_GROUPS in file /modules/system/admin/preferences/main.php line 81

OOPS Version - XOOPS 2.3.0 RC
PHP Version - 5.2.5
MySQL Version - 4.0.27-max-log
Server API Version - cgi-fcgi
OS Version - Linux

safe_mode - Off
register_globals - Off
magic_quotes_gpc - On
allow_url_fopen - On
fsockopen - On
allow_call_time_pass_reference - Off
post_max_size - 8M
max_input_time - 60
output_buffering -
max_execution_time - 30
memory_limit - 64M
file_uploads - On
upload_max_filesize - 8M
Loaded PHP extensions «

* zip
* libxml
* xsl
* xmlwriter
* dom
* xmlreader
* xml
* wddx
* tokenizer
* session
* pcre
* SimpleXML
* SPL
* PDO
* soap
* SQLite
* standard
* Reflection
* pspell
* pdo_sqlite
* pdo_mysql
* mysqli
* mysql
* mhash
* mcrypt
* mbstring
* json
* iconv
* hash
* gettext
* gd
* ftp
* filter
* exif
* dba
* date
* curl
* ctype
* calendar
* bcmath
* zlib
* openssl
* cgi-fcgi
Nicholas James
President - LaDads
www.ladads.info

2
Nick_James
Re: Where are the constants set?

Another 6 errors in Block Admin

Notice: Use of undefined constant _AM_CUSTOM - assumed '_AM_CUSTOM' in file /modules/system/admin/blocksadmin/blocksadmin.php line 48
Notice: Use of undefined constant _AM_TYPES - assumed '_AM_TYPES' in file /modules/system/admin/blocksadmin/blocksadmin.php line 60
Notice: Use of undefined constant _AM_GENERATOR - assumed '_AM_GENERATOR' in file /modules/system/admin/blocksadmin/blocksadmin.php line 66
Notice: Use of undefined constant _AM_TYPES - assumed '_AM_TYPES' in file /modules/system/admin/blocksadmin/blocksadmin.php line 72
Notice: Use of undefined constant _AM_TYPES - assumed '_AM_TYPES' in file /modules/system/admin/blocksadmin/blocksadmin.php line 88
Notice: Use of undefined constant _AM_TYPES - assumed '_AM_TYPES' in file /modules/system/admin/blocksadmin/blocksadmin.php line 99
Nicholas James
President - LaDads
www.ladads.info

3
LOKI2006
Re: Where are the constants set?
  • 2009/10/1 15:52

  • LOKI2006

  • Just popping in

  • Posts: 4

  • Since: 2006/6/8 2


Well...I have exactly the same errors since I upgraded to XOOPS 2.3.3b.

And it is really frustrating, as I can't see anymore my custom block (nor edit them) in the blocks admin menu, while they are displaying correctly on the site.

Quote:

System Overview «
XOOPS Version - XOOPS 2.3.3b
PHP Version - 5.2.5
MySQL Version - 5.0.81-community-log
Server API Version - apache
OS Version - Linux

safe_mode - Off
register_globals - Off
magic_quotes_gpc - On
allow_url_fopen - On
fsockopen - On
allow_call_time_pass_reference - On
post_max_size - 8M
max_input_time - 60
output_buffering -
max_execution_time - 60
memory_limit - 48M
file_uploads - On
upload_max_filesize - 16M

4
ghia
Re: Where are the constants set?
  • 2009/10/1 16:23

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


You are probably not using english as language.
Update also your language files (check on the international support site for your language) or add the missing definitions.

If you do have english, run the file check (see release notes).

5
LOKI2006
Re: Where are the constants set?
  • 2009/10/1 17:27

  • LOKI2006

  • Just popping in

  • Posts: 4

  • Since: 2006/6/8 2


You're right, I use French.

That must be the problem.

Thanks for your time.

Login

Who's Online

55 user(s) are online (28 user(s) are browsing Support Forums)


Members: 0


Guests: 55


more...

Donat-O-Meter

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

Latest GitHub Commits