witam o to instrukcja instalcji scriptu guru freelancer instalowalem pare scriptow php a tego nie moge prosze mi powiedziec co mam zrobic zeby ruszyl instalator o to instrukcja:
1. Extract archive
2. Copy all the files from public_html to document root on server (usually public_html)
3. Chmod templates_c, admin/templates_c, upload and subfolders of this folders to 777
4. From cpanel, create database and user for mysql. Import from mysql_database the workman_main.sql into your database
5. Edit includes/config.php
case "yourwebsite.com":
case "www.yourwebsite.com":
$config['DB_Type'] = 'mysql';
$config['DB_Host'] = 'localhost';
$config['DB_Name'] = 'database name';
$config['DB_User'] = 'databaase username';
$config['DB_Passwd'] = 'database password';
break;
default:
$config['DB_Type'] = 'mysql';
$config['DB_Host'] = 'localhost';
$config['DB_Name'] = 'database name';
$config['DB_User'] = 'databaase username';
$config['DB_Passwd'] = 'database password';
break;
$config['Website']="http://www.mapfreelance.com";
$config['Google_Api_Key']="ABQIAAAA7cAzs1OfS6G22u1wo258kxSaRmIXYHE1eZRG6FscWOnrgMJXvxSwVGHOOYhXjIehbxYTGn1UoRvHvg";
$config['Twitter_Link']="http://www.twitter.com/twitteraccount";
$config['Facebook_Link']="http://www.facebook.com/facebookaccount";
6. Check if .htaccess is overwritten, if not overwrite with the file from public_html
7. Edit tweet.php
$sqlhost="your sql hostname";
$sqluser="mysql usernam";
$sqlpass="mysql password";
$sqldb="mysql database";
$website="your website ex. http://www.mywebsite.tld";
$twitteruser="twitter username";
$twitterpass="twitter password";
8. Hosting cpanel add the following to cron where Your Home Directory is the path on server, ex /home/mywebsite in cpanel
you can find this value in the left at Stats second row.
0,30 * * * * php Your Home Directory/public_html/cronjobs/send_mail_30_mins.php
* * * * * php Your Home Directory/public_html/cronjobs/deactivate_user.php
* * * * * php Your Home Directory/public_html/cronjobs/membership.php
* * * * * php Your Home Directory/public_html/cronjobs/send_all_project.php
* * * * * php Your Home Directory/public_html/cronjobs/send_area_wise_project.php
* * * * * php Your Home Directory/public_html/cronjobs/send_new_projects.php
first one is executed every 30 minutes, rest of them every minute.
9. Chmod 777 public_html\2010sp.xml and public_html\recent.js
10. Edit twitter.php and change with your username and password.
11. Links and important files
- admin http://www.yoursite.com/admin default username and password: admin admin
- default layout - templates/default_layout.tpl
- default header - templates/default_header.tpl
- configuration file - includes/common.php
- mysql database - table website_config
- if you need anything bulk replace, there is a replace.php file in root, just read and edit
dolaczam plik config.php
baze danych msql mam zrobiona
dziekuje za odpowiedz
jak zainstalowac script php
jak zainstalowac script php
- Załączniki
-
- configphp.rar
- (629 Bajtów) Pobrany 326 razy
Re: jak zainstalowac script php
Może napisz czego nie rozumiesz, bo przecież wszystko jest ładnie wyjaśnione co masz zrobić. Skoro instalowałeś nie jeden skrypt to ten nie powinien przynieść Ci żadnych problemów .
Re: jak zainstalowac script php
tego nie rozumiem co musze tutaj zrobic
8. Hosting cpanel add the following to cron where Your Home Directory is the path on server, ex /home/mywebsite in cpanel
you can find this value in the left at Stats second row.
0,30 * * * * php Your Home Directory/public_html/cronjobs/send_mail_30_mins.php
* * * * * php Your Home Directory/public_html/cronjobs/deactivate_user.php
* * * * * php Your Home Directory/public_html/cronjobs/membership.php
* * * * * php Your Home Directory/public_html/cronjobs/send_all_project.php
* * * * * php Your Home Directory/public_html/cronjobs/send_area_wise_project.php
* * * * * php Your Home Directory/public_html/cronjobs/send_new_projects.php
first one is executed every 30 minutes, rest of them every minute.
oraz czy wszedzie w pliku config.php tam gdzie pisze dbuser musze wpisywac nazwe bazy msql
8. Hosting cpanel add the following to cron where Your Home Directory is the path on server, ex /home/mywebsite in cpanel
you can find this value in the left at Stats second row.
0,30 * * * * php Your Home Directory/public_html/cronjobs/send_mail_30_mins.php
* * * * * php Your Home Directory/public_html/cronjobs/deactivate_user.php
* * * * * php Your Home Directory/public_html/cronjobs/membership.php
* * * * * php Your Home Directory/public_html/cronjobs/send_all_project.php
* * * * * php Your Home Directory/public_html/cronjobs/send_area_wise_project.php
* * * * * php Your Home Directory/public_html/cronjobs/send_new_projects.php
first one is executed every 30 minutes, rest of them every minute.
oraz czy wszedzie w pliku config.php tam gdzie pisze dbuser musze wpisywac nazwe bazy msql
Re: jak zainstalowac script php
ten sript musi miec serwer Mod_rewrite function nie wiem co to znaczy ....
Ostatnio zmieniony 21 maja 2012, 13:19 przez Aviator, łącznie zmieniany 1 raz.
Powód: Nie pisz post pod postem używaj edycji.
Powód: Nie pisz post pod postem używaj edycji.
Re: jak zainstalowac script php
nie, tam gdzie jest dbuser nie wpisujesz nazwy bazy danych tylko użytkownika bazy danych.oraz czy wszedzie w pliku config.php tam gdzie pisze dbuser musze wpisywac nazwe bazy msql
Jeżeli hosting posiada tą funkcje to ok, a jeżeli nie, to nic z tym nie zrobisz.ten sript musi miec serwer Mod_rewrite function nie wiem co to znaczy ....
Re: jak zainstalowac script php
to jest strona zleceniafreelancer.webatu.com chyba wszystko jest ok ale strona nie chce sie zaladowac nie wiem dlaczego jakis blad w pliku common.php co jest nie tak ...prosze o jakas porade
- Załączniki
-
- common.php.zip
- (2.91 KiB) Pobrany 328 razy