Jump to content

[solved] An Installation Problem


Recommended Posts

Posted

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

Posted

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,

Posted

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.

Posted

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

Posted

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.

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...