Jump to content

Uploading a New Site...


Recommended Posts

I am having a really hard time uploading and getting my website up and running... I bought this scrip from a site and now they are of no help and I know nothing about php.  Here are my instructions and i dont under stand step 4-6...

 

///////////////////////////////////////////////////////////////////////////////////////////////////////////

// +---------------------------------------------------------------------------------------------------+//

// + 3

// + Last Modified: 16/9/2009

// +---------------------------------------------------------------------------------------------------+//

///////////////////////////////////////////////////////////////////////////////////////////////////////////

 

 

Please note: For significant performance improvements, install Zend Optimizer on your server.

 

Here are the instructions

 

1) Move the code (if it is not already) to a folder in your webroot folder.  For example /var/www/swoopo2010.

If you are moving this code to a live server, copy the code into the public_html or httpdocs directory.

 

2) This step is only needed if the site isn't accessable from a domain name directly. e.g. www.swoopoclone.com

You need to set up a subdomain to access the site, so that the website URL is swoopoclone.localhost

For more information visit: http://blog.ubrio.us/gnome/how-to-subdomain-localhost-ubuntu-osx

 

3) The next step is to create your database and dump the SQL.  In the code under /app/config/sql import the

file telebid.sql into your database.

 

4) Now you need to create your config file.  In app/config you will see a file called config.default.php. 

Rename this to config.php and fill out the details so that they match yours.  Turn demoMode to true for now.

 

5) Now you need to chmod 777 the following directories:

/app/tmp

/app/tmp/cache

/app/tmp/cache/models

/app/tmp/cache/persistant

/app/tmp/cache/views

/app/webroot/img/category_images

/app/webroot/img/category_images/max

/app/webroot/img/category_images/thumbs

/app/webroot/img/auctions_images

/app/webroot/img/auctions_images/max

/app/webroot/img/auctions_images/thumbs

/app/webroot/img/files

 

6) Now you need to create the following Cron Jobs.  We use CURL to access the URLs, but contact me if you server doesn't have CURL installed.

These cron jobs should be set to run every minute, of every hour, or every day.  Make sure the cronTime in the config is set to 1 also.

The 4 commands you need to set up are:

curl -s -o /dev/null http://www.domain.com/daemons/bidbutler

curl -s -o /dev/null http://www.domain.com/daemons/extend

curl -s -o /dev/null http://www.domain.com/daemons/autobid

curl -s -o /dev/null http://www.domain.com/daemons/close

 

If you are running the site on your local host, you can test these things by simply running the daemons directly on another browser

and set the cronTime to say 10 to keep it running.

 

7) You should now be able to access the website.  Register on the website, and your account will be set to admin. 

Once you have done this, turn turn the demoMode back to false.

 

ANY help would be appreciated!

Link to comment
Share on other sites

I could always help install it, but I'd need access to your ftp.

 

As to your cron jobs, it's a feature a lot of hosts offer. You can set up "Cron Jobs" meaning, you can tell it to access certain files at certain times (and a lot more things which you won't need at this point) ... it's usually somewhere in your hosts cpanel. If you simply can't find it, best contact your host or check their wiki on setting up crons.

 

Again, if you need some help, message me because I probably won't see your reply here.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.