Does it possible to write a hack code inside the database?.

Events happening in the community are now at Drupal community events on www.drupal.org.
techzarinfo's picture

HI,

Does it possible to write a hack code inside the database?.

We have a problem like after we upload the site in live its online for fews mins or hours only, after that showing as a error like there is a frequent truncate of system table which leads to “Fatal error: Call to undefined function user_access() in /home/ziya/public_html/includes/theme.inc on line1779”.

Does there is any possibility to write a hack code to delete the database automatically?.

Please help me, am on trouble.

Comments

Hi techz

MichaelCole's picture

Hi techz,

From what you wrote, I'm guessing this is a code version mismatch. For example:

  • Development code is version 6.15 and Production code is D6.21. The function user_access was depricated or new.
  • You are missing code. E.g. You forgot to copy a module over from Dev to Production when you moved the database.

Searching api.drupal.org for "user_access()" would help to isolate the code you are looking for.

Good luck!

Mike

Hi Mike, Thank you very much

techzarinfo's picture

Hi Mike,

Thank you very much Mike:-) let me try and inform you here.

Quickstart Drupal Development Environment

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: