Diamond

  • Jr. Member
  • Posts: 82
Webhost
« on April 3rd, 2016, 01:59 PM »
User Name: Diamond
Sub-domain: http://www.cf.vcmp.co.uk
Email Address: [email protected]
What are you planning to do with this Webhost?: I would like to host my server sqlite webstats
Forum Software(Optional):
Extra Information(Optional):
Re: Webhost
« Reply #1, on April 9th, 2016, 02:38 PM »
*BUMP*

I am still alive :P

Drake

  • Moderator
  • Posts: 287
Re: Webhost
« Reply #2, on April 20th, 2016, 01:43 AM »Last edited on April 20th, 2016, 02:59 AM
Accepted.

:edit: Halted.

.

  • VC:MP Beta Tester
  • .
  • Posts: 1,804
Re: Webhost
« Reply #3, on April 20th, 2016, 02:02 AM »
Quote from Diamond on April 3rd, 2016, 01:59 PM
What are you planning to do with this Webhost?: I would like to host my server sqlite webstats
You cannot connect to SQLite database from two applications simultaneously. One of them will fail at some point if the database is locked by the other application. Therefore, quite useless.
.

Drake

  • Moderator
  • Posts: 287
Re: Webhost
« Reply #4, on April 20th, 2016, 02:57 AM »
Quote from . on April 20th, 2016, 02:02 AM
Quote from Diamond on April 3rd, 2016, 01:59 PM
What are you planning to do with this Webhost?: I would like to host my server sqlite webstats
You cannot connect to SQLite database from two applications simultaneously. One of them will fail at some point if the database is locked by the other application. Therefore, quite useless.
And I thought you were talking about MySQL.
As @. said, this isn't possible.

KAKAN

  • Wiki Contributor
  • Posts: 3,340
Re: Webhost
« Reply #5, on April 20th, 2016, 04:49 AM »
Quote from . on April 20th, 2016, 02:02 AM
Quote from Diamond on April 3rd, 2016, 01:59 PM
What are you planning to do with this Webhost?: I would like to host my server sqlite webstats
You cannot connect to SQLite database from two applications simultaneously. One of them will fail at some point if the database is locked by the other application. Therefore, quite useless.
I have tried it and it seems to work without problems.
oh no

.

  • VC:MP Beta Tester
  • .
  • Posts: 1,804
Re: Webhost
« Reply #6, on April 20th, 2016, 05:30 AM »
Quote from KAKAN on April 20th, 2016, 04:49 AM
I have tried it and it seems to work without problems.
You just haven't encountered the situation where two simultaneous queries are executed on the same database.
.

Thijn

  • VC:MP Beta Tester
  • Posts: 1,687

Diamond

  • Jr. Member
  • Posts: 82
Re: Webhost
« Reply #8, on April 23rd, 2016, 10:03 AM »Last edited on April 23rd, 2016, 10:06 AM
Quote from Thijn on April 20th, 2016, 05:04 PM
Quote from . on April 20th, 2016, 05:30 AM
Quote from KAKAN on April 20th, 2016, 04:49 AM
I have tried it and it seems to work without problems.
You just haven't encountered the situation where two simultaneous queries are executed on the same database.
You can make webstats without any problems, but only if you're only doing select queries.
http://www.sqlite.org/faq.html#q5
Yes, I just want to select queries.

Drake

  • Moderator
  • Posts: 287
Re: Webhost
« Reply #9, on April 23rd, 2016, 11:21 AM »
So, will you be using the SQLite database from the server that I host for you?

If so, I will be creating a folder inside your server files and you can put your files there and it will be up on http://cf.vcmp.co.uk. Confirm it.

KAKAN

  • Wiki Contributor
  • Posts: 3,340
Re: Webhost
« Reply #10, on April 23rd, 2016, 12:12 PM »
Quote from Drake on April 23rd, 2016, 11:21 AM
So, will you be using the SQLite database from the server that I host for you?

If so, I will be creating a folder inside your server files and you can put your files there and it will be up on http://cf.vcmp.co.uk. Confirm it.
You can access the database from different locations too.
For ex:
There are 2 disks
C and D
In C, the PHP files are there
In D, the server files are there
So, if a PHP file wants to access the server's database, then, the connection( path ) line should be like this:
D:\server\database.db
or simply, a symlink :D
oh no

Drake

  • Moderator
  • Posts: 287
Re: Webhost
« Reply #11, on April 23rd, 2016, 12:31 PM »
Quote from KAKAN on April 23rd, 2016, 12:12 PM
Quote from Drake on April 23rd, 2016, 11:21 AM
So, will you be using the SQLite database from the server that I host for you?

If so, I will be creating a folder inside your server files and you can put your files there and it will be up on http://cf.vcmp.co.uk. Confirm it.
You can access the database from different locations too.
For ex:
There are 2 disks
C and D
In C, the PHP files are there
In D, the server files are there
So, if a PHP file wants to access the server's database, then, the connection( path ) line should be like this:
D:\server\database.db
or simply, a symlink :D
And I didn't know that? I just don't want to create another FTP Account and give the same to a user who already has the access to one of the FTP Account and there are more reasons too that it won't work in my VPS because you don't know how it is set up.

Diamond

  • Jr. Member
  • Posts: 82
Re: Webhost
« Reply #12, on April 24th, 2016, 04:17 AM »
I dont want it anymore.

I left CF clan for which i was doing so.

Thanks.

Closed and Locked.