Page 1 of 1

Error in modifications log/cache files (REGEX)

Posted: Sat Aug 20, 2016 12:31 am
by klyn05
Hello. I have posted a similar post in "Extensions", but now I am wondering if this is even related to my Extension.

I am receiving an error code in my Modifications log on OC 2.2. It is causing many things to work improperly, and I need it fixed before I can move forward. I had to take down weeks worth of work on a site due to this. :( I did a fresh install only to have the same issue.
I saw someone else post that they had a similar error. I spent all day troubleshooting yesterday and I'm at a loss.

I am receiving the following error message in the modifications log. It is also generating a lot of cache files in system/storage/cache.

Code: Select all

2016-08-19 16:22:36 - MOD: Modification Default
FILE: system/engine/action.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 34
FILE: system/engine/loader.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 41
LINE: 92
LINE: 104
LINE: 142
FILE: system/library/config.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 23
FILE: system/library/language.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 35
LINE: 41
LINE: 47
FILE: system/library/template/basic.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 18
----------------------------------------------------------------
Any help is greatly, greatly, greatly appreciated...

Re: Error in modifications log/cache files (REGEX)

Posted: Sat Aug 20, 2016 5:55 am
by klyn05
I continue to troubleshoot. I have now installed a fresh OC 2.0 to see if that made a difference.
I am still getting this error when I refresh the modification log (it was not there at first, and as soon as I installed OC and refreshed the log, it was there):

Code: Select all

2016-08-19 21:50:11 - MOD: Modification Default
FILE: system/engine/action.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 58
FILE: system/engine/loader.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 20
LINE: 37
LINE: 54
LINE: 65
FILE: system/library/config.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 23
FILE: system/library/language.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 21
LINE: 27
I have no idea why this is happening in every instance and version of OC I install, before I have even added anything at all.

I am going to continue setting up the site and see what errors I experience along the way, but I am sure this is going to cause problems. I have tried many, many, many fixes that are not working. It seems to point to modification.xml, but any coding I replaced just caused different errors in the log.

Re: Error in modifications log/cache files (REGEX)

Posted: Sat Aug 20, 2016 7:18 am
by IP_CAM
it is happening, because this is NO error log, you presented, this is just the regular OcMod LOG!
Or better, it does NOT show any errors, it does just display, what ACTION has been logged already.

Ernie