Guest Halil Posted September 24, 2010 Report Share Posted September 24, 2010 Hi there guys, I just tried to install phpvms to my website but an error like this occured: Fatal error: Class 'DB' not found in core\common\SettingsData.class.php on line 28 I have installed and used phpvms in my local wamp server before and I didn't have any problems. I'm not using a free host. What is the reason of this error, I've really tried everything I can think of but couldn't solve it. Any kind of help is appreciated Quote Link to comment Share on other sites More sharing options...
Guest CHK Posted September 25, 2010 Report Share Posted September 25, 2010 Hi there guys, I just tried to install phpvms to my website but an error like this occured: I have installed and used phpvms in my local wamp server before and I didn't have any problems. I'm not using a free host. What is the reason of this error, I've really tried everything I can think of but couldn't solve it. Any kind of help is appreciated I have exactly the same error message once I gave write permissions to the local.config.php file on the server. When I installed it on my local machine to test it first, it worked fine. Chees, Quote Link to comment Share on other sites More sharing options...
Guest Halil Posted September 25, 2010 Report Share Posted September 25, 2010 I have exactly the same error message once I gave write permissions to the local.config.php file on the server. When I installed it on my local machine to test it first, it worked fine. Chees, Yup, mine also happened after I created the empty local.config.php file. Well have you been able to solve it? Could you please give me some help. Quote Link to comment Share on other sites More sharing options...
Guest CHK Posted September 25, 2010 Report Share Posted September 25, 2010 The installer could not create the file even though I gave all the subdirectories and the config file write permissions. I copied the local.config.php that I created on my local virtual machine (for testing purposes) to the webserver and changed all the database information in the first few lines. Here is the content of my config file with just the database info removed. You must fill in your own info. The installer will still stop at the right page so that you can change it. You must replace the '...' with your own info in the lines starting with 'define' Snipped By Nabeel I still get this error: Warning: file_put_contents(C:\inetpub\vhosts\mydomain\subdomains\acars\httpdocs\core\cache/phpvms_site_settings.cache) [function.file-put-contents]: failed to open stream: Permission denied in C:\inetpub\vhosts\mydomain\subdomains\acars\httpdocs\core\classes\CodonCache.class.php on line 210 Quote Link to comment Share on other sites More sharing options...
Guest Halil Posted September 26, 2010 Report Share Posted September 26, 2010 Thank you for your help. I will try this and let's see if I'll get an error or not. EDIT: Yup, I get the same error. It must be a problem with the host's read/write permissions. I'll try to solve it and I'll let you know if I can. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted September 27, 2010 Administrators Report Share Posted September 27, 2010 Looks like your cache folder is not writable - it needs to be. Quote Link to comment Share on other sites More sharing options...
Guest Halil Posted September 28, 2010 Report Share Posted September 28, 2010 Looks like your cache folder is not writable - it needs to be. yup it was a permission problem. I changed my Windows server to Linux server and now it works like magic Thank you Quote Link to comment Share on other sites More sharing options...
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.