Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Photo Sharing Script: Warning: mysql_pconnect()
evergreen7
post
Post #1





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 26.03.2011

Ostrzeżenie: (0%)
-----


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/
Powód edycji: [erix]: [erix]: przeniosłem
Go to the top of the page
+Quote Post
piotrooo89
post
Post #2


Newsman


Grupa: Moderatorzy
Postów: 4 005
Pomógł: 548
Dołączył: 7.04.2008
Skąd: Trzebinia/Kraków




podajesz złe dane login lub hasło do logowania do bazy, tak strzelam.
Go to the top of the page
+Quote Post
evergreen7
post
Post #3





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 26.03.2011

Ostrzeżenie: (0%)
-----


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:(

Go to the top of the page
+Quote Post
piotrooo89
post
Post #4


Newsman


Grupa: Moderatorzy
Postów: 4 005
Pomógł: 548
Dołączył: 7.04.2008
Skąd: Trzebinia/Kraków




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.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 17:55