Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MX Google maps throws a "failed to open dir" php error

I have MX Google Maps installed on an ExpressionEngine website.

When editing a field ( any field ) I'm greeted by this error:

A PHP Error was encountered

Severity: Warning

Message: opendir(/opt/www/old_site/themes/third_party/mx_google_map/maps-icons/): failed to open dir: No such file or directory

Filename: mx_google_map/ft.mx_google_map.php

Line Number: 212

MX google maps tries to use the theme folder path specified in an old site. I've used the correct theme folder path in my general configuration and global template preferences, but MX google maps seems to stick to the old path.

Do I have to change it somewhere else, what am I doing wrong ?

like image 450
janvl Avatar asked Jul 29 '26 02:07

janvl


1 Answers

I think I've had this problem before, and I'm pretty sure Max Lazar saves the path in the database for some reason. Do a search for www/old_site/ on your DB and see if you get any results.

Cheers,

Rob

like image 54
Rob Hodges Avatar answered Jul 31 '26 08:07

Rob Hodges



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!