Podczas instalacji scriptu: Photo Sharing Script
Wyskoczył mi błąd:
Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user ' evergreen7_gif'@'localhost' (using password: YES) in /home/evergreen7/domains/mojadomena.pl/public_html/libraries/adodb/drivers/adodb-mysql.inc.php on line 227
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'apache'@'localhost' (using password: NO) in /home/evergreen7/domains/mojadomena.pl/public_html/include/config.php on line 119
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/evergreen7/domains/mojadomena.pl/public_html/include/config.php on line 119
Fatal error: Call to a member function getrows() on a non-object in /home/evergreen7/domains/mojadomena.pl/public_html/index.php on line 21
Wie ktoś o co chodzi, i jak to naprawić. Prosze o pomoc...
Poniżej są instrukcje instalacji scriptu które raczej wykonałem poprawnie.
Kod
Installation Instructions
1. Open /include/config.php
Find:
/home/username/public_html
Replace with the path to your public web directory.
Find:
http://www.photosharingscript.net
Replace with your domain name where you are going to install the script.
Find:
localhost
Replace with your SQL host.
Find:
database_username
Replace with your database username.
Find:
database_password
Replace with your database password.
Find:
database_name
Replace with your database name.
2. Import scriptolution.sql into your newly created database for the script.
3. Upload all files in the public folder to your web server's public directory.
4. CHMOD 777 the following files and directories:
/mpics/
/mpics/thumbs/
/pics/
/temporary/
5. If you installed the script on a sub-directory, such as yourdomain.com/people, then open the .htaccess file and find:
RewriteBase /
Replace with:
RewriteBase /people/
Where people is the name of your directory.
6. Installation has now been completed. You may access the admin control panel via http://www.yourdomain.com/administrator/
1. Open /include/config.php
Find:
/home/username/public_html
Replace with the path to your public web directory.
Find:
http://www.photosharingscript.net
Replace with your domain name where you are going to install the script.
Find:
localhost
Replace with your SQL host.
Find:
database_username
Replace with your database username.
Find:
database_password
Replace with your database password.
Find:
database_name
Replace with your database name.
2. Import scriptolution.sql into your newly created database for the script.
3. Upload all files in the public folder to your web server's public directory.
4. CHMOD 777 the following files and directories:
/mpics/
/mpics/thumbs/
/pics/
/temporary/
5. If you installed the script on a sub-directory, such as yourdomain.com/people, then open the .htaccess file and find:
RewriteBase /
Replace with:
RewriteBase /people/
Where people is the name of your directory.
6. Installation has now been completed. You may access the admin control panel via http://www.yourdomain.com/administrator/