Steps to Install:
Step 1
- Unzip Software file you downloaded photostock.zip.
- Login your Web Hosting Control panel and create Database and give user permission Or Ask your hosting provider to send you SQL Database Details if you do not have access to MySQL Database creation panel.
- Make sure you remember your Database details i.e. Database name, User and password you created.
-Create Tables - Dump photostock.sql File (in database folder) to create tables:Open photostock.sql file in text editor or in Notepad. Access phpMyAdmin from hosting control panel and choose database and then Click SQL.On the next page Copy and paste photostock.sql file in theRun SQL query BOX and click Go.You will then see successful confirmation message.
Step 2
-Open config.php file in either Notepad or in HTML Editor and on the top of the file find the following.
define ('DB_HOST',"localhost");
define ('DB_USER',"user_photo");//user_photo");
define ('DB_PASSWORD',"photo");//photo");
define ('DB_NAME',"user_photostock");
define ('TEMPLATE_DIR',"templates/default");
define ('YOURDOMAIN', "http://www.yoursite.com");//http://www.domain.com");
-change information (database name, user and password, domain info) and save it.
Step 3
Now login your hosting account via FTP as shown below:Please Note I am using WS_FTP.You can use any FTP software to install script.
- Upload all files to your hosting via Ftp in appropriate directory.I recommend root home directory.Make sure you upload all images in binary mode and all other files in ASC II Mode.
-Chmod: to upload folder 777 permission.Some servers do not accept 777 permissions if that is the case then you can do 755 instead.To give permission just point cursor on upload folder and right click.From pop window check all boxes as shown below and click ok.For 755 just leave uncheck two write boxes for GROUP AND OTHERS.
Step 4
– Run Script in your browser
- It depends where you uploaded files either in root directory or in sub-folder.You must type your own domain URL in browser where you uploaded script.
http://www.yourdomain.com/
or if uploaded in sub-folder (Please type your own URL IN BROWSER)
http://www.yourdomain.com/yourscripfolder/
Everything should be ok.
Admin Login:
- To manage and Setup Software login your Admin area: It depends where you uploaded files either in root directory or in sub-folder.
http://www.yourdomain.com/yourscripfolder/admin/
Default Admin login is:
Admin: admin
Password: admin