Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: Photo Sharing Script: Warning: mysql_pconnect()
Forum PHP.pl > Forum > Gotowe rozwiązania
evergreen7
Witam,
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/
piotrooo89
podajesz złe dane login lub hasło do logowania do bazy, tak strzelam.
evergreen7
Dzięki za odpowiedz, po bawiłem się z danymi bazy mysql i teraz tylko taki error wyskakuje:

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

To dalej nie wiem o co chodzi:(

piotrooo89
szklana kula mi nie działa, tak bez kodu jak wywołujesz i jak to wszystko skonstruowane jest to ciężko... ale wygląda tak jakbyś wołał coś co jest obiektem nie przez obiekt.
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.