IsUp Posted August 23, 2011 Report Posted August 23, 2011 Hello again, We are trying to setup phpVMS on our new website. Our phpVMS will work at http://vms.corendonva.com/ But the thing is i am getting an error like: Warning: opendir(/var/www/vhosts/ndonva.com/subdomains/vms/httpdocs//core/modules) [function.opendir]: failed to open dir: Ive noticted that it says /var/www/vhosts/ndonva.com/s but my domain is corendonva.com So i did some search and problem caused by "core/codon.config.php" line 46 it says define('SITE_ROOT', str_replace('core', '', dirname(__FILE__))); so it's replaceing "core" word and it's causing the not loading modules. when i change it to: define('SITE_ROOT', dirname(__FILE__)); then path is changing to: /var/www/vhosts/corendonva.com/subdomains/vms/httpdocs/core/core/modules So it causes another problem because core/core/modules is not a valid path. Please help me on this case. Thank you. Quote
IsUp Posted August 23, 2011 Author Report Posted August 23, 2011 Okay my temporary solution is setting path staticly in the file: define('SITE_ROOT', "/var/www/vhosts/corendonva.com/subdomains/vms/httpdocs/"); Thanks. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.