Hi everyone!
I tried to use the example (node_example.module V5.x) to create a custom node type. I also used an *.install file to create my tables.
The install file works fine - I actually cannot test if the uninstall works, more on that later.
after installing my custom module (right after clicking the Save Config on 'Administe'>'Site building'>"Modules') the following output is shown:
* Installing phasma
* Phasma module installed tables successfully.
* The content fields table content_type_embedded has been created.
* The configuration options have been saved.
ArraySo somehow the list of modules does not appear ?!? (it is replaced by Array)
I can see that 'my' tables has been created and also a custom content type (table: content_type_embedded). When I try to add a node of the 'embedded' type. the following message is shown:
Illegal offset type in isset or empty in /var/www/html/content/modules/node/node.module on line 244.
When I return to the modules page all I get is:
Array (After Modules are plugins for Drupal.............on the administration by module page.)
Can anybody tell me what I am doing wrong?
Thnx
Comments
Ummm...
you will probably need to list your module for anyone to figure out what you are doing wrong.
--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal
See below for the files
BUMP
Anyone?
cant repeat your error
I know this is late, but im also in the process of learning/writing my first big custom node module, so decided to try yours out.
Upon enabling the module you posted from a clean drupal install I got no problems. Two thoughts:
* Perhaps another module is conflicting or
* Your seeing the problem as a result of a previous uninstall that didn't get rid of everything created by the module and subsequent reinstall?
I tried uninstall and reinstall various times and never got your error.