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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.
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.
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
My entire install was 4.2.4 but will do includes again. Everything else works fine (that I use)
Must have not liked the weather when I updated. It's back. Thanks.
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