![Very Happy :D](./../images/smilies/icon_biggrin.gif)
Na forum pisze pierwszy raz ponieważ zawsze próbowałem dojść sam do jakiegoś rozwiązania, ale tym razem nie starczyło mi sił.
ściągnąłem w/w skrypt jednak po instalacji pojawia sie biała strona lub przekierowanie na " podana strona(...)"
ogólnie modyfikiacja zajęła mi 5 minut bo dużo tego nie ma, jednak kilka rzeczy było dla mnie nowych i nie mogę znależć rozwiązania. Pozwole sobie wkleić cały redme.txt bo być może coś przeoczyłem na czym można się łatwo przejechać.
Wszystkie podpunkty zaznaczone na czerwono są niezrozumiałe:
Install:
1) Extract the zip file containing the software.
2) Create a new MySQL database for ClipShare and import the dump file /SQL/database.sql using PHPMyAdmin. This will create and populate all DB tables.
3) Open /include/config.php using any text editor and edit the following variables:
$config['site_name'] = "YourSiteName";(Your web site s name. Will appear in RSS feeds.)
$config['phppath'] = '/usr/local/bin/php';(This is the full path to PHP binary. No ending slash.)
$config['BASE_DIR'] = '/home/yoursite/public_html/mp3street';(This is the full path to the directory where the script is installed. No ending slash.)
$config['BASE_URL'] = 'http://www.yoursite.com/mp3street'; (This is the URL where the script is installed. No ending slash.)
$config['tmpimgpath'] = '/home/yoursite/public_html/mp3street/tmp'; (This is the full path to the directory where the /tmp folder is located. No ending slash.)
$config['tmpimgpath2'] = '/home/yoursite/public_html/mp3street/tmp'; (This is the full path to the directory where the /tmp folder is located. No ending slash.)
$config['guest_limite'] = 65535; (Guest users (unregistered) daily limit (duration in seconds))
$config['photowidth'] = "150"; (User profile photo (avatar) width (pixels). Original uploaded images are redimensioned)
4) Open /include/dbconfig.php using any text editor and edit the database variables
(host, username, password and name of the database previously created and
populated)
5) Open /js/myjavascriptfx.js using any text editor and edit the following variables:
var imgurl = 'http://www.yoursite.com/mp3street/images'; No ending slash.
var baseurl = 'http://www.yoursite.com/mp3street/'; Don t forget the ending slash.
6) Open /cgi-bin/configs/uu_default_config.pm using any text editor and edit the
following variables:
temp_dir => '/home/youruser/public_html/tmp/',
This is the full path to your MP3Street installation /tmp directory
upload_dir => '/home/youruser/public_html/audio/',
This is the full path to your MP3Street installation /video directory
redirect_url => 'http://www.yourwebsite.com/upload.php',
Your website URL + /upload.php
path_to_upload => 'http://yourwebsite.com/mp3street/audio/',
Your website URL + /audio/
7) Upload all files (except /cgi-bin folder) in the root directory or a subdirectory on
your server.
![Cool 8)](./../images/smilies/icon_cool.gif)
your domain/subdomain root directory)
9) CHMOD the following files and directories to 777:
/images/editorimage
/templates (and all files and folders inside)
/tmp
/chimg
/flvideo
/thumb
/video
/templates_c
/photo
10) CHMOD all files and directories from /cgi-bin to 755
III. Configuration Instructions
1) Access the Administration Area:
http://www.yoursite.com/mp3street/siteadmin (Default user: admin and password: admin)
2) Open the Settings Panel and edit important miscellaneous variables. Don t forget to
change your admin password.
3) Create Styles. Create Subscription Packages (if it s a paid service). Add
Advertising. Edit the Static Pages (About, Privacy, etc.)
4) You can now access your website at:
http://www.yoursite.com/mp3street
Zaznaczę jeszcze tylko, że w skrypcie nie ma katalogów, a skrypt ściągałem z różnych żródeł,:
-video
-flvvideo
Będę próbował dalej to rozgryżć, ale nie ukrywam, że miłoby było otrzymać pomoc.
Z góry dziękuję wszystkim!
![Very Happy :D](./../images/smilies/icon_biggrin.gif)
![Very Happy :D](./../images/smilies/icon_biggrin.gif)
![Very Happy :D](./../images/smilies/icon_biggrin.gif)
![Very Happy :D](./../images/smilies/icon_biggrin.gif)