[ERROR#1] Module connection — Documentation — DIAFAN.CMS

Module connection

In order for the module to be edited, you must create a page in the administrative part that refers to it.

For this purpose there is a special interface, available at: http://site.com/admin/admin/.

Attention!

It is important to know that for connection to the page need semantic URL coincided with the module name. If you connect one of the non-core parts of the module (the file modules/module_name/admin/module_name.admin.part.php), it should be semantic URL module_name/part.

Example:

modules/clauses/admin/clauses.admin.category.php → http://site.com/admin/clauses/category/

New pages are recorded in the table {admin}.

Methods with the same name as their class will not be constructors in a future version of PHP; Markdown_Parser has a deprecated constructor
#1 include_once() called at [/var/www/diafan/data/www/diafancms.com/modules/docs/docs.model.php:499]
#2 Docs_model->prepare_text( In order for the module to be edited, you must create a page in the administrative part that refers to it. For this purpose there is a special interface, available at: *http://site.com/admin/admin/*...) called at [/var/www/diafan/data/www/diafancms.com/modules/docs/docs.model.php:94]
#3 Docs_model->show() called at [/var/www/diafan/data/www/diafancms.com/modules/docs/docs.php:29]
#4 Docs->init() called at [/var/www/diafan/data/www/diafancms.com/includes/init.php:474]
#5 Init->module() called at [/var/www/diafan/data/www/diafancms.com/includes/init.php:119]
#6 Init->start() called at [/var/www/diafan/data/www/diafancms.com/index.php:62]
/var/www/diafan/data/www/diafancms.com/modules/docs/docs.model.php:499