My client has this error displaying on their website:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: Function eregi_replace() is deprecated
Error type/ Nr.: - 8192
File: /home/username/public_html/assets/plugins/directresize/directResize.php
Line: 459
Line 459 source: $currentImgPath = eregi_replace("^.+src=(’|\")","",$imgs[0][$n]);
Parser timing
MySQL: 0.0045 s (0 Requests)
PHP: 0.0640 s
Total: 0.0684 s
Could someone please help me solve it for them? Thanks in advance.
If this is the wrong forum, please move this thread to the right forum.
Has anyone successfully modified directResize to fix this problem? I've not been able to make this work.
which version of directresize are you looking to fix?
Brian
I'm referring to directresize for evo. I've got someone working on this for me, but if you have anything that would speed things along, that would be great.
Here is an updated directResize.php This worked perfect for issues with php 5.3
Need to be logged in to see attachment.
[ed. note: himmdesign last edited this post 13 years, 2 months ago.]