Fork me on GitHub

including problem  Bottom

  • Hi all,
    i include a PHP file in DateUtil.class.php that contains some functions. you can find it here:
    http://www.4shared.com/file/77217984/b382707e/jalcore.html?dirPwdVerified=e77c4c44

    after including it, i can use that functions in zikula, but when i try to regenerate module list or update a form, zikula print this error:

    We're sorry. The page you requested, /~shams/zikula/index.php?module=Pages&type=admin&func=update, doesn't exist on "My site".
    Error! Could not load Pages module (at function: update).

    please help me.
  • What is your actual question?

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the Zikula Steering Committee
    Read The Zikulan's Blog "If you want people to RTFM, make a better FM!"
  • i want to use jalcore.php functions in DateUtil. how can i call that file without any problem in zikula?
  • Well, it's weird that your jalcore.php file could produce a "module not available" error.
    Are you inserting

    Code

    Loader::includeOnce('path/to/your/jalcore.php');
    on the first lines of DateUtil or?

    --
    - Mateo T. -
    Mis principios... son mis fines
  • thank you nestormateo. i try that but this type of calling file show me same error too :(
    for temporary resolve problem i copy my functions in DateUtil.class.php and this works without any same problem. but i think this isn't true type of adding additional functions to zikula. have you another idea for doing this?

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