Problem Installing.

I have a problem installing, i have tried to re-upload the files. here is what it says

Fatal error: Call to a member function get_results() on a non-object in /www/************/htdocs/core/classes/DB.class.php on line 280

Would the fact that the web host is Lycos be making it go wrong, i have tried contacting them, but there is no email that you can talk to them with.

Cheers

muse4eva

Hey,

Which version? And what PHP version?

Hi,

Thanks for the quick reply.

The version i downloaded was the full version. And also, i use PHP4, but it also supports PHP5. Lycos say it is compatible with MySQL, but i dont know.

muse4eva

From the downloads page?

It can’t be compatible at the same time with PHP 4 and PHP 5. You should check in their help section on databases and how to enable PHP 5

Is this Angelfire? Can you send me a link to your hosting provider?

Yes, it was from the downloads page.

with PHP 4 and PHP5, you can change it from one to another, so does this mean that you need to have PHP5?

I wouldnt know if it is angelfire, but i can give you a link to my hosting provider.

http://www.tripod.lycos.co.uk/

Cheers

You need to have PHP 5 yes, it seems as though Tripod would support it. Switch it to PHP 5 though

Hi,

I have switched it over to PHP 5, but still getting the error, what could be causing this?

muse4eva

Could it be because the database was created incorrectly? If so, that is because im not that good at creating databases, so can someone please help me with creating one correctly?

muse4eva

Try recreating the database. For that, all you should need is to set a name, username, and password. The installer will do the rest.

Try also deleting all the files, and re-uploading from scratch

Where do i set the name, username and password? Sorry for bugging you.

Just bee looking at the files i uploaded, using the WebFTP, and clicking the temp, which is the installer i think, it came up with this.

How do i write the permissions?

muse4eva

So what you have to do is create a file called local.config.php in the core folder. Make sure it’s blank (no spaces or anything).

To make a folder writeable, I’m not sure how you would do it in WebFTP, but you have to set the permissions to 777 or 775 (depending on your host).

I would use WinSCP or Filezilla to access by FTP and upload files that way. If you search it, there’s a thread which explains exactly how to do it

Hi Nabeel,

Thanks for the quick reply, i have created the file local.config.php in the core folder and made the folder writable, but still getting the error when i try to run the installer. If you can, can you please take a look at it for me and fix the problem for me if i give you the login details to members.lycos.co.uk?

Cheers

please can someone help me  :cry:

Which error are you getting? Did you set the local.config.php file to writeable also?

The error that i am getting is the same one as i try to run the installer,

Fatal error: Call to a member function get_results() on a non-object in /www/************/htdocs/core/classes/DB.class.php on line 280

I have set the local.config.php file to writeable on all of sections that you can set it as, owner permissions, group permissions, public permissions.

What version are you trying?

Hi, I’m having a problem installing the Phpvms. I downloaded the file “phpvms.beta”, the host site "http://vvarig.webcindario.com/install/install.php" to send the manual. When I open the site it enters the part of installation. Compile all data and “Database Server” I do “localhost”. When I squeeze in “next step” appears this message “Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)”. What does that mean? What do I do to correct? I think this is the “MySQL”. Are, where to find the “MySQL”?

I live here in Brazil and speak Portuguese. This text was translated by Google into English, because I do not know write in English. If you have any errors in spelling forgive me.

Original text in Portuguese:

Oi, eu estou com um problema ao instalar o Phpvms.  Eu baixei o arquivo “phpvms.beta”, hospedei no site “http://vvarig.webcindario.com/install/install.php” como manda o manual. Quando eu abro o site ele entra na parte de instalação. Preencho todos os dados e em “Database Server” eu como coloco ” localhost”. Quando eu aperto em “next step” aparece esta mensagem “Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)”. O que significa isso? O que eu faço para corrigi? Acho que isto tem a ver com o “MySQL”. Estão, onde conseguir o “MySQL”?

I am using PHP 5 and i am trying the full version, do i need to try the beta?

I am currently uploading the beta version to the web host using filezilla. If this doesnt work, can someone do it for me?

Cheers