Fork me on GitHub

Help required  Bottom

  • Our website was infected with a Trojan I have repaired the files but i now receiving the following error (see below) when browsing to the site, I guessing that one of the configure file has been overwritten, but as i haven't configure the site I only have a very basis knowledge and didn't how to proceed from here.

    Could I upgrade zikula or will this destroy all the site data?

    Unknown column 'pn_url' in 'field list'
    SELECT pn_id AS "id",pn_name AS "name",pn_type AS "type",pn_displayname AS "displayname",pn_url AS "URL",pn_description AS "description",pn_regid AS "regid",pn_directory AS "directory",pn_version AS "version",pn_official AS "official",pn_author AS "author",pn_contact AS "contact",pn_admin_capable AS "admin_capable",pn_user_capable AS "user_capable",pn_profile_capable AS "profile_capable",pn_message_capable AS "message_capable",pn_state AS "state",pn_credits AS "credits",pn_changelog AS "changelog",pn_help AS "help",pn_license AS "license",pn_securityschema AS "securityschema" FROM _zk__modules AS tbl

    kind regards

    James
  • Hard to say...
    I would try to figure out which version was installed, my guess is a PN version 7.6.x and try to upload the original files of that PN version, after you have backed up your database [just to be sure].
    Use psak to configure your config file.

    If your PN version was prior to PN 0.7.6.2, upgrade to that version and see from there. Investigate your third party modules too.

    - Igor
  • I think "_zk__modules" is the key. That suggests that it is a version of Zikula, not postnuke. And that's a constant I think, and it's showing the constant name rather than the constant value. Which means the value is not being set. Given that, I would start with the idea that whatever file is defining that constant is no longer PHP valid. Probably the injected trojan, or fixing the trojan, left a syntax error of some sort that needs to be fixed. The first thing I would do is "search in files" for "_zk_" and check all the resulting files for syntax errors.

This list is based on users active over the last 60 minutes.