Menu

4.2.4 Research Assistant

Help
macalter
2011-01-17
2013-05-30
  • macalter

    macalter - 2011-01-17

    Just went to use RA, create new task. Got the below error. So, to make 200% I did update, I updated the module again from 4.2.4 files I had (Basic + modules, as I don't use all)

    ERROR 8: Use of undefined constant PGV_REGEX_MODNAME - assumed 'PGV_REGEX_MODNAME'
    0 Error occurred on line 39 of file module.php

    ERROR 8: Use of undefined constant PGV_REGEX_MODNAME - assumed 'PGV_REGEX_MODNAME'
    0 Error occurred on line 40 of file module.php

    ERROR 8: Use of undefined constant PGV_REGEX_MODNAME - assumed 'PGV_REGEX_MODNAME'
    0 Error occurred on line 41 of file module.php

    ERROR 8: Use of undefined constant PGV_REGEX_MODNAME - assumed 'PGV_REGEX_MODNAME'
    0 Error occurred on line 42 of file module.php

    ERROR 8: Use of undefined constant PGV_REGEX_MODNAME - assumed 'PGV_REGEX_MODNAME'
    0 Error occurred on line 43 of file module.php

    ERROR 2: Cannot modify header information - headers already sent by (output started at /home/mydomain/tree/includes/functions/functions.php:500)

    Warning: Cannot modify header information - headers already sent by (output started at /home/mydomain.com/tree/includes/functions/functions.php:500) i
    /home/mydomain.com/tree/module.php on line 73

     
  • Gerry Kroll

    Gerry Kroll - 2011-01-17

    That constant is defined on line 62 of  "includes/session.php".

    If it's undefined on your system, you don't have version 4.2.4 installed correctly.  I suggest that you download a fresh copy of whatever PGV package you want, and then install that over what you currently have - keep the usual file and directories, of course.

     
  • macalter

    macalter - 2011-01-19

    I emptied the /modules folder. Refilled with the modules from 4.2.4. Cleared cache, history, cookies from browser. Logged in and tried again. Same error.

     
  • John Finlay

    John Finlay - 2011-01-19

    As canajun2eh said, you need to get the latest session.php file.  This is located in the includes directory not in the modules directory.  This problem would occur if you are using modules from version 4.2.4 and session.php from 4.2.3.

    -John

     
  • macalter

    macalter - 2011-01-19

    My entire install was 4.2.4 but will do includes again. Everything else works fine (that I use)

     
  • macalter

    macalter - 2011-01-19

    Must have not liked the weather when I updated. It's back. Thanks.

     
  • Stephen Arnold

    Stephen Arnold - 2011-01-19

    Mac
    error says undefined constant PGV_REGEX_MODNAME
    DEF is housed on LN 62 of session.php, not anywhere in /modules. It is used by module.php, but defined elsewhere.
    You must have an incorrect or corrupted version of session.php. You can try to replace it, but I would suggest you do precisely what Gerry suggested and simply replace all the files (except the usual).
    -Stephen

     

Log in to post a comment.